TWI466034B - Methods to Improve Face Recognition - Google Patents

Methods to Improve Face Recognition Download PDF

Info

Publication number
TWI466034B
TWI466034B TW098144614A TW98144614A TWI466034B TW I466034 B TWI466034 B TW I466034B TW 098144614 A TW098144614 A TW 098144614A TW 98144614 A TW98144614 A TW 98144614A TW I466034 B TWI466034 B TW I466034B
Authority
TW
Taiwan
Prior art keywords
face
information
image
facial
feature
Prior art date
Application number
TW098144614A
Other languages
Chinese (zh)
Other versions
TW201123025A (en
Inventor
Chan Min Chou
Chi Jung Weng
Original Assignee
Altek Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Altek Corp filed Critical Altek Corp
Priority to TW098144614A priority Critical patent/TWI466034B/en
Publication of TW201123025A publication Critical patent/TW201123025A/en
Application granted granted Critical
Publication of TWI466034B publication Critical patent/TWI466034B/en

Links

Description

提高人臉辨識率的方法Method for improving face recognition rate

本發明係關於一種提高人臉辨識率的方法,特別是一種提高人臉辨識率的方法,其適用於具有儲存單元的數位相機。The present invention relates to a method for improving face recognition rate, and more particularly to a method for improving face recognition rate, which is suitable for a digital camera having a storage unit.

在現今的日常生活中,各種取代傳統類比技術的數位化產品已非常普及,數位相機便是一個很好的例子。數位相機利用光感測器擷取影像並轉換為數位訊號後,以電子圖檔的格式儲存下來。藉由調整各種擷取參數,使用者能夠隨心所欲地拍出自己想要的數位影像。現今多數的數位相機本身亦提供給使用者許多方便的功能,例如自動對焦(Auto Focusing)、各種場景模式或是人臉辨識(Facial Recognition)。藉由數位相機提供的功能,使用者可以更輕鬆地拍出滿意的照片。In today's daily life, digital products that replace traditional analog technology have become very popular, and digital cameras are a good example. The digital camera uses the light sensor to capture the image and convert it into a digital signal, and then save it in the format of the electronic image file. By adjusting various parameters, the user can shoot the desired digital image as desired. Most digital cameras today also provide users with many convenient functions, such as Auto Focusing, various scene modes, or Facial Recognition. With the features provided by the digital camera, users can more easily take satisfactory photos.

其中人臉辨識的技術近年來已相當普遍,但卻仍有許多不足的地方。人臉辨識係指利用分析比較人臉的視覺特徵資訊以進行身份辨別的技術,被認為是生物特徵識別領域甚至人工智慧領域最困難的研究課題之一。實際上人臉的外形很不穩定,因為人可以通過臉部肌肉的變化產生很多表情。而且在不同觀察角度,人臉的看起來的樣子也相差很大。此外,人臉識別還受光照條件(例如白天和夜晚,室內和室外等)、人臉上的遮蓋物(例如口罩、墨鏡、頭髮、鬍鬚等)、年齡等多方面因素的影響。Among them, the technique of face recognition has been quite common in recent years, but there are still many shortcomings. Face recognition refers to the technique of analyzing and comparing the visual characteristics of faces to identify the identity. It is considered to be one of the most difficult research topics in the field of biometrics and even artificial intelligence. In fact, the shape of the face is very unstable, because people can produce a lot of expressions through changes in facial muscles. And at different viewing angles, the look of the face looks very different. In addition, face recognition is also affected by various factors such as lighting conditions (such as day and night, indoor and outdoor, etc.), coverings on people's faces (such as masks, sunglasses, hair, beards, etc.) and age.

目前數位相機使用的人臉辨識大多只由人臉的正面擷取影像,對於具有不同表情、造型、光照條件、擷取角度或是擷取距離的同一人臉準確度不足。因此當作為擷取對象的人物改變表情、改變造型、移動或轉頭時,傳統的人臉辨識方法並無法正確地進行辨識。At present, face recognition used by digital cameras mostly captures images from the front of a human face, and the accuracy of the same face with different expressions, shapes, lighting conditions, capturing angles or capturing distances is insufficient. Therefore, when a character as a target changes expression, changes shape, moves, or turns a head, the conventional face recognition method cannot be correctly recognized.

為了解決上述辨識率不足的問題,本發明提供一種提高人臉辨識率的方法。In order to solve the above problem of insufficient recognition rate, the present invention provides a method for improving the face recognition rate.

本發明提供之提高人臉辨識率的方法可在不麻煩使用者的情況下提高人臉辨識率。The method for improving the face recognition rate provided by the present invention can improve the face recognition rate without bothering the user.

本發明提供之提高人臉辨識率的方法係適用於具有一儲存單元的一數位相機。The method for improving the face recognition rate provided by the present invention is applicable to a digital camera having a storage unit.

此數位相機的儲存單元儲存有至少一人臉資訊,且各個人臉資訊包含至少一人臉特徵。The storage unit of the digital camera stores at least one face information, and each face information includes at least one face feature.

提高人臉辨識率的方法包括:對一標的人物擷取一第一人臉影像;依據儲存單元執行一人臉辨識程序,以透過人臉辨識程序判斷擷取之第一人臉影像是否對應於人臉資訊之一;以及當第一人臉影像對應於人臉資訊中之一時,對人臉資訊執行一更新程序,以依據標的人物增加儲存於儲存單元中對應於之人臉資訊中標的人物的人臉特徵。The method for improving the face recognition rate comprises: capturing a first face image of a target person; performing a face recognition program according to the storage unit, and determining, by the face recognition program, whether the captured first face image corresponds to a person One of the face information; and when the first face image corresponds to one of the face information, an update procedure is performed on the face information to increase the character of the face information corresponding to the face information stored in the storage unit according to the target person Face features.

其中,更新程序可包括:當第一人臉影像對應於人臉資訊之一時,以一人臉追蹤手段對標的人物追蹤擷取至少一第二人臉影像;分析第二人臉影像以得到至少一新人臉特徵;以及將新人臉特徵儲存至儲存單元以作為第一人臉影像所對應的人臉資訊的人臉特徵。The updating program may include: when the first face image corresponds to one of the face information, the at least one second face image is tracked by the face tracking means by the face tracking means; and the second face image is analyzed to obtain at least one a new face feature; and a face feature that stores the new face feature to the storage unit as the face information corresponding to the first face image.

根據本發明之一實施範例,提高人臉辨識率的方法可更包括:當第一人臉影像對應於人臉資訊之一時,由儲存單元中擷取於對應之人臉資訊中的一標的物訊息,並對應標的人物的影像顯示標的物訊息。According to an embodiment of the present invention, the method for improving the face recognition rate may further include: when the first face image corresponds to one of the face information, the target object is captured by the storage unit in the corresponding face information. The message, and the image of the subject is displayed in the image corresponding to the subject.

而當第一人臉影像無對應於人臉資訊之任一時,可執行一新增程序,新增程序包括:依據第一人臉影像得到至少一新增人臉特徵;以及將新增人臉特徵儲存至儲存單元作為一個新的人臉資訊。於此,可持續追蹤標的人物並且重複執行更新程序,以得到更多的人臉特徵,進而更加提高人臉辨識率。When the first face image does not correspond to any of the face information, an additional program may be performed, and the newly added program includes: obtaining at least one new face feature according to the first face image; and adding a new face The feature is stored to the storage unit as a new face information. Here, the target person can be continuously tracked and the update program is repeatedly executed to obtain more facial features, thereby further improving the face recognition rate.

此外,上述之人臉辨識程序係可包括:依據第一人臉影像以及每一個人臉資訊計算一人臉相似度;以及判斷是否有任一人臉相似度大於一第一門檻值相。In addition, the face recognition program described above may include: calculating a face similarity according to the first face image and each face information; and determining whether any face similarity is greater than a first threshold value.

根據本發明之實施範例,擷取第一人臉影像與第二人臉影像時係使用不同的一拍攝參數,且拍攝參數係為一曝光值、一擷取焦距、一解析度或一擷取角度和一擷取距離中至少一個擷取影像時的條件。人臉特徵則可為一人臉輪廓、一人臉膚色或一人臉五官位置等可以用於辨識人臉的各種特徵。According to an embodiment of the present invention, when capturing the first face image and the second face image, different shooting parameters are used, and the shooting parameters are an exposure value, a focal length, a resolution, or a capture. The condition at which at least one of the angle and the captured distance captures the image. The face feature can be used to identify various features of a face, such as a face contour, a face skin color, or a facial face.

綜上所述,根據本發明之提高人臉辨識率的方法藉由人臉追蹤手段對標的人物自動擷取新的人臉特徵,再以得到的人臉特徵更新數位相機的儲存單元中對應的人臉資訊,以作為後續人臉辨識程序使用。由於提高人臉辨識率的方法可得到標的人物於不同擷取環境或是不同擷取角度之下擷取到的人臉特徵,因此能夠有效地提高標的人物之人臉辨識率。且更新程序係可在使用者沒有察覺的情況下執行。In summary, the method for improving the face recognition rate according to the present invention automatically captures new face features by the face tracking means, and then updates the corresponding face in the storage unit of the digital camera with the obtained face features. Face information is used as a follow-up face recognition program. Because the method of improving the face recognition rate can obtain the face features captured by the target characters in different capturing environments or different capturing angles, the face recognition rate of the target characters can be effectively improved. And the update program can be executed without the user's awareness.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art.

根據本發明一實施例之提高人臉辨識率的方法適用於具有一儲存單元的一數位相機。The method for improving the face recognition rate according to an embodiment of the present invention is applicable to a digital camera having a storage unit.

「第1圖」係為根據本發明所適用之數位相機的架構示意圖。關於本發明所適用之數位相機可以是但不限於「第1圖」所示之架構。"FIG. 1" is a schematic diagram of the architecture of a digital camera to which the present invention is applied. The digital camera to which the present invention is applied may be, but is not limited to, the architecture shown in "FIG. 1".

請參考「第1圖」,數位相機100可包括一鏡頭裝置102、一感光元件106、一取樣電路108(Sampling hold circuit)、儲存單元112、一驅動馬達114以及一處理單元116。於數位相機100的鏡頭裝置102前方的景象所反射的光線經由鏡頭裝置102與一光圈裝置(未繪示)進入感光元件106,而感光元件106將進入的光線轉換成影像的訊號並傳給取樣電路108後,影像可被紀錄於儲存單元112。Referring to FIG. 1 , the digital camera 100 can include a lens device 102 , a photosensitive element 106 , a sampling circuit 108 , a storage unit 112 , a driving motor 114 , and a processing unit 116 . The light reflected by the scene in front of the lens device 102 of the digital camera 100 enters the photosensitive element 106 via the lens device 102 and an aperture device (not shown), and the photosensitive element 106 converts the incoming light into an image signal and transmits it to the sampling. After the circuit 108, the image can be recorded in the storage unit 112.

擷取時,處理單元116致動驅動馬達114以移動鏡頭裝置102至指定焦距位置,然後以一擷取快門值以及一擷取光圈值進行擷取。感光元件106對應於鏡頭裝置102並把具有前方景象的畫面轉換成數位影像的電訊號。經由處理單元116的驅動,取樣電路108將感光元件106所接收的影像傳送至儲存單元112。At the time of capture, the processing unit 116 actuates the drive motor 114 to move the lens unit 102 to a specified focal length position, and then captures the shutter value and a capture aperture value. The photosensitive element 106 corresponds to the lens device 102 and converts a picture having a front scene into an electrical signal of a digital image. The sampling circuit 108 transmits the image received by the photosensitive element 106 to the storage unit 112 via the driving of the processing unit 116.

接下來,藉由上述構造之數位相機100介紹根據本發明一實施範例之提高人臉辨識率的方法。Next, a method of improving the face recognition rate according to an embodiment of the present invention will be described by the digital camera 100 constructed as described above.

請參照「第2A圖」,其係為根據本發明一實施範例之提高人臉辨識率的方法之流程示意圖。Please refer to FIG. 2A, which is a schematic flowchart of a method for improving the face recognition rate according to an embodiment of the present invention.

於此,數位相機100的儲存單元112包含至少一人臉資訊120,且各人臉資訊120包含至少一人臉特徵122。更詳細的說,儲存單元112內可包含一特徵資料庫,做為人臉辨識的依據。人臉資訊120係為儲存於儲存單元112的特徵資料庫中,而每一個人臉資訊120對應到一個標的人物。Here, the storage unit 112 of the digital camera 100 includes at least one face information 120, and each face information 120 includes at least one facial feature 122. In more detail, the storage unit 112 can include a feature database as a basis for face recognition. The face information 120 is stored in the feature database of the storage unit 112, and each face information 120 corresponds to a target person.

每一個標的人物都可具有其不同的人臉特徵122。例如人臉特徵122可為一人臉輪廓、一人臉膚色或是一人臉五官位置,人臉特徵122亦可為眼睛形狀、鼻子形狀、雀斑有無或是虹膜顏色等五官的細部特徵,但本發明並不僅限於此。舉例來說,對應於人臉資訊120a的標的人物具有內容為「人臉輪廓:長橢圓型」以及「人臉膚色:褐色」的人臉特徵122,而對應於人臉資訊120b的標的人物則具有內容為「虹膜顏色:藍色」的人臉特徵122。如此一來,數位相機100的人臉辨識程序可透過比對影像中的人臉特徵122和特徵資料庫中的人臉特徵122,以辨別與影像中之標的人物相對應的人臉資訊120。Each of the subject characters may have its own different face features 122. For example, the facial features 122 can be a facial contour, a facial skin color, or a facial facial feature. The facial features 122 can also be facial features, nose shapes, freckles, or iris colors, etc., but the present invention Not limited to this. For example, the target person corresponding to the face information 120a has the face feature 122 whose content is "face contour: long ellipse" and "face skin color: brown", and the target character corresponding to the face information 120b The face feature 122 having the content "Iris Color: Blue". In this way, the face recognition program of the digital camera 100 can distinguish the face information 122 corresponding to the target person in the image by comparing the face feature 122 in the image and the face feature 122 in the feature database.

更佳的是,人臉資訊120中另可包括一標的物訊息(未繪示),用以描述與對應之標的人物。標的物訊息可以是標的人物的名字、暱稱或是群組類別。舉例而言,標的物訊息的內容可以是「王小明」、「小明」、「同學」或是「部長」。其中標的物訊息可以是由使用者輸入,亦可以是由數位相機100依據人臉特徵122或拍照時間等資訊自動填入,例如「金髮」或是「20091010-1」。More preferably, the face information 120 may further include a subject information (not shown) for describing the corresponding person. The subject matter message can be the name, nickname or group category of the subject person. For example, the content of the subject matter message may be "Wang Xiao Ming", "Xiao Ming", "Classmate" or "Minister". The subject information may be input by the user, or may be automatically filled in by the digital camera 100 according to information such as the face feature 122 or the photographing time, such as "Blond" or "20091010-1".

於此實施例中,數位相機100對至少一個標的人物擷取第一人臉影像(步驟S30)。第一人臉影像係為具有人的臉部的影像,而標的人物即為臉部被拍第一人臉影像攝到的被攝人物。換言之,數位相機100透過鏡頭裝置102擷取前方具有標的人物的景象,以得到相應於標的人物的第一人臉影像。In this embodiment, the digital camera 100 captures a first face image from at least one target person (step S30). The first face image is an image having a face of a person, and the target person is a person who is photographed by the first face image of the face. In other words, the digital camera 100 captures the scene of the person having the subject in front through the lens device 102 to obtain the first face image corresponding to the subject person.

擷取第一人臉影像之後,數位相機100對第一人臉影像執行人臉辨識程序,以透過人臉辨識程序判斷擷取之第一人臉影像是否對應於儲存單元112中的人臉資訊120之一(步驟S40)。依據儲存單元112內的特徵資料庫,數位相機100判斷於第一人臉影像中被擷取到的標的人物是否對應於特徵資料庫內的任何一個人臉資訊120。換言之,透過人臉辨識程序找出特徵資料庫內的屬於標的人物的人臉資訊120。After capturing the first face image, the digital camera 100 performs a face recognition process on the first face image to determine whether the captured first face image corresponds to the face information in the storage unit 112 through the face recognition program. One of 120 (step S40). Based on the feature database in the storage unit 112, the digital camera 100 determines whether the target person captured in the first face image corresponds to any one of the face information 120 in the feature database. In other words, the face information 120 belonging to the subject in the feature database is found through the face recognition program.

當第一人臉影像對應於人臉資訊120中之一時,對人臉資訊120執行一更新程序(步驟S50)。其中,當於特徵資料庫內找到屬於標的人物的人臉資訊120時,可對此人臉資訊120進行其中人臉特徵122的更新,以加入更多相應於標的人物的人臉特徵122。When the first face image corresponds to one of the face information 120, an update procedure is performed on the face information 120 (step S50). Wherein, when the face information 120 belonging to the target person is found in the feature database, the face information 120 may be updated in the face information 120 to add more face features 122 corresponding to the target person.

再者,當第一人臉影像無對應於人臉資訊120之任一時,數位相機100可執行一新增程序(步驟S60),如「第2B圖」所示。換言之,當特徵資料庫內不存在有屬於標的人物的人臉資訊120時,則可執行新增程序,以於特徵資料庫中建立屬於此標的人物的人臉資訊120。Furthermore, when the first face image does not correspond to any of the face information 120, the digital camera 100 can execute a new program (step S60), as shown in "FIG. 2B". In other words, when there is no face information 120 belonging to the target person in the feature database, an additional program may be executed to create the face information 120 of the person belonging to the target in the feature database.

請參照「第3圖」,步驟S40所使用之人臉辨識程序則可包括下列步驟。Please refer to "FIG. 3". The face recognition program used in step S40 may include the following steps.

首先,數位相機100於人臉辨識程序中依據第一人臉影像以及每一人臉資訊120計算一人臉相似度(步驟S42)。數位相機100係由第一人臉影像抽取出標的人物的臉部的特徵,再依據第一人臉影像的特徵與特徵資料庫中的每一個人臉資料120計算人臉相似度。更詳細的說,於人臉辨識程序中,數位相機100比對第一人臉影像的特徵以及人臉資料120內的人臉特徵122,並例如以比對得到的差異之倒數作為人臉相似度。此外,對於不同種類的人臉特徵122可給予不同的權重,並加權計算人臉相似度。例如頭髮顏色或是虹膜顏色容易用以辨識人臉是否相同,可給予較高的權重值。因此對應每一個人臉資料120,均可計算得到一個人臉相似度。First, the digital camera 100 calculates a face similarity based on the first face image and each face information 120 in the face recognition program (step S42). The digital camera 100 extracts the features of the face of the target person from the first face image, and calculates the face similarity according to the feature of the first face image and each face data 120 in the feature database. In more detail, in the face recognition program, the digital camera 100 compares the features of the first face image with the face features 122 in the face data 120, and for example, the reciprocal of the difference obtained by the comparison is similar to the face. degree. In addition, different kinds of facial features 122 may be given different weights and weighted to calculate facial similarity. For example, hair color or iris color is easy to use to identify whether the face is the same, and can give a higher weight value. Therefore, for each face data 120, a face similarity can be calculated.

數位相機100於人臉辨識程序中接著將每一個人臉相似度與第一門檻值相比較(步驟S44),以判斷是否有任一人臉相似度大於第一門檻值。舉例而言,由第一人臉影像抽出的特徵為「人臉輪廓:長橢圓型」以及「虹膜顏色:黑色」,且人臉資訊120a包括「人臉輪廓:長橢圓型」以及「人臉膚色:褐色」的人臉特徵122,而人臉資訊120b包括「虹膜顏色:藍色」的人臉特徵122。當計算得到對應於人臉資訊120a的人臉相似度高於第一門檻值,且對應於人臉資訊120b的人臉相似度低於第一門檻值時,數位相機100判斷擷取之第一人臉影像對應於人臉資訊120a。The digital camera 100 then compares each face similarity with the first threshold value in the face recognition program (step S44) to determine whether any of the face similarities are greater than the first threshold. For example, the features extracted from the first face image are "face contour: long ellipse" and "iris color: black", and the face information 120a includes "face contour: long oval" and "face" Skin color: brown" face feature 122, and face information 120b includes "iris color: blue" face feature 122. When the face similarity corresponding to the face information 120a is calculated to be higher than the first threshold, and the face similarity corresponding to the face information 120b is lower than the first threshold, the digital camera 100 determines the first of the captures. The face image corresponds to the face information 120a.

於步驟S40確定第一人臉影像之標的人物係對應於人臉資訊120之一後,提高人臉辨識率的方法於步驟S50執行更新程序。而若於步驟S40確定第一人臉影像之標的人物並無對應於任一人臉資訊120,則於步驟S60執行新增程序,或是結束執行提高人臉辨識率的方法。After the step S40 determines that the character of the first face image corresponds to one of the face information 120, the method of increasing the face recognition rate performs an update procedure in step S50. If it is determined in step S40 that the target person of the first face image does not correspond to any face information 120, then a new program is executed in step S60, or a method of increasing the face recognition rate is ended.

請參照「第4圖」,步驟S50所執行之更新程序可包括下述步驟。Please refer to "FIG. 4", and the update procedure executed in step S50 may include the following steps.

數位相機100對標的人物擷取第一人臉影像之後,標的人物或數位相機100可能會移動。但是當標的人物還處於能被數位相機100擷取影像的範圍時,數位相機100可於更新程序中以一人臉追蹤手段對標的人物追蹤擷取至少一第二人臉影像(步驟S52)人臉追蹤手段可採用運動偵測(motion detection)及運動估計(motion estimation)等技術,以鎖定畫面範圍中標的人物的位置。數位相機100對標的人物擷取至少一個第二人臉影像,以得到與目標人物相關的更多資訊。After the digital camera 100 captures the first face image for the subject person, the target person or digital camera 100 may move. However, when the target person is still in the range that can be captured by the digital camera 100, the digital camera 100 can track at least one second face image (step S52) by tracking the target person by a face tracking method in the update program. Tracking methods can use techniques such as motion detection and motion estimation to lock the position of the person in the picture range. The digital camera 100 captures at least one second face image from the subject person to obtain more information related to the target person.

數位相機100並於更新程序中分析擷取得的第二人臉影像以得到至少一新人臉特徵(步驟S54)。新人臉特徵亦對應於特徵資料庫內對應標的人物之人臉資訊120。The digital camera 100 analyzes the acquired second face image in the update program to obtain at least one new face feature (step S54). The new face feature also corresponds to the face information 120 of the corresponding target character in the feature database.

於步驟S52擷取之第二人臉影像可與第一人臉影像具有不同的一拍攝參數,也就是說,擷取第一人臉影像與第二人臉影像時係使用不同的拍攝參數。其中參數係為一曝光值、一擷取焦距、一解析度、一擷取角度和一擷取距離中的至少一個。當在追蹤目標人物的任何期間,均可擷取第二人臉影像。因此數位相機100在擷取第二人臉影像時,可能使用與擷取第一人臉影像之不同的曝光值、擷取焦距、或是解析度。數位相機100亦可以不同的擷取角度對標的人物擷取第二人臉影像,而擷取到標的人物之不同角度的側臉。因此由第二人臉影像可以抽取出與特徵資料庫儲存之不同的新人臉特徵。The second face image captured in step S52 may have a different shooting parameter than the first face image, that is, different shooting parameters are used when capturing the first face image and the second face image. The parameter is at least one of an exposure value, a focal length, a resolution, a capture angle, and a capture distance. The second face image can be captured during any period of tracking the target person. Therefore, when the digital camera 100 captures the second face image, it may use a different exposure value, a focal length, or a resolution than the first face image. The digital camera 100 can also capture the second face image from the target person at different angles of capture, and capture the side faces of different angles of the target person. Therefore, the second face image can extract new face features different from those stored in the feature database.

標的人物的人臉在不同表情、不同擷取角度或是不同的光照條件(例如晴天、夜晚或陰天)下具有很大的差異,但數位相機100於更新程序中可在上述各種情況下擷取之第二人臉影像,並分析第二人臉影像得到標的人物的各種新人臉特徵,以提高人臉辨識率。接著將分析第二人臉影像所得到的新人臉特徵儲存至儲存單元112以作為第一人臉影像所對應的人臉資訊120的人臉特徵122(步驟S56),也就是將新人臉特徵新增進對應於標的人物的人臉資訊120。藉由收集標的人物的各種不同的人臉特徵122,可以得到更高的人臉辨識率。如此一來,除了對應之人臉資訊120原有的人臉特徵122之外,另可有新人臉特徵作為的人臉特徵122用以執行人臉辨識程序。The face of the subject person has a great difference in different expressions, different angles of capture, or different lighting conditions (such as sunny, night, or cloudy), but the digital camera 100 can be updated in the above various situations. The second face image is taken, and the second face image is analyzed to obtain various new face features of the target person to improve the face recognition rate. Then, the new face feature obtained by analyzing the second face image is stored in the storage unit 112 as the face feature 122 of the face information 120 corresponding to the first face image (step S56), that is, the new face feature is newly added. The face information 120 corresponding to the subject is enhanced. By collecting various different facial features 122 of the subject person, a higher face recognition rate can be obtained. In this way, in addition to the face feature 122 of the corresponding face information 120, a face feature 122 as a new face feature can be used to execute the face recognition program.

更佳的是,將新人臉特徵更新進人臉資訊120時,亦可同時紀錄第二人臉影像被擷取時的環境條件(例如曝光值或白平衡)。如此一來,需進行人臉辨識時,可根據當時的環境條件挑選合適的人臉特徵122來進行人臉辨識,可進一步地提高人臉辨識率。舉例來說,在夜晚執行人臉辨識程序時,適用的人臉特徵122係為由在夜晚或是曝光度較低的情況下所擷取之第二人臉影像所得到的人臉特徵122。More preferably, when the new face feature is updated into the face information 120, the environmental conditions (such as the exposure value or white balance) when the second face image is captured may also be recorded. In this way, when face recognition is required, the face feature 122 can be selected according to the current environmental conditions to perform face recognition, which can further improve the face recognition rate. For example, when performing a face recognition program at night, the applicable face feature 122 is a face feature 122 obtained from a second face image captured at night or under low exposure.

再者,可重複執行更新程序,以獲得更多的人臉特徵122。請參照「第5圖」,於更新程序中,在執行完步驟56之後,可繼續判斷有無追蹤到標的人物之影像(步驟S58)。當有追蹤到標的人物時,數位相機100會繼續擷取第二人臉影像(步驟S52),並分析第二人臉影像(步驟S54),以於對應之人臉資訊120中增加人臉特徵122(步驟S56)。Again, the update procedure can be repeated to obtain more facial features 122. Referring to "figure 5", after the execution of step 56 in the update program, it is possible to continue to determine whether or not there is an image of the person who has tracked the target (step S58). When there is a person tracking the target, the digital camera 100 continues to capture the second face image (step S52), and analyzes the second face image (step S54) to add facial features to the corresponding face information 120. 122 (step S56).

只要在數位相機100的人臉追蹤手段還有追蹤到標的人物的情況下,提高人臉辨識率的方法均可自動地追蹤標的人物、擷取第二人臉影像以及新增新人臉特徵進對應的人臉資訊120。也就是說,在使用者不知情的情況下,提高人臉辨識率的方法亦可隨時隨地且連續不斷地得到對應的人臉特徵122,並用以提高人臉辨識率。As long as the face tracking means of the digital camera 100 also tracks the target person, the method of improving the face recognition rate can automatically track the target person, capture the second face image, and add a new face feature into the corresponding Face information 120. That is to say, in the case that the user does not know, the method of improving the face recognition rate can also obtain the corresponding face feature 122 anytime, anywhere and continuously, and is used to improve the face recognition rate.

此外,當確定第一人臉影像對應於人臉資訊120之一時,提高人臉辨識率的方法顯示第一人臉影像所對應的人臉資訊120中的標的物訊息。更詳細的說,上述步驟S30至步驟S56均可是在數位相機100仍處於S0 狀態時執行的,而標的物訊息可在S0 狀態被提供給使用者。In addition, when it is determined that the first facial image corresponds to one of the facial information 120, the method for increasing the facial recognition rate displays the target information in the facial information 120 corresponding to the first facial image. In more detail, the above-described step S30 to step S56 may be performed when the digital camera 100 is still in the state S 0, the message subject matter may be provided to the user in the state S 0.

其中S0 係為數位相機100開機後所處於的預覽模式(Preview)。一般的兩段式快門的數位相機100在使用時可以分為S0 、S1 與S2 三種狀態(模式)。S0 為預覽模式,通常於數位相機100欲拍攝影像的構圖或是執行調整拍攝參數等功能。S1 係為快門鍵被半壓的狀態(Half Shutter)。進入此狀態中的數位相機100進行自動對焦(Auto-Focus,AF),並隨時準備進入S2 狀態。S2 係為快門鍵被全壓的狀態(Full Shutter)。當使用者完全按下快門鍵,數位相機100會執行微調焦距等最後的準備工作,並正式的拍攝影像。The S 0 is a preview mode (Preview) in which the digital camera 100 is turned on. The general two-stage shutter digital camera 100 can be divided into three states (modes) of S 0 , S 1 and S 2 when in use. S 0 is a preview mode, and is generally used by the digital camera 100 to capture a composition of an image or perform a function of adjusting a shooting parameter. S 1 is a state in which the shutter button is half pressed (Half Shutter). The digital camera 100 entering this state performs auto-focus (AF) and is ready to enter the S 2 state at any time. S 2 is a state in which the shutter button is fully pressed (Full Shutter). When the user fully presses the shutter button, the digital camera 100 performs a final preparation such as fine-tuning the focus and officially shoots the image.

而數位相機100可將於步驟S40辨識出之標的人物的對應的標的物訊息顯示於顯示螢幕上,以供使用者參考或是確認人臉辨識的結果。且無論數位相機100是處於S0 、S1 或S2 的狀態,提高人臉辨識率的方法均能被執行。The digital camera 100 can display the corresponding target information of the target person identified in step S40 on the display screen for the user to refer to or confirm the result of the face recognition. And regardless of whether the digital camera 100 is in the state of S 0 , S 1 or S 2 , the method of increasing the face recognition rate can be performed.

請參照「第6圖」,新增程序可包括下列步驟。首先,依據第一人臉影像得到至少一新增人臉特徵(步驟S62),並將依據第一人臉影像得到的新增人臉特徵儲存至儲存單元112作為一個新的人臉資訊120(步驟S64)。也就是說,於新增程序中,將分析第一人臉影像所得到的人臉特徵122作為一個新增人臉資訊新增進儲存單元112。即數位相機100於新增程序中,在特徵資料庫內為標的人物新增一筆人臉資訊120的資料。數位相機100可於新增前於顯示螢幕跳出確認視窗,以供使用者確認是否要新增這個標的人物的資料。若使用者確定要將這個標的人物作為新的人臉資訊120新增進特徵資料庫,亦可由使用者輸入新的人臉資訊120的標的物訊息。新的人臉資訊120的標的物訊息亦可是如上述由數位相機100依據新增人臉特徵或拍照時間等資訊自動填入,且自動填入的標的物訊息後續能讓使用者自行重新更改。Please refer to "Figure 6". The new program can include the following steps. First, at least one new face feature is obtained according to the first face image (step S62), and the newly added face feature obtained according to the first face image is stored in the storage unit 112 as a new face information 120 ( Step S64). That is to say, in the newly added program, the face feature 122 obtained by analyzing the first face image is taken as a new face information new promotion storage unit 112. That is, in the new program, the digital camera 100 adds a face information 120 data to the target character in the feature database. The digital camera 100 can be added to the display screen to confirm the window before the addition, for the user to confirm whether to add the data of the target person. If the user determines that the target person is to be the new face information 120 new promotion feature database, the user may also input the target information of the new face information 120. The subject information of the new face information 120 may also be automatically filled in by the digital camera 100 according to the information such as the newly added face feature or the photographing time, and the automatically filled in subject matter message can be manually changed by the user.

此外,新增程序不一定需在擷取第一人臉影像時被執行。若第一人臉影像有被儲存於儲存單元112,使用者可在後續觀看影像時才選擇是否要將標的人物新增進特徵資料庫。而若是第一人臉影像或是第二人臉影像中具有多個標的人物時,提高人臉辨識率的方法可個別對這些標的人物執行人臉辨識程序、更新程序以及新增程序,以提高這些標的人物之人臉辨識率。In addition, the new program does not have to be executed when capturing the first face image. If the first face image is stored in the storage unit 112, the user can select whether to update the feature database with the new character when the image is subsequently viewed. If the first face image or the second face image has multiple target characters, the method for improving the face recognition rate may perform face recognition programs, update programs, and new programs on the target characters individually to improve The face recognition rate of these target characters.

綜上所述,根據本發明之提高人臉辨識率的方法的更新程序係可在使用者沒有察覺的情況下藉由人臉追蹤手段對標的人物自動擷取新的人臉特徵,再以得到的人臉特徵更新數位相機的儲存單元中對應的人臉資訊,以作為後續人臉辨識程序使用。由於提高人臉辨識率的方法可隨時隨地且連續不斷地得到標的人物於各種擷取環境之下的人臉特徵,因此能夠有效地提高標的人物之人臉辨識率。且擷取第二人臉影像並更新對應標的人物之人臉資訊的動作係可在使用者不知情的情況下執行。In summary, the updating procedure of the method for improving the face recognition rate according to the present invention can automatically capture new facial features by the face tracking means without the user's perception, and then obtain the new facial features. The face feature updates the corresponding face information in the storage unit of the digital camera for use as a subsequent face recognition program. Since the method for improving the face recognition rate can obtain the face features of the target person under various capturing environments anytime, anywhere and continuously, the face recognition rate of the target person can be effectively improved. And the action of capturing the second face image and updating the face information corresponding to the target person can be performed without the user's knowledge.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The patent protection scope of the invention is subject to the definition of the scope of the patent application attached to the specification.

100...數位相機100. . . Digital camera

102...鏡頭裝置102. . . Lens device

106...感光元件106. . . Photosensitive element

108...取樣電路(sample hold circuit)108. . . Sample hold circuit

112...儲存單元112. . . Storage unit

114...驅動馬達114. . . Drive motor

116...處理單元116. . . Processing unit

120,120a,120b...人臉資訊120, 120a, 120b. . . Face information

122...人臉特徵122. . . Face feature

第1圖係為根據本發明所適用之數位相機的架構示意圖;1 is a schematic diagram of the architecture of a digital camera to which the present invention is applied;

第2A圖係為根據本發明一實施範例之提高人臉辨識率的方法之流程示意圖;2A is a schematic flow chart of a method for improving a face recognition rate according to an embodiment of the present invention;

第2B圖係為根據本發明另一實施範例之提高人臉辨識率的2B is a diagram for improving face recognition rate according to another embodiment of the present invention.

第2B圖係為根據本發明另一實施範例之提高人臉辨識率的方法之流程示意圖;2B is a schematic flow chart of a method for improving a face recognition rate according to another embodiment of the present invention;

第3圖係為根據本發明一實施範例之人臉辨識程序之流程示意圖;3 is a schematic flow chart of a face recognition program according to an embodiment of the present invention;

第4圖係為根據本發明一實施範例之更新程序之流程示意圖;4 is a schematic flow chart of an update procedure according to an embodiment of the present invention;

第5圖係為根據本發明另一實施範例之更新程序之流程示意圖;以及Figure 5 is a flow chart showing an update procedure according to another embodiment of the present invention;

第6圖係為根據本發明一實施範例之新增程序之流程示意圖。Figure 6 is a flow chart showing a new procedure according to an embodiment of the present invention.

Claims (8)

一種提高人臉辨識率的方法,適用於一數位相機,其中該數位相機具有一儲存單元,該儲存單元儲存有至少一人臉資訊,且該人臉資訊包含至少一人臉特徵,該提高人臉辨識率的方法包括:對一標的人物擷取一第一人臉影像;對該第一人臉影像執行一人臉辨識程序,以透過該人臉辨識程序判斷擷取之該第一人臉影像是否對應於該儲存單元中的該人臉資訊中之一;以及當該第一人臉影像對應於該人臉資訊中之一時,對該人臉資訊執行一更新程序,以依據該標的人物增加儲存於該儲存單元中對應之該人臉資訊中的該人臉特徵,其中該更新程序包括:以一人臉追蹤手段對該標的人物追蹤擷取至少一第二人臉影像;分析該第二人臉影像以獲得至少一新人臉特徵,其中該新人臉特徵於執行該更新程序之前並不存在於該儲存單元中的對應該標的人物的該人臉資訊中;以及將該新人臉特徵儲存至該儲存單元以作為該第一人臉影像所對應的該人臉資訊的該些人臉特徵。 A method for improving the face recognition rate is applicable to a digital camera, wherein the digital camera has a storage unit, the storage unit stores at least one face information, and the face information includes at least one face feature, and the face recognition is improved. The method includes: capturing a first face image of a target person; performing a face recognition program on the first face image, and determining, by the face recognition program, whether the captured first face image corresponds to One of the face information in the storage unit; and when the first face image corresponds to one of the face information, an update procedure is performed on the face information to be added to the target person according to the target person Corresponding to the face feature in the face information in the storage unit, wherein the updating process comprises: tracking a target person by using a face tracking means to capture at least one second face image; analyzing the second face image Obtaining at least one new face feature, wherein the new face feature is not present in the storage unit before the execution of the update program ; And wherein the new face to the storage unit is stored as the plurality of facial features of the first facial image corresponding to the face information. 如申請專利範圍第1項所述之提高人臉辨識率的方法,更包括: 當該第一人臉影像對應於該人臉資訊之一時,由該儲存單元中擷取於對應之該人臉資訊中的一標的物訊息,並對應該標的人物的影像顯示該標的物訊息。 The method for improving the face recognition rate as described in claim 1 of the patent application scope includes: When the first facial image corresponds to one of the facial information, the storage unit captures a target information in the corresponding facial information, and displays the target information on the image of the target person. 如申請專利範圍第1項所述之提高人臉辨識率的方法,其中該人臉辨識程序係包括:依據該第一人臉影像以及每一該人臉資訊計算一人臉相似度;以及判斷是否有任一該人臉相似度大於一第一門檻值相。 The method for improving face recognition rate according to claim 1, wherein the face recognition program comprises: calculating a face similarity according to the first face image and each of the face information; and determining whether Any one of the face similarities is greater than a first threshold value phase. 如申請專利範圍第1項所述之提高人臉辨識率的方法,更包括:當該第一人臉影像無對應於該人臉資訊中之一時,執行一新增程序,該新增程序包括:依據該第一人臉影像得到至少一個新增人臉特徵;以及將該新增人臉特徵儲存至該儲存單元以作為一個新的該人臉資訊。 The method for improving the face recognition rate according to the first aspect of the patent application, further comprising: when the first face image does not correspond to one of the face information, performing a new program, the new program includes : obtaining at least one new facial feature according to the first facial image; and storing the newly added facial feature to the storage unit as a new facial information. 如申請專利範圍第1項所述之提高人臉辨識率的方法,更包括:重複執行該更新程序。 The method for improving the face recognition rate as described in claim 1 of the patent application further includes: repeatedly performing the update procedure. 如申請專利範圍第1項所述之提高人臉辨識率的方法,其中擷取該第一人臉影像與該第二人臉影像係使用不同的一拍攝參數。 The method for improving face recognition rate according to claim 1, wherein the first face image and the second face image system use different shooting parameters. 如申請專利範圍第6項所述之提高人臉辨識率的方法,其中該 拍攝參數係為一曝光值、一擷取焦距、一解析度、一擷取角度和一擷取距離中至少一個。 A method for improving a face recognition rate as described in claim 6 of the patent application, wherein The shooting parameters are at least one of an exposure value, a focal length, a resolution, a capture angle, and a capture distance. 如申請專利範圍第1項所述之提高人臉辨識率的方法,其中該人臉特徵係為一人臉輪廓、一人臉膚色或一人臉五官位置。The method for improving the face recognition rate according to the first aspect of the patent application, wherein the face feature is a face contour, a face color or a face facial position.
TW098144614A 2009-12-23 2009-12-23 Methods to Improve Face Recognition TWI466034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098144614A TWI466034B (en) 2009-12-23 2009-12-23 Methods to Improve Face Recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098144614A TWI466034B (en) 2009-12-23 2009-12-23 Methods to Improve Face Recognition

Publications (2)

Publication Number Publication Date
TW201123025A TW201123025A (en) 2011-07-01
TWI466034B true TWI466034B (en) 2014-12-21

Family

ID=45046493

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098144614A TWI466034B (en) 2009-12-23 2009-12-23 Methods to Improve Face Recognition

Country Status (1)

Country Link
TW (1) TWI466034B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI719409B (en) * 2019-02-23 2021-02-21 和碩聯合科技股份有限公司 Tracking system and tracking method thereof
US11403877B2 (en) 2018-09-19 2022-08-02 Pegatron Corporation Face recognition method and electronic device using same

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI511056B (en) * 2011-09-20 2015-12-01 Altek Corp Feature data compression apparatus, multi-directional face detection system and detection method thereof
TW201705040A (en) * 2015-07-17 2017-02-01 Tair Jiuh Enterprise Co Ltd Face skin color detection and database establishment method based on face image characterized by using a data clustering algorithm to classify human face skin colors into multiple clusters for establishing a database
TWI625680B (en) * 2017-12-15 2018-06-01 財團法人工業技術研究院 Method and device for recognizing facial expressions
TWI632509B (en) * 2017-12-29 2018-08-11 技嘉科技股份有限公司 Face recognition apparatus and method thereof, method for increasing image recognition accuracy, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191818A1 (en) * 2001-05-22 2002-12-19 Matsushita Electric Industrial Co., Ltd. Face detection device, face pose detection device, partial image extraction device, and methods for said devices
TW200400413A (en) * 2002-05-24 2004-01-01 Casio Computer Co Ltd Photographic device
US20060193502A1 (en) * 2005-02-28 2006-08-31 Kabushiki Kaisha Toshiba Device control apparatus and method
TW200912767A (en) * 2007-04-13 2009-03-16 Mira Electronics Co Ltd Human face recognition and user interface system for digital camera and video camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191818A1 (en) * 2001-05-22 2002-12-19 Matsushita Electric Industrial Co., Ltd. Face detection device, face pose detection device, partial image extraction device, and methods for said devices
TW200400413A (en) * 2002-05-24 2004-01-01 Casio Computer Co Ltd Photographic device
US20060193502A1 (en) * 2005-02-28 2006-08-31 Kabushiki Kaisha Toshiba Device control apparatus and method
TW200912767A (en) * 2007-04-13 2009-03-16 Mira Electronics Co Ltd Human face recognition and user interface system for digital camera and video camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11403877B2 (en) 2018-09-19 2022-08-02 Pegatron Corporation Face recognition method and electronic device using same
TWI719409B (en) * 2019-02-23 2021-02-21 和碩聯合科技股份有限公司 Tracking system and tracking method thereof

Also Published As

Publication number Publication date
TW201123025A (en) 2011-07-01

Similar Documents

Publication Publication Date Title
JP4254873B2 (en) Image processing apparatus, image processing method, imaging apparatus, and computer program
KR101539043B1 (en) Image photography apparatus and method for proposing composition based person
JP4720810B2 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
JP4577275B2 (en) Imaging apparatus, image recording method, and program
JP4196714B2 (en) Digital camera
KR100924685B1 (en) Imaging apparatus and control method thereof
TWI466034B (en) Methods to Improve Face Recognition
JP5451749B2 (en) IMAGING DEVICE, INTEGRATED CIRCUIT, IMAGING METHOD, PROGRAM, AND RECORDING MEDIUM
JP6049448B2 (en) Subject area tracking device, control method thereof, and program
KR101710626B1 (en) Digital photographing apparatus and control method thereof
CN102111535B (en) Method for improving human face identification rate
KR101686943B1 (en) Digital photographing apparatus and control method thereof
US20110128401A1 (en) Digital photographing apparatus and method of controlling the same
US20120105676A1 (en) Digital photographing apparatus and method of controlling the same
JP2007274264A (en) Camera, photographing method of best-shot image and program
CN108093170B (en) User photographing method, device and equipment
CN110830712A (en) Autonomous photographing system and method
US20040233296A1 (en) Digital camera and method of controlling same
CN108052883B (en) User photographing method, device and equipment
JP2004320285A (en) Digital camera
JP2005149370A (en) Imaging device, personal authentication device and imaging method
US8797442B2 (en) Method of controlling digital photographing apparatus and digital photographing apparatus
US20130308829A1 (en) Still image extraction apparatus
JP5044472B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP5530548B2 (en) Facial expression database registration method and facial expression database registration apparatus

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees