TW202044112A - Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium receiving a two-dimensional image obtained by three-dimensional shooting of an object and a range image corresponding to the two-dimensional image - Google Patents

Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium receiving a two-dimensional image obtained by three-dimensional shooting of an object and a range image corresponding to the two-dimensional image Download PDF

Info

Publication number
TW202044112A
TW202044112A TW108116903A TW108116903A TW202044112A TW 202044112 A TW202044112 A TW 202044112A TW 108116903 A TW108116903 A TW 108116903A TW 108116903 A TW108116903 A TW 108116903A TW 202044112 A TW202044112 A TW 202044112A
Authority
TW
Taiwan
Prior art keywords
dimensional
face
image
discriminant
area
Prior art date
Application number
TW108116903A
Other languages
Chinese (zh)
Other versions
TWI740143B (en
Inventor
陳信宇
Original Assignee
立普思股份有限公司
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 立普思股份有限公司 filed Critical 立普思股份有限公司
Priority to TW108116903A priority Critical patent/TWI740143B/en
Publication of TW202044112A publication Critical patent/TW202044112A/en
Application granted granted Critical
Publication of TWI740143B publication Critical patent/TWI740143B/en

Links

Images

Landscapes

  • Collating Specific Patterns (AREA)
  • Image Analysis (AREA)

Abstract

無。

Description

三維活體識別之人臉識別系統、三維活體識別方法及儲存媒體Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium

本發明係關於人臉識別系統之技術,更特別的是關於一種三維活體識別之人臉識別系統、三維活體識別方法及能實現該方法之儲存媒體。The present invention relates to the technology of a face recognition system, and more particularly relates to a face recognition system for three-dimensional living body recognition, a three-dimensional living body recognition method and a storage medium capable of realizing the method.

習知人臉辨識系統(如應用於門禁系統、人臉打卡系統)是透過對待辨識者拍攝二維的影像,對二維影像與資料庫中已有的人臉影像進行比對,從而判斷待辨識者是否可通過辨識。然而,有意人士可以使用平面照片之假人臉來欺騙此系統。為增加人臉辨識系統的安全性,有下列兩種習知方式來判斷人臉真偽。The conventional face recognition system (such as the access control system and the face card system) is to take a two-dimensional image of the recognizer, and compare the two-dimensional image with the existing face image in the database to determine the pending recognition Whether the person can be identified. However, interested parties can use fake faces in flat photos to deceive this system. In order to increase the security of the face recognition system, there are the following two conventional methods to judge the authenticity of the face.

一種方式是指示被辨識者作不同動作從而利用多個二維影像來進行辨識人臉真偽。利用此方式的人臉辨識系統中,會要求被辨識者做指定的動作譬如左右轉頭、上下轉頭或其他動作來判別被辨識者是否活體。但是因為要指示被辨識者、等待被辨識者完成指定動作之過程需要花費時間,如此一來,此系統也要利用較長時間才能完成辨識,且對被辨識者而言使用上也較為不便。One way is to instruct the recognized person to perform different actions so as to use multiple two-dimensional images to recognize the authenticity of the human face. In the face recognition system using this method, the recognized person will be required to perform designated actions such as turning the head left and right, turning the head up and down, or other actions to determine whether the recognized person is alive. However, because the process of instructing the recognized person and waiting for the recognized person to complete the specified action takes time, this system also takes a long time to complete the recognition, and it is more inconvenient for the recognized person to use.

另一種方式則利用二維影像並配合熱感影像或紅外線影像。利用此方式的人臉辨識系統中,可以不必要求被辨識者做額外動作,藉由二維影像並配合熱感影像或紅外線影像依據人臉有體溫的特性來判別人臉真偽。然而,在戶外因為陽光或其他環境因素影響,平面照片之假人臉亦可具有相當於體溫的溫度而可能欺騙此系統。The other method uses two-dimensional images in combination with thermal images or infrared images. In the face recognition system using this method, there is no need to require the person to be recognized to perform additional actions, and the authenticity of the human face can be judged by the two-dimensional image combined with the thermal image or the infrared image according to the temperature characteristics of the human face. However, due to the influence of sunlight or other environmental factors outdoors, the fake human face in a flat photo can also have a temperature equivalent to body temperature, which may deceive this system.

故此,人臉辨識技術仍有待改進,在辨識人臉方面,使辨識過程簡化的同時也能降低系統被平面照片之假人臉欺騙之風險。Therefore, the face recognition technology still needs to be improved. In terms of face recognition, the recognition process is simplified and the risk of the system being deceived by fake faces in flat photos is also reduced.

本發明之一目的在於提供一種用於人臉識別系統之技術,該技術用以判別辨識物體是否為活體。此技術利用被辨識者被三維拍攝之物體的深度資訊進行三維活體識別,故能以簡化的辨識過程,同時也能降低系統被平面照片之假人臉欺騙之風險。One object of the present invention is to provide a technology for a face recognition system, which is used to determine whether the recognized object is a living body. This technology uses the depth information of the three-dimensionally photographed objects of the recognized person to perform three-dimensional live body recognition, so it can simplify the recognition process and reduce the risk of the system being deceived by fake faces in flat photos.

為達至少上述目的,本發明提出一種三維活體識別之人臉識別系統,其包括處理單元以及儲存單元。儲存單元電性耦接該處理單元,儲存單元儲存程式碼,處理單元於存取程式碼後執行多個運作,此等運作包含如下。處理單元接收對物體經三維拍攝而得之二維影像及對應於二維影像之深度影像並從而判斷二維影像中是否存在活體之人臉影像。處理單元針對二維影像進行人臉偵測及人臉特徵點偵測以分別找出人臉影像及人臉影像中之複數個特徵點。處理單元利用此等特徵點中至少部分之座標位置找出人臉影像中之判別區域。處理單元基於判別區域對應之深度影像的部分及判別區域對應之三維參考面來決定判別區域對應的判別特徵值。處理單元至少依據判別區域對應的判別特徵值得到人臉影像是否為活體之人臉的判斷結果。In order to achieve at least the above objectives, the present invention provides a three-dimensional living body recognition face recognition system, which includes a processing unit and a storage unit. The storage unit is electrically coupled to the processing unit, the storage unit stores the program code, and the processing unit executes multiple operations after accessing the program code. These operations include the following. The processing unit receives a two-dimensional image obtained by three-dimensional shooting of the object and a depth image corresponding to the two-dimensional image, and thereby determines whether there is a human face image in the two-dimensional image. The processing unit performs face detection and face feature point detection on the two-dimensional image to find the face image and the plurality of feature points in the face image respectively. The processing unit uses at least part of the coordinate positions of these feature points to find the discriminative area in the face image. The processing unit determines the discrimination feature value corresponding to the discrimination area based on the part of the depth image corresponding to the discrimination area and the three-dimensional reference surface corresponding to the discrimination area. The processing unit obtains a judgment result of whether the face image is a living human face at least according to the distinguishing feature value corresponding to the distinguishing area.

於本發明之一實施例中,處理單元基於由判別區域對應之深度影像的部分之深度資訊所對應之三維判別面至三維參考面的距離來決定判別區域對應的判別特徵值。In an embodiment of the present invention, the processing unit determines the discriminant feature value corresponding to the discriminant area based on the distance from the three-dimensional discriminant surface corresponding to the depth information of the part of the depth image corresponding to the discriminant area to the three-dimensional reference surface.

於本發明之一實施例中,處理單元設定三維參考面為三維平面,處理單元係利用判別區域對應之深度影像的部分之深度資訊而決定三維參考面。In an embodiment of the present invention, the processing unit sets the three-dimensional reference surface as a three-dimensional plane, and the processing unit uses the depth information of the portion of the depth image corresponding to the discrimination area to determine the three-dimensional reference surface.

於本發明之一實施例中,處理單元基於判別區域對應的判別特徵值及門檻值得到人臉影像是否為活體之人臉的判斷結果,其中若判別區域對應的判別特徵值大於或此等於門檻值,則處理單元得出人臉影像為活體之人臉的判斷結果;若判別區域對應的判別特徵值小於門檻值,則處理單元得出人臉影像並非活體之人臉的判斷結果。In an embodiment of the present invention, the processing unit obtains the judgment result of whether the face image is a living human face based on the discriminant feature value and the threshold value corresponding to the discriminative area, wherein if the discriminant feature value corresponding to the discriminant area is greater than or equal to the threshold Value, the processing unit obtains the judgment result that the face image is a living face; if the discriminant feature value corresponding to the discriminant area is less than the threshold value, the processing unit obtains the judgment result that the face image is not a living face.

於本發明之一實施例中,判別區域為第一判別區域,判別特徵值為第一判別區域對應的第一判別特徵值,處理單元利用此等特徵點中至少另一部分之座標位置找出人臉影像中之第二判別區域;處理單元基於第二判別區域對應之人臉影像及深度影像及第二判別區域對應之三維參考面來決定判別區域對應的第二判別特徵值;處理單元至少依據第一判別區域對應的第一判別特徵值及第二判別區域對應的第二判別特徵值得到人臉影像是否為活體之人臉的判斷結果。In an embodiment of the present invention, the discrimination area is the first discrimination area, the discrimination feature value is the first discrimination feature value corresponding to the first discrimination area, and the processing unit uses the coordinate position of at least another part of these feature points to find the person The second discrimination area in the face image; the processing unit determines the second discrimination feature value corresponding to the discrimination area based on the face image and depth image corresponding to the second discrimination area and the three-dimensional reference surface corresponding to the second discrimination area; the processing unit at least according to The first discriminant feature value corresponding to the first discriminant region and the second discriminant feature value corresponding to the second discriminant region obtain a judgment result of whether the face image is a human face of a living body.

於本發明之一實施例中,人臉識別系統更可以包括三維攝影單元,三維攝影單元通訊連接至處理單元,用以輸出二維影像及深度影像。In an embodiment of the present invention, the face recognition system may further include a three-dimensional photographing unit, and the three-dimensional photographing unit is communicatively connected to the processing unit for outputting a two-dimensional image and a depth image.

於本發明之一實施例中,人臉識別系統更可以包括通訊單元,通訊單元電性耦接至處理單元,用以通訊連接至遠端之三維攝影單元以取得二維影像及深度影像。In an embodiment of the present invention, the face recognition system may further include a communication unit, which is electrically coupled to the processing unit for communication with the remote 3D camera unit to obtain 2D images and depth images.

為達至少上述目的,本發明復提出一種三維活體識別方法,可用於人臉識別系統,方法包括以下步驟。接收對物體經三維拍攝而得之二維影像及對應於二維影像之深度影像。針對二維影像進行人臉偵測及人臉特徵點偵測以分別找出人臉影像及人臉影像中之複數個特徵點。利用此等特徵點中至少部分之座標位置找出人臉影像中之判別區域。基於判別區域對應之深度影像的部分及判別區域對應之三維參考面來決定判別區域對應的判別特徵值。至少依據判別區域對應的判別特徵值得到人臉影像是否為活體之人臉的判斷結果。In order to achieve at least the above objectives, the present invention provides a three-dimensional living body recognition method, which can be used in a face recognition system. The method includes the following steps. Receive a two-dimensional image obtained by three-dimensional shooting of the object and a depth image corresponding to the two-dimensional image. Perform face detection and face feature point detection on the two-dimensional image to find out the face image and the multiple feature points in the face image respectively. Use at least part of the coordinate positions of these feature points to find the discriminative area in the face image. The discrimination feature value corresponding to the discrimination area is determined based on the part of the depth image corresponding to the discrimination area and the three-dimensional reference surface corresponding to the discrimination area. At least according to the discriminant feature value corresponding to the discriminant area, the judgment result of whether the face image is a living face is obtained.

於本發明之一實施例中,決定判別區域對應的判別特徵值之步驟包含:基於由判別區域對應之深度影像的部分之深度資訊所對應之三維判別面至三維參考面的距離來決定判別區域對應的判別特徵值。In an embodiment of the present invention, the step of determining the discriminant feature value corresponding to the discriminant area includes: determining the discriminant area based on the distance from the 3D discriminant surface corresponding to the depth information of the depth image portion of the discriminant area to the 3D reference surface The corresponding discriminative feature value.

於本發明之一實施例中,三維參考面為最接近三維判別面之三維平面。In an embodiment of the present invention, the three-dimensional reference surface is the three-dimensional plane closest to the three-dimensional discriminating surface.

於本發明之一實施例中,三維參考面為三維平面,三維參考面係利用判別區域對應之深度影像的部分之深度資訊而決定。In one embodiment of the present invention, the three-dimensional reference surface is a three-dimensional plane, and the three-dimensional reference surface is determined by using the depth information of the depth image corresponding to the discrimination area.

於本發明之一實施例中,得到人臉影像是否為活體之人臉的判斷結果之步驟包含以下步驟。若判別區域對應的判別特徵值大於或此等於門檻值,則得出人臉影像為活體之人臉的判斷結果。若判別區域對應的判別特徵值小於門檻值,則得出人臉影像並非活體之人臉的判斷結果。In an embodiment of the present invention, the step of obtaining the judgment result of whether the face image is a human face of a living body includes the following steps. If the discriminant feature value corresponding to the discriminant region is greater than or equal to the threshold value, then the result of judging that the face image is a living face is obtained. If the discriminant feature value corresponding to the discriminant area is less than the threshold value, the result of judging that the human face image is not a living human face is obtained.

於本發明之一實施例中,判別區域為第一判別區域,判別特徵值為第一判別區域對應的第一判別特徵值,三維活體識別方法更包括:利用此等特徵點中至少另一部分之座標位置找出人臉影像中之第二判別區域;基於第二判別區域對應之人臉影像及深度影像及第二判別區域對應之三維參考面來決定判別區域對應的第二判別特徵值;其中得到人臉影像是否為活體之人臉的判斷結果之步驟包含至少依據第一判別區域對應的第一判別特徵值及第二判別區域對應的第二判別特徵值來得到人臉影像是否為活體之人臉的判斷結果。In one embodiment of the present invention, the discrimination area is the first discrimination area, and the discrimination feature value is the first discrimination feature value corresponding to the first discrimination area. The three-dimensional living body recognition method further includes: using at least another part of these feature points The coordinate position finds the second discriminant area in the face image; the second discriminant feature value corresponding to the discriminant area is determined based on the face image and depth image corresponding to the second discriminant area and the three-dimensional reference surface corresponding to the second discriminant area; The step of obtaining the judgment result of whether the face image is a living face includes at least obtaining the judgment of whether the face image is a living body based on at least a first discriminant feature value corresponding to the first discriminant area and a second discriminant feature value corresponding to the second discriminant area The judgment result of the face.

為達至少上述目的,本發明又提出一種儲存媒體,其記錄用以讓運算裝置執行如上述之三維活體識別方法之實施例中至少一個或其組合的程式碼。In order to achieve at least the above-mentioned object, the present invention further provides a storage medium, which records a program code used for a computing device to execute at least one or a combination of the above-mentioned three-dimensional living body recognition method embodiments.

藉此,上述提供用於人臉識別系統之技術之實施例,其可用以判別辨識物體是否為活體。此技術利用被辨識者被三維拍攝之物體的深度資訊進行三維活體識別,故能以簡化的辨識過程,同時也能降低系統被平面照片之假人臉欺騙之風險。該技術可以應用於有安全性需求的人臉辨識系統中(如門禁系統、人臉打卡系統),避免系統被有意人士使用假人臉欺騙,增加系統的安全性。In this way, the above embodiments of the technology provided for the face recognition system can be used to determine whether the recognized object is a living body. This technology uses the depth information of the three-dimensionally photographed objects of the recognized person to perform three-dimensional live body recognition, so it can simplify the recognition process and reduce the risk of the system being deceived by fake faces in flat photos. This technology can be applied to face recognition systems with security requirements (such as access control systems, face punch card systems) to prevent the system from being deceived by intentional persons using fake faces and increase the security of the system.

為充分瞭解本發明之目的、特徵及功效,茲藉由下述具體之實施例,並配合所附之圖式,對本發明做一詳細說明,說明如後:In order to fully understand the purpose, features and effects of the present invention, the following specific embodiments are used in conjunction with the accompanying drawings to give a detailed description of the present invention. The description is as follows:

請參考圖1,其繪示三維活體識別之人臉識別系統之一實施例, 圖1的人臉識別系統可以實現依圖4的三維活體識別方法或基於圖4的實施例(其將於之後詳細說明,此處先暫時略過),並可據以進一步實現各種基於人臉識別之方法。如圖1所示之三維活體識別之人臉識別系統1(以下簡稱人臉識別系統1),包括儲存單元11及處理單元10。處理單元10電性耦接儲存單元11,且用以接收對物體經三維拍攝而得之二維影像IM及對應於二維影像IM之深度影像DM並從而判斷二維影像IM中是否存在活體之人臉影像。Please refer to FIG. 1, which illustrates an embodiment of a face recognition system for 3D living body recognition. The face recognition system of FIG. 1 can implement the 3D living body recognition method according to FIG. 4 or the embodiment based on FIG. 4 (which will be described later) Detailed description, temporarily skipped here), and can be used to further implement various methods based on face recognition. The face recognition system 1 for three-dimensional living body recognition as shown in FIG. 1 (hereinafter referred to as the face recognition system 1) includes a storage unit 11 and a processing unit 10. The processing unit 10 is electrically coupled to the storage unit 11, and is used to receive a two-dimensional image IM obtained by three-dimensional shooting of an object and a depth image DM corresponding to the two-dimensional image IM, and thereby determine whether there is a living body in the two-dimensional image IM Face image.

處理單元10可以利用一個或多個電路來實現,如處理器、數位訊號處理器,或是以可程式化的積體電路如微控制器、元件可程式邏輯閘陣列(field programmable gate array,FPGA)或特殊應用積體電路(application specific integrated circuit,ASIC)之類的電路中之一個或多個電路來實現,亦可使用專屬的電路或模組來實現。儲存單元11例如包含記憶體或儲存裝置等記憶裝置,且可用於儲存處理單元10所要輸入或輸出的資料,或可用於人臉辨識、人臉特徵點辨識之資料庫。The processing unit 10 may be implemented by one or more circuits, such as a processor, a digital signal processor, or a programmable integrated circuit such as a microcontroller, a field programmable gate array (FPGA) ) Or one or more circuits in circuits such as application specific integrated circuit (ASIC), or a dedicated circuit or module. The storage unit 11 includes, for example, a memory device such as a memory or a storage device, and can be used to store data to be input or output by the processing unit 10, or can be used in a database for facial recognition and facial feature point recognition.

在基於圖1之一實施例中,如圖2所示之人臉識別系統2更可以包括三維攝影單元20,三維攝影單元20通訊連接至處理單元10,用以輸出二維影像IM及深度影像DM。舉例而言,三維攝影單元20可利用電性連接、通訊介面(如USB等)、資料連接線或其他連接方式而通訊連接至處理單元10。人臉識別系統2可以依據需求而進一步配置為一種運算裝置或終端裝置,如具深度偵測的攝影機或監控攝影機,也可以配置為智慧型裝置,如智慧型手機、平板電腦,或可以配置為筆記型電腦等電腦系統。三維攝影單元20例如是包含二維影像感測器21及深度感測器22。二維影像感測器21例如是CMOS或其他影像感測器。深度感測器22例如是利用紅外線或雷射之深度感測器,如飛行時間測距(Time of Flight,TOF)感測器。然而本發明的實現並不受上述例子限制。In an embodiment based on FIG. 1, the face recognition system 2 shown in FIG. 2 may further include a three-dimensional photographing unit 20, which is communicatively connected to the processing unit 10 for outputting two-dimensional images IM and depth images DM. For example, the three-dimensional photographing unit 20 can be communicatively connected to the processing unit 10 through an electrical connection, a communication interface (such as a USB, etc.), a data connection cable, or other connection methods. The face recognition system 2 can be further configured as a computing device or terminal device according to requirements, such as a camera or surveillance camera with in-depth detection, or as a smart device, such as a smart phone or a tablet, or can be configured as Computer systems such as notebook computers. The three-dimensional photographing unit 20 includes, for example, a two-dimensional image sensor 21 and a depth sensor 22. The two-dimensional image sensor 21 is, for example, a CMOS or other image sensors. The depth sensor 22 is, for example, a depth sensor using infrared rays or lasers, such as a time of flight (TOF) sensor. However, the implementation of the present invention is not limited by the above examples.

在基於圖1之一實施例中,如圖3所示之人臉識別系統3更可以包括通訊單元12,通訊單元12電性耦接至處理單元10,且用於以有線或無線方式通訊連接至遠端之三維攝影單元20以取得二維影像IM及深度影像DM,人臉識別系統3據以判斷二維影像IM中是否存在活體之人臉影像。在本實施例中,人臉識別系統3可以配置為一台或多台運算裝置,如行動裝置、電腦、伺服器或雲端伺服器。另一方面,三維攝影單元20可以連接至資料傳輸裝置30,並透過資料傳輸裝置30以有線或無線方式將拍攝到的二維影像IM及深度影像DM傳送至通訊單元12。資料傳輸裝置30可以利用通訊電路,如支授Wi-Fi、USB或其他通訊協定的通訊電路,或可以是具有通訊電路的運算裝置。然而本發明的實現並不受上述例子限制。In an embodiment based on FIG. 1, the face recognition system 3 shown in FIG. 3 may further include a communication unit 12, which is electrically coupled to the processing unit 10, and is used for wired or wireless communication connection To the remote 3D camera unit 20 to obtain the 2D image IM and the depth image DM, the face recognition system 3 determines whether there is a human face image in the 2D image IM. In this embodiment, the face recognition system 3 can be configured as one or more computing devices, such as mobile devices, computers, servers, or cloud servers. On the other hand, the 3D photographing unit 20 may be connected to the data transmission device 30, and transmit the captured 2D image IM and depth image DM to the communication unit 12 through the data transmission device 30 in a wired or wireless manner. The data transmission device 30 may utilize a communication circuit, such as a communication circuit supporting Wi-Fi, USB or other communication protocols, or may be a computing device with a communication circuit. However, the implementation of the present invention is not limited by the above examples.

請參考圖4,其為三維活體識別方法之一實施例的示意流程圖。圖4所示之實施例可用如基於圖1至圖3的人臉識別系統,並可據以進一步實現各種基於人臉識別之方法。如圖4所示,三維活體識別方法之一實施例包括以下步驟。如步驟S10所示,接收對物體經三維拍攝而得之二維影像IM及對應於二維影像IM之深度影像DM。如步驟S20所示,針對二維影像IM進行人臉偵測及人臉特徵點偵測以分別找出人臉影像及人臉影像中之複數個特徵點。如步驟S30所示,利用此等特徵點中至少部分之座標位置找出人臉影像中之判別區域。如步驟S40所示,基於判別區域對應之深度影像DM的部分及判別區域對應之三維參考面來決定判別區域對應的判別特徵值。如步驟S50所示,至少依據判別區域對應的判別特徵值得到人臉影像是否為活體之人臉的判斷結果。Please refer to FIG. 4, which is a schematic flowchart of an embodiment of a three-dimensional living body recognition method. The embodiment shown in FIG. 4 can be used as a face recognition system based on FIGS. 1 to 3, and various methods based on face recognition can be further implemented. As shown in FIG. 4, an embodiment of the three-dimensional living body recognition method includes the following steps. As shown in step S10, a two-dimensional image IM obtained by three-dimensional shooting of an object and a depth image DM corresponding to the two-dimensional image IM are received. As shown in step S20, face detection and face feature point detection are performed for the two-dimensional image IM to find the face image and the plurality of feature points in the face image respectively. As shown in step S30, use at least part of the coordinate positions of these feature points to find the discriminative area in the face image. As shown in step S40, the discrimination feature value corresponding to the discrimination area is determined based on the part of the depth image DM corresponding to the discrimination area and the three-dimensional reference surface corresponding to the discrimination area. As shown in step S50, the judgment result of whether the face image is a living human face is obtained at least according to the discriminant feature value corresponding to the discriminant area.

以下分別就各步驟舉例說明其各種實現方式。The following examples illustrate various implementation methods for each step.

關於步驟S10,舉例而言,如圖1、圖2或圖3所示,可以利用處理單元10接收二維影像IM及深度影像DM以實現步驟S10。舉例而言,二維影像IM例如包含A´B個像素的影像,如RGB影像、灰階影像或其他形式影像,A、B為正整數,且可視人臉識別系統對解析度的需求而設定;深度影像DM包含對應到二維影像IM中的至少部分或全部像素的深度資訊;二維影像IM及深度影像DM係為同步且校正對齊。舉例而言,對應於二維影像IM之深度影像DM包含二維影像IM中至少部分或全部像素所對應的環境中實體就參考原點(或參考平面)而言的深度資訊,此參考原點(或參考平面)通常可取如前述三維攝影單元20的位置(或拍攝的參考平面)。此外,參考原點(或參考平面)也可以設於其他位置。實施例並不以上述例子為限。Regarding step S10, for example, as shown in FIG. 1, FIG. 2 or FIG. 3, the processing unit 10 may be used to receive the two-dimensional image IM and the depth image DM to implement step S10. For example, a two-dimensional image IM includes an image with A´B pixels, such as an RGB image, a grayscale image, or other forms of images. A and B are positive integers and can be set according to the resolution requirements of the face recognition system The depth image DM includes depth information corresponding to at least some or all of the pixels in the two-dimensional image IM; the two-dimensional image IM and the depth image DM are synchronized and aligned. For example, the depth image DM corresponding to the two-dimensional image IM includes the depth information of the entity in the environment corresponding to at least some or all of the pixels in the two-dimensional image IM in terms of a reference origin (or reference plane), and this reference origin (Or reference plane) can usually be taken as the position of the aforementioned three-dimensional photographing unit 20 (or the reference plane for photographing). In addition, the reference origin (or reference plane) can also be set at other positions. The embodiments are not limited to the above examples.

依據步驟S10,人臉識別系統1、2或3可以配置為接收個別的二維影像IM及對應於二維影像IM之深度影像DM,或者可以配置為接收基於三維座標之格式(如(x, y, z))來表示之二維影像IM及深度影像DM,其中z為座標(x, y)對應的深度值。故此,本發明的實現並不受人臉識別系統所接收之二維影像或深度影像的格式等例子限制。According to step S10, the face recognition system 1, 2 or 3 can be configured to receive individual two-dimensional image IM and depth image DM corresponding to the two-dimensional image IM, or can be configured to receive a format based on three-dimensional coordinates (such as (x, y, z)) to represent the two-dimensional image IM and the depth image DM, where z is the depth value corresponding to the coordinate (x, y). Therefore, the implementation of the present invention is not limited by examples such as the format of the two-dimensional image or depth image received by the face recognition system.

在步驟S20中,針對二維影像IM進行人臉偵測以找出人臉影像。人臉偵測在二維影像IM中找出人臉的位置和大小,以偵測出面部特徵,並忽略諸如建築物、樹木和身體等其他任何東西。請參考圖5,其為圖4中步驟S20之一實施例的示意圖。如圖5所示,透過步驟S20之一實施例,在二維影像IM中找出人臉影像FI。步驟S20又針對二維影像IM進行人臉特徵點偵測以找出人臉影像中之複數個特徵點。舉例而言,人臉特徵點偵測可以是在人臉偵測的基礎上進行的,如圖5所示,人臉特徵點偵測對人臉影像FI上的特徵點例如眼角、鼻子、嘴角等進行定位,分別得出特徵點C1~C4、C5~C7、C8~C9。此外,亦可利用人臉特徵點偵測對人臉影像FI上任何欲要偵測的特徵點進行偵測,如眼角、鼻子、嘴角、下巴、耳朵、額頭、臉脥中至少一個部位中的特徵點,或者人臉影像FI其他部位中特徵點。本發明的實現並不受上述特徵點或特徵點數量例子的限制。In step S20, face detection is performed on the two-dimensional image IM to find the face image. Face detection finds the position and size of the face in the two-dimensional image IM to detect facial features and ignores other things such as buildings, trees, and bodies. Please refer to FIG. 5, which is a schematic diagram of an embodiment of step S20 in FIG. 4. As shown in FIG. 5, through an embodiment of step S20, the face image FI is found in the two-dimensional image IM. Step S20 performs face feature point detection on the two-dimensional image IM to find a plurality of feature points in the face image. For example, the detection of facial feature points can be performed on the basis of face detection. As shown in Figure 5, the detection of facial feature points can detect the feature points on the face image FI, such as the corners of the eyes, nose, and mouth. After positioning, the characteristic points C1~C4, C5~C7, C8~C9 are obtained. In addition, facial feature point detection can also be used to detect any feature points to be detected on the face image FI, such as the corners of the eyes, nose, mouth, chin, ears, forehead, and facial cubits. Feature points, or feature points in other parts of the face image FI. The implementation of the present invention is not limited by the above-mentioned feature points or the number of feature points.

在步驟S20的實施例中,可以利用任何一種或多種人臉偵測技術來實現,例如,但不限於,基於臉部特徵點的辨識演算法(feature-based recognition algorithms)、基於整幅人臉影像的辨識演算法(appearance-based recognition algorithms)、基於模板的辨識演算法(template-based recognition algorithms)、利用神經網路進行辨識的演算法(recognition algorithms using neural network)或利用支援向量機進行辨識的演算法(recognition algorithms using support vector machine (SVM))來實現,或者其他合適的演算法來實現。In the embodiment of step S20, any one or more face detection technologies can be used to implement, for example, but not limited to, feature-based recognition algorithms based on facial feature points, and based on the entire face. Image recognition algorithms (appearance-based recognition algorithms), template-based recognition algorithms (template-based recognition algorithms), recognition algorithms using neural network (recognition algorithms using neural network) or support vector machines for recognition Recognition algorithms using support vector machine (SVM), or other suitable algorithms.

舉例而言,在步驟S30中,利用此等特徵點中至少部分,如至少一個或多個特徵點之座標位置,以找出人臉影像中之判別區域。請參考圖6,其為圖4中步驟S30之一實施例的示意圖。在圖6中,為了便於繪示及說明步驟S30所得到的判別區域與對應的深度資訊的關係,以符號FD所指之以輪廓或線條來示意人臉影像(如上述圖5中的FI)所對應的深度影像DM中的部分。假如深度影像DM中的深度資訊以某一數值範圍(例如0~255或其他數值範圍)表示像素對應的實體相較次參考原點(或參考平面)的遠至近的距離的話,FD或DM可以用灰階圖來示意,但本發明之實現並不受此限制。以下舉例說明找出人臉影像中之判別區域的各種可能方式。For example, in step S30, at least part of these feature points, such as the coordinate positions of at least one or more feature points, are used to find the discriminative region in the face image. Please refer to FIG. 6, which is a schematic diagram of an embodiment of step S30 in FIG. 4. In FIG. 6, in order to facilitate the drawing and description of the relationship between the discriminant area obtained in step S30 and the corresponding depth information, the face image is indicated by contours or lines as indicated by the symbol FD (such as FI in FIG. 5 above) The part in the corresponding depth image DM. If the depth information in the depth image DM uses a certain numerical range (such as 0~255 or other numerical range) to indicate the distance of the entity corresponding to the pixel from the far to short distance of the secondary reference origin (or reference plane), FD or DM can The gray scale diagram is used for illustration, but the implementation of the present invention is not limited by this. The following examples illustrate various possible ways to find the discriminative area in the face image.

如圖6所示,譬如,取鼻子附近的區塊作為判別區域來實現步驟S30,至少選取鼻子中心(如特徵點C5)或是從二維影像IM偵測到的特徵點的位置(X, Y) ,就可以直接以(X, Y)附近的座標(X+W, Y+H)、(X+W, Y-H) 、(X-W, Y+H)、(X-W, Y+H)來定義判別區域R3,其中W、H分別為判別區域的寬和高。As shown in Fig. 6, for example, the block near the nose is taken as the discrimination area to implement step S30. At least the center of the nose (such as the feature point C5) or the position of the feature point detected from the two-dimensional image IM (X, Y), you can directly define the coordinates (X+W, Y+H), (X+W, YH), (XW, Y+H), (XW, Y+H) near (X, Y) Discrimination area R3, where W and H are the width and height of the discrimination area respectively.

此外,本發明的實現並不受步驟S30的實現形式所限制;譬如在方法步驟中若是針對基於至少一個特徵點的區域所對應的深度資訊來進行判斷人臉影像是否為活體之人臉的相關處理時,由於已間接地界定了判別區域,也可以視為已實現了步驟S30。In addition, the implementation of the present invention is not limited by the implementation form of step S30; for example, in the method step, if the depth information corresponding to the region based on at least one feature point is used to determine whether the face image is related to a living face During processing, since the discrimination area has been indirectly defined, it can also be considered that step S30 has been implemented.

此外,在一些實施例中,步驟S30也可以利用兩個或以上的特徵點來找出判別區域。例如取圖5中鼻子的特徵點C5、C6、C7,各取C5、C6之中點及C6、C7之中點來估算鼻子的寬度,並用眼角的特徵點C2、C3之中點及特徵點C5來估算鼻子的高度,從而可以得出如圖6所示之判別區域R4。其他如位於額頭的判別區域R1、跨越鼻子的判別區域R2、R3或嘴巴以下的判別區域R5,亦可如此類推地找出。又例如,可以利用兩個或以上的特徵點來設定一個判別區域。如以圖5中特徵點的C8及C9來設定一個判別區域。如以圖5中特徵點的C5、C6、C7來設定一個判別區域。如以圖5中特徵點的C6、C7、C8、C9來設定一個判別區域。又可以利用人臉影像FI上任何已偵測到的特徵值來設定一個或多個判別區域,如眼角、鼻子、嘴角、下巴、耳朵、額頭、臉脥或其他部位中至少一個或多個特徵點來設定一個或多個判別區域。然而,本發明的實現並不受上述判別區域或判別區域數量例子的限制。In addition, in some embodiments, step S30 may also use two or more feature points to find the discrimination area. For example, take the characteristic points C5, C6, and C7 of the nose in Figure 5, take the midpoints of C5, C6 and the midpoints of C6, C7 to estimate the width of the nose, and use the feature points C2, C3 midpoints and feature points of the corner of the eye C5 is used to estimate the height of the nose, so that the discrimination area R4 shown in Figure 6 can be obtained. Others, such as the discrimination area R1 located on the forehead, the discrimination area R2, R3 across the nose, or the discrimination area R5 below the mouth, can also be found by analogy. For another example, two or more feature points can be used to set a discrimination area. For example, use C8 and C9 of the characteristic points in Figure 5 to set a discrimination area. For example, use C5, C6, and C7 of the characteristic points in Figure 5 to set a discrimination area. For example, use C6, C7, C8, and C9 of the characteristic points in Figure 5 to set a discrimination area. You can also use any detected feature value on the face image FI to set one or more discrimination areas, such as at least one or more features in the corners of the eyes, nose, corners of the mouth, chin, ears, forehead, facial cubits or other parts Click to set one or more discrimination areas. However, the implementation of the present invention is not limited by the above examples of discrimination regions or the number of discrimination regions.

在透過步驟S30找出判別區域以後,可以進一步針對判別區域所對應的深度資訊來進行後續的是否活體人臉之辨識。After the discrimination area is found in step S30, the subsequent recognition of whether a human face is alive can be further performed on the depth information corresponding to the discrimination area.

於本發明之一實施例中,決定判別區域對應的判別特徵值之步驟S40包含:基於由判別區域對應之深度影像DM的部分之深度資訊所對應之三維判別面至三維參考面的距離來決定判別區域對應的判別特徵值。請參考圖7A,其為圖4中步驟S40之一實施例的示意圖。在圖7A中,取圖6中鼻子之部分之判別區域R3為例,且為了方便說明,由判別區域R3對應之深度影像DM的部分之深度資訊係以所對應之三維判別面S以剖面來表示。如圖7A所示之實施例中,三維參考面PA為最接近三維判別面之三維平面,三維判別面S於本例中為曲面且最高點與三維參考面PA相交。詳細而言,三維判別面S並非理想的曲面,事實上三維判別面S是指包含判別區域R3的座標位置(如以(x, y)表示)所對應的深度資訊(如以z表示)的集合,為便於說明,可以將多個離散的座標(x, y, z)視為三維判別面S上的點,故本發明的實現並不受上述對三維判別面S的說明或其他的例子限制。In an embodiment of the present invention, the step S40 of determining the discriminant feature value corresponding to the discriminant region includes: determining based on the distance from the 3D discriminant surface to the 3D reference surface corresponding to the depth information of the portion of the depth image DM corresponding to the discriminant region The discriminant feature value corresponding to the discriminant area. Please refer to FIG. 7A, which is a schematic diagram of an embodiment of step S40 in FIG. 4. In FIG. 7A, take the discrimination region R3 of the nose part of FIG. 6 as an example, and for the convenience of explanation, the depth information of the part of the depth image DM corresponding to the discrimination region R3 is based on the corresponding three-dimensional discrimination surface S as a cross-section. Said. In the embodiment shown in FIG. 7A, the three-dimensional reference plane PA is the three-dimensional plane closest to the three-dimensional discriminating surface. The three-dimensional discriminating surface S is a curved surface in this example and the highest point intersects the three-dimensional reference plane PA. In detail, the three-dimensional discriminant surface S is not an ideal curved surface. In fact, the three-dimensional discriminant surface S refers to the depth information (as represented by z) corresponding to the coordinate position (as represented by (x, y)) of the discrimination region R3 Set, for ease of description, multiple discrete coordinates (x, y, z) can be regarded as points on the three-dimensional discriminant surface S, so the implementation of the present invention is not subject to the above description of the three-dimensional discriminant surface S or other examples limit.

在步驟S40之實施例中,可以藉由統計判別區域R3對應之三維判別面S到此三維參考面PA的距離作為判別區域R3對應的判別特徵值,譬如將三維判別面S各個點至此三維參考面PA的距離作平均或其他統計處理。為了能夠將有意人士利用人臉的照片欲欺騙的情況加以偵測出來,當二維影像中含有人臉的照片的時候,因為人臉的照片也是平面所以人臉的照片與三維參考面PA的距離會很小,故此對應的判別特徵值較小。反之,如果二維影像中是真人臉則會因為人臉的曲度造成較高的距離差異,故此對應的判別特徵值較大。經過統計分析或經驗值的計算,可以得出判別特徵值的大小與是否真人臉之間關聯性的關係,故此可以利用後續的步驟S50,至少依據判別區域對應的判別特徵值得到人臉影像是否為活體之人臉的判斷結果。此外,基於圖4之步驟S30中的方法判別區域可以兩個或以上的數目,對應地藉由步驟S40、S50,亦可以依據多個方法判別區域對應的判別特徵值,得到人臉影像是否為活體之人臉的判斷結果。In the embodiment of step S40, the distance from the three-dimensional discrimination surface S corresponding to the discrimination area R3 to the three-dimensional reference surface PA can be used as the discrimination feature value corresponding to the discrimination area R3, for example, the points of the three-dimensional discrimination surface S to this three-dimensional reference The distance of surface PA is averaged or processed by other statistics. In order to be able to detect the situation that an interested person wants to deceive by using the photo of the face, when the photo of the face is contained in the two-dimensional image, because the photo of the face is also flat, the photo of the face is compared with the three-dimensional reference plane PA. The distance will be small, so the corresponding discriminative eigenvalue is small. Conversely, if the two-dimensional image is a real face, the curvature of the face will cause a higher distance difference, so the corresponding discriminant feature value is larger. After statistical analysis or calculation of empirical values, the relationship between the size of the distinguishing feature value and whether the face is real can be obtained. Therefore, the subsequent step S50 can be used to obtain whether the face image is at least based on the distinguishing feature value corresponding to the distinguished area. It is the judgment result of a living human face. In addition, based on the method in step S30 of FIG. 4, the number of regions can be determined by two or more. Correspondingly, through steps S40 and S50, the corresponding regions can also be determined by multiple methods to determine whether the facial image is The judgment result of the face of the living body.

請參考圖7B,其為圖4中步驟S40之另一實施例的示意圖。如圖7B所示,三維參考面PB可以設定為非最接近三維判別面S之三維平面,如以圖6的例子來直觀地說明,三維參考面PB在判別區域R3如鼻子之前面。Please refer to FIG. 7B, which is a schematic diagram of another embodiment of step S40 in FIG. 4. As shown in FIG. 7B, the three-dimensional reference plane PB can be set as a three-dimensional plane that is not the closest to the three-dimensional discrimination surface S. As shown in the example of FIG. 6, the three-dimensional reference plane PB is in front of the discrimination area R3 such as the nose.

請參考圖7C,其為圖4中步驟S40之又一實施例的示意圖。如圖7C所示,三維參考面PC可以設定為非最接近三維判別面S之三維平面,如以圖6的例子來直觀地說明,三維參考面PC在判別區域R3如鼻子之後面。Please refer to FIG. 7C, which is a schematic diagram of another embodiment of step S40 in FIG. 4. As shown in FIG. 7C, the three-dimensional reference plane PC can be set as a three-dimensional plane that is not the closest to the three-dimensional discriminating surface S. As shown in the example of Fig. 6, the three-dimensional reference plane PC is in the discriminating region R3, such as behind the nose.

於本發明之一實施例中,三維參考面為三維平面,三維參考面係利用判別區域對應之深度影像DM的部分之深度資訊而決定。請參考圖8,其為圖4中步驟S40之另一實施例的示意流程圖。如步驟S400所示,利用判別區域對應之深度影像DM的部分之深度資訊得出三維參考面之模型(或稱方程式)之複數個建模參數。如步驟S410所示,基於該等建模參數及判別區域中對應之深度影像DM的部分之深度資訊,以得出由判別區域對應之深度影像DM的部分之深度資訊所對應之三維判別面至三維參考面的多個距離值。如步驟S420所示,基於多個距離值得出判別區域對應的判別特徵值。例如,對多個距離值作平均或其他統計計數而得出判別特徵值。In an embodiment of the present invention, the three-dimensional reference surface is a three-dimensional plane, and the three-dimensional reference surface is determined by using the depth information of the portion of the depth image DM corresponding to the discrimination area. Please refer to FIG. 8, which is a schematic flowchart of another embodiment of step S40 in FIG. As shown in step S400, the depth information of the part of the depth image DM corresponding to the discrimination area is used to obtain a plurality of modeling parameters of the model (or equation) of the three-dimensional reference surface. As shown in step S410, based on the modeling parameters and the depth information of the corresponding part of the depth image DM in the discrimination area, the three-dimensional discrimination surface corresponding to the depth information of the part of the depth image DM corresponding to the discrimination area is obtained. Multiple distance values of the 3D reference surface. As shown in step S420, the discriminant feature value corresponding to the discriminant area is obtained based on the multiple distance values. For example, a number of distance values are averaged or counted by other statistics to obtain a discriminative feature value.

舉例而言,以圖7A之三維參考面為三維平面為例,可以利用以下公式表示:

Figure 02_image001
或簡化為
Figure 02_image003
(公式1)。For example, taking the three-dimensional reference surface of FIG. 7A as a three-dimensional plane as an example, the following formula can be used to express:
Figure 02_image001
Or simplified to
Figure 02_image003
(Formula 1).

假設 一個判別區域內有 N 個點,由公式1可以列出以下矩陣:

Figure 02_image005
Figure 02_image007
Figure 02_image009
舉例而言,為了簡化上述矩陣及找出合適的三維平面作為三維參考面,可以將參考原點移至此判別區域的中心位置(或可視為幾何重心)。藉此,最後得出的三維平面會通過判別區域的所有點之座標所求到的中心點。為此,以此判別區域的中心位置為新的參考原點,上述式子中的座標要經過座標轉換。據此,在經過針對此判別區域的中心位置為新參考原點之座標轉換以後,此判別區域中的所有三維的座標將符合以下等式:
Figure 02_image011
, 故上述矩陣經過座標轉換以後可以簡化為:
Figure 02_image013
Figure 02_image015
最後,可以得出:
Figure 02_image017
(公式2) 。Assuming that there are N points in a discriminative area, the following matrix can be listed by formula 1:
Figure 02_image005
Figure 02_image007
Figure 02_image009
For example, in order to simplify the above matrix and find a suitable three-dimensional plane as the three-dimensional reference plane, the reference origin can be moved to the center position of the discrimination area (or can be regarded as the geometric center of gravity). In this way, the final three-dimensional plane will pass through the center point obtained by the coordinates of all points in the discrimination area. For this reason, the center position of the discrimination area is used as the new reference origin, and the coordinates in the above formula must undergo coordinate conversion. According to this, after the coordinate conversion for the center position of the discrimination area as the new reference origin, all three-dimensional coordinates in the discrimination area will conform to the following equation:
Figure 02_image011
, So the above matrix can be simplified to:
Figure 02_image013
Figure 02_image015
Finally, it can be concluded:
Figure 02_image017
(Formula 2).

將判別區域中最高點代入平面方程式,則可以得到 d。在透過公式2得到a、b,以及d以後,將a、b、d代入公式1中,則為最接近判別區域的平面方程式。上述a、b、d為步驟S400中所述之建模參數之例子。藉此,可以得出如圖7A所示的三維參考面PA。若將三維參考面PA向某一方向平移,可以得出三維參考面PB,或將三維參考面PA向另一方向平移,可以得出三維參考面PC。關於步驟S410,可以利用以下公式3來計算一個點(x0 , y0 , z0 )至平面之距離:

Figure 02_image019
(公式3)。Substituting the highest point in the discrimination area into the plane equation, d can be obtained. After obtaining a, b, and d through formula 2, substituting a, b, and d into formula 1, it is the plane equation closest to the discrimination area. The above a, b, and d are examples of the modeling parameters described in step S400. Thereby, the three-dimensional reference plane PA as shown in FIG. 7A can be obtained. If the three-dimensional reference plane PA is translated in a certain direction, the three-dimensional reference plane PB can be obtained, or the three-dimensional reference plane PA can be translated in another direction, and the three-dimensional reference plane PC can be obtained. Regarding step S410, the following formula 3 can be used to calculate the distance from a point (x 0 , y 0 , z 0 ) to the plane:
Figure 02_image019
(Formula 3).

請參考圖9,其為圖4中步驟S50之一實施例的示意流程圖。如步驟S510所示,判別區域對應的判別特徵值是否大於或此等於門檻值。如步驟S520所示,若判別區域對應的判別特徵值大於或此等於門檻值,則判斷出人臉影像為活體之人臉。如步驟S530所示,若判別區域對應的判別特徵值小於門檻值,則判斷出人臉影像並非活體之人臉。經過統計分析或經驗值的計算,可以得出判別特徵值的大小與是否真人臉之間關聯性的關係,故此可以利用後續的步驟S50,至少依據判別區域對應的判別特徵值得到人臉影像是否為活體之人臉的判斷結果。Please refer to FIG. 9, which is a schematic flowchart of an embodiment of step S50 in FIG. 4. As shown in step S510, whether the distinguishing feature value corresponding to the distinguishing area is greater than or equal to the threshold value. As shown in step S520, if the discriminant feature value corresponding to the discriminant area is greater than or equal to the threshold value, it is determined that the human face image is a living human face. As shown in step S530, if the discriminant feature value corresponding to the discriminant area is less than the threshold value, it is determined that the human face image is not a living human face. After statistical analysis or calculation of empirical values, the relationship between the size of the distinguishing feature value and whether the face is real can be obtained. Therefore, the subsequent step S50 can be used to obtain whether the face image is at least based on the distinguishing feature value corresponding to the distinguished area. It is the judgment result of a living human face.

此外,基於圖4之方法中,此外,基於圖4之步驟S30中的方法判別區域可以兩個或以上的數目,對應地藉由步驟S40、S50,亦可以依據多個方法判別區域對應的判別特徵值,得到人臉影像是否為活體之人臉的判斷結果。在一實施例中,判別區域為第一判別區域,判別特徵值為第一判別區域對應的第一判別特徵值,三維活體識別方法更包括:利用此等特徵點中至少另一部分之座標位置找出人臉影像中之第二判別區域;基於第二判別區域對應之人臉影像及深度影像DM及第二判別區域對應之三維參考面來決定判別區域對應的第二判別特徵值;其中得出人臉影像是否為活體之人臉的判斷結果之步驟包含至少依據第一判別區域對應的第一判別特徵值及第二判別區域對應的第二判別特徵值得到人臉影像是否為活體之人臉的判斷結果。In addition, in the method based on FIG. 4, in addition, based on the method in step S30 of FIG. 4, the number of regions can be determined by two or more. Correspondingly, through steps S40 and S50, the corresponding regions can also be determined based on multiple methods. The feature value is used to determine whether the face image is a living face. In one embodiment, the discriminant area is the first discriminant area, and the discriminant feature value is the first discriminant feature value corresponding to the first discriminant area. The three-dimensional living body recognition method further includes: using the coordinate position of at least another part of these feature points to find The second discriminant area in the face image is determined; the second discriminant feature value corresponding to the discriminant area is determined based on the face image and depth image DM corresponding to the second discriminant area and the three-dimensional reference surface corresponding to the second discriminant area; The step of determining whether the human face image is a living human face includes determining whether the human face image is a living human face at least according to the first discriminant feature value corresponding to the first discriminant region and the second discriminant feature value corresponding to the second discriminant region The result of the judgment.

在一些實施例中,步驟S40、S50可以利用基於機器學習或神經網路中的方式來得出人臉影像是否為活體之人臉的判斷結果。舉例而言,在實現步驟S40、S50以前,可以將多個真實人臉中一個或多個判別區域、對應的深度資訊作為特徵資料(feature) 並對應至真人臉之真實類別(Ground truth)的例子給予分類器(classifier)中進行訓練,並將多個假人臉中一個或多個判別區域、對應的深度資訊作為特徵資料並對應至假人臉之真實類別的例子給予此分類器中進行訓練。在經過大量的訓練之後,此分類器即具備分判人臉影像中基於一個或多個判別區域情況下,人臉影像是否為活體之人臉的判斷能力;當此分類器滿足所需要的準確率時,則可用以實現步驟S40、S50。然而本發明的實現並不受上述例子限制。In some embodiments, steps S40 and S50 may use a method based on machine learning or neural network to obtain the judgment result of whether the face image is a human face of a living body. For example, before steps S40 and S50 are implemented, one or more discriminative regions and corresponding depth information in multiple real faces can be used as feature data and correspond to the ground truth category of the real face. Examples are given to a classifier for training, and one or more discriminative regions and corresponding depth information in multiple fake faces are used as feature data and correspond to the real category of fake faces. training. After a lot of training, this classifier has the ability to judge whether the face image is a living face in the case of one or more discriminative regions in the face image; when the classifier meets the required criteria When the rate is correct, it can be used to implement steps S40 and S50. However, the implementation of the present invention is not limited by the above examples.

此外,在一些實施例中,提出一種運算裝置可讀取記錄媒體,其記錄用以讓一運算裝置(如前述圖1、圖2或圖所示的人臉識別系統1、2或3),藉由運算裝置(如終端裝置或伺服器)來執行三維活體識別方法之程式碼或包含三維活體識別方法之程式碼,其中方法可以包含基於圖4之方法的實施例中至少一個或其組合。舉例而言,程式碼是一個或多個程式或程式模組,例如用於實現依據圖4的步驟S10至S50、圖8的步驟S400和S420,或圖9的步驟S500至S530,此等模組之程式碼係協同運作,且可以用任何適合的順序或平行而被執行。當運算裝置執行此程式碼時,能導致運算裝置執行基於圖4之三維活體識別方法之一實施例。上述可讀取記錄媒體例如為靭體、ROM、RAM、記憶卡、光學式資訊儲存媒體、磁式資訊儲存媒體或其他任何種類的儲存媒體或記憶體,且本發明之實現方式並不受此例子限制。In addition, in some embodiments, a computing device readable recording medium is provided, and the recording is used for a computing device (such as the face recognition system 1, 2 or 3 shown in Figure 1, Figure 2 or Figure above), A computing device (such as a terminal device or a server) executes the code of the three-dimensional living body recognition method or the code including the three-dimensional living body recognition method, wherein the method may include at least one or a combination of the embodiments based on the method of FIG. 4. For example, the program code is one or more programs or program modules, such as those used to implement steps S10 to S50 in FIG. 4, steps S400 and S420 in FIG. 8, or steps S500 to S530 in FIG. The code of the group works cooperatively and can be executed in any suitable order or in parallel. When the arithmetic device executes this program code, it can cause the arithmetic device to execute an embodiment of the three-dimensional living body recognition method based on FIG. 4. The above-mentioned readable recording medium is, for example, firmware, ROM, RAM, memory card, optical information storage medium, magnetic information storage medium, or any other kind of storage medium or memory, and the implementation of the present invention is not affected by this Example limitation.

此外,基於圖4之三維活體識別方法或系統之任一實施例或其組合可以成為例如身份辨認系統或基於身份辨認系統之提款系統、門禁系統、提款系統或支付系統等應用中之部分,而有助於強化上述系統的安全性,以避免被假人臉而欺騙之效果。以下舉例說明。In addition, any embodiment or combination of the three-dimensional living body recognition method or system based on FIG. 4 can be a part of applications such as an identity recognition system or a withdrawal system based on an identity recognition system, an access control system, a withdrawal system, or a payment system. , And help to strengthen the security of the above system to avoid being deceived by fake faces. The following is an example.

在一實施例中,在身份辨認系統進行人臉身份辨認之過程中,可以採用基於圖4之三維活體識別方法之任一實施例或其組合,以得出人臉影像是否為活體之人臉的判斷結果。若判斷結果為是,則身份辨認系統可進一步對此人臉之身份辨認,以使身份辨認系統確定此人臉是否為身份辨認系統之用戶資料庫中已註冊或已知的人臉。若此人臉為此系統之用戶資料庫中已註冊或已知的人臉,則身份辨認系統可以進行下一步的運作,例如,此系統讓此人臉所代表的用戶擁用使用某種設備,或電腦運算、網路資源之權限,又或者具體地為此用戶而開啟、關閉某種設備或改變某種設備的設定或其他選項。此外,若得出人臉影像並非活體之人臉的判斷結果時,則人臉身份辨認系統可以拒絕此人臉所代表的用戶,或要求再次進行人臉影像之拍攝及進行是否為活體之人臉的判斷,然本實施例並不受此限制。上述之實施例可以讓身份辨認系統快速篩選出假人臉,可強化人臉身份辨認系統的安全性,並可以避免浪費人臉身份辨認系統的人臉身份辨認方面對讀取資料庫等身份判斷所消耗的運算資源。In one embodiment, in the process of face recognition by the identity recognition system, any embodiment or combination of the three-dimensional living body recognition method based on FIG. 4 can be used to determine whether the human face image is a living human face The result of the judgment. If the judgment result is yes, the identity recognition system may further recognize the identity of the face, so that the identity recognition system can determine whether the face is a registered or known face in the user database of the identity recognition system. If the face is a registered or known face in the user database of the system, the identity recognition system can proceed to the next step. For example, the system allows the user represented by the face to use a certain device , Or computer computing, network resource permissions, or specifically for this user to turn on or off a certain device or change the settings or other options of a certain device. In addition, if the result of the judgment that the face image is not a living face is obtained, the face identification system can reject the user represented by the face, or request that the face image be taken again and whether the face is a living person The judgment of the face, however, this embodiment is not limited by this. The above-mentioned embodiments can allow the identity recognition system to quickly screen out fake faces, strengthen the security of the face identity recognition system, and avoid wasting identity judgments such as reading the database in the face recognition aspect of the face recognition system The computing resources consumed.

在另一實施例中,人臉身份辨認系統也可首先進行人臉身份辨認,以使人臉身份辨認系統確定此人臉是否為人臉身份辨認系統之用戶資料庫中已註冊或已知的人臉。若此人臉為為此系統之用戶資料庫中已註冊或已知的人臉,則人臉身份辨認系統可以進行基於圖4之三維活體識別方法之任一實施例或其組合,以得到人臉影像是否為活體之人臉的判斷結果。若判斷結果為是,則人臉身份辨認系統確認了此人臉所代表用戶的真實性,故可進一步在作如前述舉例之下一步的運作。此實施例亦可以強化人臉身份辨認系統的安全性。In another embodiment, the face identification system can also perform face identification first, so that the face identification system can determine whether the face is registered or known in the user database of the face identification system human face. If the face is a registered or known face in the user database of this system, the face identification system can perform any embodiment or combination of the three-dimensional living body recognition method based on FIG. 4 to obtain the person The judgment result of whether the face image is a living human face. If the judgment result is yes, the face identification system has confirmed the authenticity of the user represented by the face, so the next step of the operation can be performed as in the foregoing example. This embodiment can also strengthen the security of the face recognition system.

此外,上述身份辨認系統之實施例可以適用於基於身份辨認系統之提款系統、門禁系統、提款系統、支付系統或其他系統。在經過身份辨認及人臉是否為活體之人臉之確認後,再進一步執行某種運作,如提款運作、門禁開或關之運作、支付運作或其他系統之運作。藉此,可以強化基於身份辨認系統之提款系統、門禁系統、提款系統、支付系統或其他系統的安全性。In addition, the above embodiments of the identity recognition system can be applied to a withdrawal system, an access control system, a withdrawal system, a payment system or other systems based on an identity recognition system. After identification and confirmation of whether the human face is a living human face, certain operations such as withdrawal operation, door opening or closing operation, payment operation or other system operations are performed. In this way, the security of the withdrawal system, access control system, withdrawal system, payment system or other systems based on the identity recognition system can be strengthened.

在另一些實施例中,上述基於圖4之三維活體識別方法或系統之任一實施例或其組合亦可以包含基於人臉影像之身份辨認之步驟,從而成為一種適用於身份辨認系統之方法,或成為適用在基於身份辨認之提款系統、門禁系統、提款系統或支付系統等應用中之方去,而有助於避免上述系統被假人臉而欺騙之效果以強化安全性。舉例而言,基於人臉影像之身份辨認之步驟可以實現於步驟S10~S50之前或之後,或者實現於步驟S10~S50之間,本發明之實現並不受此限制。In other embodiments, any one or a combination of the above-mentioned three-dimensional living body recognition method or system based on FIG. 4 may also include the step of identity recognition based on facial images, thereby becoming a method suitable for the identity recognition system. Or it can be used in applications such as withdrawal systems, access control systems, withdrawal systems, or payment systems based on identity recognition, which can help prevent the above systems from being deceived by fake faces and strengthen security. For example, the step of identification based on the face image can be implemented before or after steps S10 to S50, or between steps S10 to S50, and the implementation of the present invention is not limited by this.

基於人臉影像之身份辨認之步驟例如是將未確認身份的臉部影像,以及系統中臉部資料庫中的若干已知身分的臉部影像或者相應的編碼進行比較或計算相似度,並利用或輸出則是一系列相似度得分,表明待辨識的人臉的身份。例如,若未確認身份的臉部影像與已知身分多個用戶的人臉中相似度最高的用戶為用戶甲,則可以認定該臉部影像的身份為用戶甲。然而本發明之實現並不受此例子限制。The steps of identity recognition based on facial images are, for example, comparing unidentified facial images with facial images with known identities or corresponding codes in the facial database in the system or calculating similarity, and using or The output is a series of similarity scores, indicating the identity of the face to be recognized. For example, if the user with the highest similarity among the faces of the unidentified facial image and the faces of multiple users with known identities is user A, the identity of the facial image can be determined as user A. However, the implementation of the present invention is not limited by this example.

在另一些實施例中,上述基於圖4之三維活體識別方法或系統之任一實施例或其組合除了可以包含基於人臉影像之身份辨認之步驟,更可包含,在經過身份辨認及人臉是否為活體之人臉之確認後,進一步執行某種運作之步驟。例如,如讓此人臉所代表的用戶擁用使用某種設備,或電腦運算、網路資源之權限,又或者具體地為此用戶而開啟、關閉某種設備或改變某種設備的設定或其他選項,又如提款運作、門禁開或關之運作、支付運作或其他系統之運作故不再贅述。然而本發明之實現並不受此例子限制。In other embodiments, any one or a combination of the above-mentioned three-dimensional living body recognition method or system based on FIG. 4 may not only include the step of identity recognition based on the face image, but may also include, after the identity recognition and face recognition After confirming whether it is a face of a living body, a certain operation step is further executed. For example, if the user represented by the face has the authority to use a certain device, or computer computing, network resources, or specifically for this user to turn on or turn off a certain device or change the settings or settings of a certain device Other options, such as withdrawal operation, door opening or closing operation, payment operation or the operation of other systems are not repeated here. However, the implementation of the present invention is not limited by this example.

藉此,上述提供用於人臉識別系統之技術之實施例,其可用以判別辨識物體是否為活體。此技術利用被辨識者被三維拍攝之物體的深度資訊進行三維活體識別。相較於習知影像處理方法,在一些實施例中,人臉識別系統至少只需要一張人臉就可以判斷,故可簡化辨識過程,同時也能降低系統被平面照片之假人臉欺騙之風險。該技術可以應用於有安全性需求的人臉辨識系統中(如門禁系統、人臉打卡系統),避免系統被有意人士使用照片之假人臉欺騙,能夠增加系統的安全性。In this way, the above embodiments of the technology provided for the face recognition system can be used to determine whether the recognized object is a living body. This technology uses the depth information of the three-dimensionally photographed objects of the recognized person to perform three-dimensional living body recognition. Compared with the conventional image processing method, in some embodiments, the face recognition system only needs one face to judge, so the recognition process can be simplified, and the system can be deceived by fake faces in flat photos. risk. This technology can be applied to face recognition systems with security requirements (such as access control systems, face check-in systems) to prevent the system from being deceived by intentional persons using fake faces in photos, and can increase the security of the system.

本發明在上文中已以較佳實施例揭露,然熟習本項技術者應理解的是,該實施例僅用於描繪本發明,而不應解讀為限制本發明之範圍。應注意的是,舉凡與該實施例等效之變化與置換,均應設為涵蓋於本發明之範疇內。因此,本發明之保護範圍當以申請專利範圍所界定者為準。The present invention has been disclosed in a preferred embodiment above, but those skilled in the art should understand that the embodiment is only used to describe the present invention and should not be construed as limiting the scope of the present invention. It should be noted that all changes and substitutions equivalent to this embodiment should be included in the scope of the present invention. Therefore, the protection scope of the present invention should be defined by the scope of the patent application.

1、2、3:人臉識別系統 10:處理單元 11:儲存單元 12:通訊單元 20:三維攝影單元 21:二維影像感測器 22:深度感測器 30:資料傳輸裝置 S10~S50:步驟 S400~S420:步驟 S510~S530:步驟 IM:二維影像 DM:深度影像 FI:人臉影像 FD:人臉影像對應的深度影像的部分 C1~C9:特徵點 R1~R5:判別區域 S:三維判別面 PA、PB、PC:三維參考面1, 2, 3: Face recognition system 10: Processing unit 11: storage unit 12: Communication unit 20: 3D photography unit 21: Two-dimensional image sensor 22: Depth sensor 30: Data transmission device S10~S50: steps S400~S420: steps S510~S530: steps IM: Two-dimensional image DM: Depth image FI: Face image FD: The part of the depth image corresponding to the face image C1~C9: Feature points R1~R5: Discrimination area S: Three-dimensional discriminant surface PA, PB, PC: three-dimensional reference surface

[圖1]係為三維活體識別之人臉識別系統之一實施例的示意方塊圖。 [圖2]係為三維活體識別之人臉識別系統之另一實施例的示意方塊圖。 [圖3]係為三維活體識別之人臉識別系統之一些實施例的示意方塊圖。 [圖4]係為三維活體識別方法之一實施例的示意流程圖。 [圖5]係為圖4中步驟S20之一實施例的示意圖。 [圖6]係為圖4中步驟S30之一實施例的示意圖。 [圖7A]係為圖4中步驟S40之一實施例的示意圖。 [圖7B]係為圖4中步驟S40之另一實施例的示意圖。 [圖7C]係為圖4中步驟S40之又一實施例的示意圖。 [圖8]係為圖4中步驟S40之一實施例的示意流程圖。 [圖9]係為圖4中步驟S50之一實施例的示意流程圖。[Figure 1] is a schematic block diagram of an embodiment of a face recognition system for three-dimensional living body recognition. [Figure 2] is a schematic block diagram of another embodiment of the face recognition system for 3D living body recognition. [Figure 3] is a schematic block diagram of some embodiments of a face recognition system for three-dimensional living body recognition. [Figure 4] is a schematic flowchart of an embodiment of the three-dimensional living body recognition method. [Figure 5] is a schematic diagram of an embodiment of step S20 in Figure 4. [Figure 6] is a schematic diagram of an embodiment of step S30 in Figure 4. [Fig. 7A] is a schematic diagram of an embodiment of step S40 in Fig. 4. [Figure 7B] is a schematic diagram of another embodiment of step S40 in Figure 4. [Figure 7C] is a schematic diagram of another embodiment of step S40 in Figure 4. [Figure 8] is a schematic flowchart of an embodiment of step S40 in Figure 4. [Fig. 9] is a schematic flowchart of an embodiment of step S50 in Fig. 4.

S10~S50:步驟 S10~S50: steps

Claims (14)

一種三維活體識別之人臉識別系統,包括: 一處理單元;以及 一儲存單元,電性耦接該處理單元,該儲存單元儲存程式碼,該處理單元於存取程式碼後執行多個運作,該等運作包含: 接收對物體經三維拍攝而得之一二維影像及對應於該二維影像之一深度影像並從而判斷該二維影像中是否存在活體之人臉影像; 針對該二維影像進行人臉偵測及人臉特徵點偵測以分別找出一人臉影像及該人臉影像中之複數個特徵點; 利用該等特徵點中至少部分之座標位置找出該人臉影像中之一判別區域; 基於該判別區域對應之該深度影像的部分及該判別區域對應之一三維參考面來決定該判別區域對應的一判別特徵值;以及 至少依據該判別區域對應的判別特徵值得到該人臉影像是否為活體之人臉的判斷結果。A face recognition system for three-dimensional living body recognition, including: A processing unit; and A storage unit is electrically coupled to the processing unit, the storage unit stores the program code, and the processing unit executes multiple operations after accessing the program code. The operations include: Receiving a two-dimensional image obtained by three-dimensional shooting of an object and a depth image corresponding to the two-dimensional image and thereby determining whether there is a human face image in the two-dimensional image; Perform face detection and face feature point detection on the two-dimensional image to find a face image and a plurality of feature points in the face image respectively; Use at least part of the coordinate positions of the feature points to find a discriminative area in the face image; Determine a distinguishing feature value corresponding to the distinguishing area based on the part of the depth image corresponding to the distinguishing area and a three-dimensional reference surface corresponding to the distinguishing area; and At least according to the discriminant feature value corresponding to the discriminant area, a judgment result of whether the face image is a human face is obtained. 如請求項1所述之人臉識別系統,其中該處理單元基於由該判別區域對應之該深度影像的部分之深度資訊所對應之一三維判別面至該三維參考面的距離來決定該判別區域對應的判別特徵值。The face recognition system according to claim 1, wherein the processing unit determines the discrimination area based on the distance from a three-dimensional discrimination surface corresponding to the depth information of the part of the depth image corresponding to the discrimination area to the three-dimensional reference surface The corresponding discriminative feature value. 如請求項2所述之人臉識別系統,其中該處理單元設定該三維參考面為一三維平面,該處理單元係利用該判別區域對應之該深度影像的部分之深度資訊而決定該三維參考面。The face recognition system according to claim 2, wherein the processing unit sets the three-dimensional reference surface as a three-dimensional plane, and the processing unit uses the depth information of the portion of the depth image corresponding to the discrimination area to determine the three-dimensional reference surface . 如請求項1所述之人臉識別系統,其中該處理單元基於該判別區域對應的判別特徵值及一門檻值得到該人臉影像是否為活體之人臉的判斷結果,其中若該判別區域對應的判別特徵值大於或等於該門檻值,則該處理單元得出該人臉影像為活體之人臉的判斷結果;若該判別區域對應的判別特徵值小於該門檻值,則該處理單元得出該人臉影像並非活體之人臉的判斷結果。The face recognition system according to claim 1, wherein the processing unit obtains the judgment result of whether the face image is a living face based on the distinguishing feature value corresponding to the distinguishing area and a threshold value, wherein if the distinguishing area corresponds to If the discriminant feature value of is greater than or equal to the threshold value, the processing unit obtains the judgment result that the face image is a living human face; if the discriminant feature value corresponding to the discriminant area is less than the threshold value, the processing unit obtains The face image is not the judgment result of a living face. 如請求項1所述之人臉識別系統,其中該判別區域為一第一判別區域,該判別特徵值為該第一判別區域對應的一第一判別特徵值,該處理單元利用該等特徵點中至少另一部分之座標位置找出該人臉影像中之一第二判別區域;該處理單元基於該第二判別區域對應之該人臉影像及該深度影像及該第二判別區域對應之一三維參考面來決定該判別區域對應的一第二判別特徵值;該處理單元至少依據該第一判別區域對應的第一判別特徵值及該第二判別區域對應的第二判別特徵值得到該人臉影像是否為活體之人臉的判斷結果。The face recognition system according to claim 1, wherein the discrimination area is a first discrimination area, the discrimination feature value is a first discrimination feature value corresponding to the first discrimination area, and the processing unit uses the feature points Find a second discriminant region in the face image based on the coordinate position of at least another part of the face image; the processing unit is based on the face image corresponding to the second discriminant region and the depth image and the second discriminant region corresponding to a three-dimensional The reference surface determines a second discriminant feature value corresponding to the discriminant region; the processing unit obtains the face at least according to the first discriminant feature value corresponding to the first discriminant region and the second discriminant feature value corresponding to the second discriminant region The judgment result of whether the image is a living human face. 如請求項1至5中任一項所述之人臉識別系統,其中該人臉識別系統更包括: 一三維攝影單元,該三維攝影單元通訊連接至該處理單元,用以輸出該二維影像及該深度影像。The face recognition system according to any one of claims 1 to 5, wherein the face recognition system further includes: A three-dimensional photographing unit, which is communicatively connected to the processing unit, for outputting the two-dimensional image and the depth image. 如請求項1至5中任一項所述之人臉識別系統,其中該人臉識別系統更包括: 一通訊單元,該通訊單元電性耦接至該處理單元,用以通訊連接至遠端之一三維攝影單元以取得該二維影像及該深度影像。The face recognition system according to any one of claims 1 to 5, wherein the face recognition system further includes: A communication unit, which is electrically coupled to the processing unit, and is used for communication with a remote 3D camera unit to obtain the 2D image and the depth image. 一種三維活體識別方法,用於一人臉識別系統,該方法包括: 接收對物體經三維拍攝而得之一二維影像及對應於該二維影像之一深度影像; 針對該二維影像進行人臉偵測及人臉特徵點偵測以分別找出一人臉影像及該人臉影像中之複數個特徵點; 利用該等特徵點中至少部分之座標位置找出該人臉影像中之一判別區域; 基於該判別區域對應之該深度影像的部分及該判別區域對應之一三維參考面來決定該判別區域對應的一判別特徵值;以及 至少依據該判別區域對應的判別特徵值得到該人臉影像是否為活體之人臉的判斷結果。A three-dimensional living body recognition method used in a face recognition system, the method includes: Receiving a two-dimensional image obtained by three-dimensional shooting of the object and a depth image corresponding to the two-dimensional image; Perform face detection and face feature point detection on the two-dimensional image to find a face image and a plurality of feature points in the face image respectively; Use at least part of the coordinate positions of the feature points to find a discriminative area in the face image; Determine a distinguishing feature value corresponding to the distinguishing area based on the part of the depth image corresponding to the distinguishing area and a three-dimensional reference surface corresponding to the distinguishing area; and At least according to the discriminant feature value corresponding to the discriminant area, a judgment result of whether the face image is a human face is obtained. 如請求項8所述之三維活體識別方法,其中決定該判別區域對應的一判別特徵值之步驟包含: 基於由該判別區域對應之該深度影像的部分之深度資訊所對應之一三維判別面至該三維參考面的距離來決定該判別區域對應的判別特徵值。The three-dimensional living body recognition method according to claim 8, wherein the step of determining a discriminant feature value corresponding to the discriminant region includes: The discrimination feature value corresponding to the discrimination area is determined based on the distance from a three-dimensional discrimination surface corresponding to the depth information of the part of the depth image corresponding to the discrimination area to the three-dimensional reference surface. 如請求項9所述之三維活體識別方法,其中該三維參考面為最接近該三維判別面之一三維平面。The three-dimensional living body recognition method according to claim 9, wherein the three-dimensional reference surface is a three-dimensional plane closest to the three-dimensional discriminating surface. 如請求項9所述之三維活體識別方法,其中該三維參考面為一三維平面,該三維參考面係利用該判別區域對應之該深度影像的部分之深度資訊而決定。The three-dimensional living body recognition method according to claim 9, wherein the three-dimensional reference surface is a three-dimensional plane, and the three-dimensional reference surface is determined by using depth information of the portion of the depth image corresponding to the discrimination area. 如請求項8所述之三維活體識別方法,其中得到該人臉影像是否為活體之人臉的判斷結果之步驟包含: 若該判別區域對應的判別特徵值大於或等於一門檻值,則得出該人臉影像為活體之人臉的判斷結果; 若該判別區域對應的判別特徵值小於該門檻值,則得出該人臉影像並非活體之人臉的判斷結果。The three-dimensional living body recognition method according to claim 8, wherein the step of obtaining the judgment result of whether the face image is a living body face comprises: If the discriminant feature value corresponding to the discriminant area is greater than or equal to a threshold value, the result of the judgment that the face image is a living face is obtained; If the discriminant feature value corresponding to the discriminant area is less than the threshold value, then the result of judging that the face image is not a living face is obtained. 如請求項8所述之三維活體識別方法,其中該判別區域為一第一判別區域,該判別特徵值為該第一判別區域對應的一第一判別特徵值,該三維活體識別方法更包括: 利用該等特徵點中至少另一部分之座標位置找出該人臉影像中之一第二判別區域; 基於該第二判別區域對應之該人臉影像及該深度影像及該第二判別區域對應之一三維參考面來決定該判別區域對應的一第二判別特徵值; 其中得到該人臉影像是否為活體之人臉的判斷結果之步驟包含至少依據該第一判別區域對應的第一判別特徵值及該第二判別區域對應的第二判別特徵值來得到該人臉影像是否為活體之人臉的判斷結果。The three-dimensional living body recognition method according to claim 8, wherein the discrimination area is a first discrimination area, the discrimination feature value is a first discrimination feature value corresponding to the first discrimination area, and the three-dimensional living body recognition method further includes: Finding a second discriminant area in the face image by using the coordinate position of at least another part of the feature points; Determine a second discriminant feature value corresponding to the discriminant area based on the face image and the depth image corresponding to the second discriminant area and a three-dimensional reference surface corresponding to the second discriminant area; The step of obtaining the judgment result of whether the face image is a living face includes obtaining the face at least according to a first discriminant feature value corresponding to the first discriminant region and a second discriminant feature value corresponding to the second discriminant region The judgment result of whether the image is a living human face. 一種儲存媒體,其記錄用以讓一運算裝置執行如請求項8至13中任一項所述之三維活體識別方法的程式碼。A storage medium, which records a program code used to allow an arithmetic device to execute the three-dimensional living body identification method according to any one of claims 8 to 13.
TW108116903A 2019-05-16 2019-05-16 Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium TWI740143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108116903A TWI740143B (en) 2019-05-16 2019-05-16 Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108116903A TWI740143B (en) 2019-05-16 2019-05-16 Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium

Publications (2)

Publication Number Publication Date
TW202044112A true TW202044112A (en) 2020-12-01
TWI740143B TWI740143B (en) 2021-09-21

Family

ID=74668178

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108116903A TWI740143B (en) 2019-05-16 2019-05-16 Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium

Country Status (1)

Country Link
TW (1) TWI740143B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105023010B (en) * 2015-08-17 2018-11-06 中国科学院半导体研究所 A kind of human face in-vivo detection method and system
TW201727537A (en) * 2016-01-22 2017-08-01 鴻海精密工業股份有限公司 Face recognition system and face recognition method
CN108052912A (en) * 2017-12-20 2018-05-18 安徽信息工程学院 A kind of three-dimensional face image recognition methods based on square Fourier descriptor

Also Published As

Publication number Publication date
TWI740143B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
US11288504B2 (en) Iris liveness detection for mobile devices
US10956714B2 (en) Method and apparatus for detecting living body, electronic device, and storage medium
KR102036978B1 (en) Liveness detection method and device, and identity authentication method and device
WO2018157862A1 (en) Vehicle type recognition method and device, storage medium and electronic device
JP6629513B2 (en) Liveness inspection method and apparatus, and video processing method and apparatus
WO2020243967A1 (en) Face recognition method and apparatus, and electronic device
JP2020523665A (en) Biological detection method and device, electronic device, and storage medium
WO2019056310A1 (en) Systems and methods for facial liveness detection
EP3825905A1 (en) Method and apparatus with liveness test and/or biometric authentication, computer program therefore and medium storing the same
US11625954B2 (en) Method and apparatus with liveness testing
US11120535B2 (en) Image processing method, apparatus, terminal, and storage medium
CN104246793A (en) Three-dimensional face recognition for mobile devices
US20190354662A1 (en) Apparatus and method for recognizing an object in electronic device
CN111091075A (en) Face recognition method and device, electronic equipment and storage medium
WO2021204267A1 (en) Identity recognition
WO2021218568A1 (en) Image depth determination method, living body recognition method, circuit, device, and medium
WO2020258120A1 (en) Face recognition method and device, and electronic apparatus
JP2023155238A (en) Distributed processing system, communication system, image acquisition terminal, and distributed processing method
JP2016173813A (en) Information processing device, information processing system, authentication method, and program
CN110647782A (en) Three-dimensional face reconstruction and multi-pose face recognition method and device
CN113128428A (en) Depth map prediction-based in vivo detection method and related equipment
TWI740143B (en) Face recognition system for three-dimensional living body recognition, three-dimensional living body recognition method and storage medium
CN113537993B (en) Data detection method and device based on face payment
WO2024021857A1 (en) Image collection method and apparatus, computer device, and storage medium
US11335123B2 (en) Live facial recognition system and method