[go: up one dir, main page]

TWI786438B - System for identification based on comparing id photo and live photo and method thereof - Google Patents

System for identification based on comparing id photo and live photo and method thereof Download PDF

Info

Publication number
TWI786438B
TWI786438B TW109133534A TW109133534A TWI786438B TW I786438 B TWI786438 B TW I786438B TW 109133534 A TW109133534 A TW 109133534A TW 109133534 A TW109133534 A TW 109133534A TW I786438 B TWI786438 B TW I786438B
Authority
TW
Taiwan
Prior art keywords
image
certificate
target
module
recognition
Prior art date
Application number
TW109133534A
Other languages
Chinese (zh)
Other versions
TW202213168A (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 TW109133534A priority Critical patent/TWI786438B/en
Publication of TW202213168A publication Critical patent/TW202213168A/en
Application granted granted Critical
Publication of TWI786438B publication Critical patent/TWI786438B/en

Links

Images

Landscapes

  • Eye Examination Apparatus (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

A system for identification based on comparing an ID photo and a live photo and a method thereof are provided. By obtaining a ID photo from a certificate, capturing a face photo of a living target, determining a similarity between the ID photo and the face photo, perform live body recognition to generate a recognition result, and determining whether the living target passes identification of body and certificate based on the similarity, the system and the method can determining whether certificate provider is certificate holder according to photo obtained from certificate, and can achieve the effect of identifying identify of certificate provider effectively.

Description

比對證件影像與多態樣臉部影像辨識身分之系統及方法System and method for identifying identity by comparing certificate images with multi-face images

一種身分辨識系統及其方法,特別係指一種比對證件影像與多態樣臉部影像辨識身分之系統及方法。An identity identification system and method thereof, in particular a system and method for identifying identity by comparing certificate images with multi-face images.

隨著網路及相關技術的進步,許多過去需要證件提供者親自辦理的服務也可以透過網路完成。但部分的服務,例如開戶與投保,仍然因為透過網路進行身分確認之方式不夠嚴謹而受到國內相關法規的限制,證件提供者並無法線上完成開戶與投保。With the advancement of the Internet and related technologies, many services that used to be handled by document providers in person can also be completed through the Internet. However, some services, such as account opening and insurance application, are still restricted by relevant domestic laws and regulations due to the insufficient rigor of identity verification through the Internet, and the certificate provider cannot complete account opening and insurance application online.

以開戶而言,雖然目前也可以透過網路銀行或行動銀行在線上開設數位帳戶,但相關法規規定依身分確認之方式不同,所開設的數位帳戶的等級亦有不同,也就是等級較低之數位帳戶與經過較完整身分確認而開設的數位帳戶相比有諸多限制,例如,部分交易無法執行或交易時可動用的金額較低等。若要開設具有較完整功能的數位帳戶,仍然與開設一般帳戶相同,需要臨櫃或透過視訊,由銀行的服務人員對開戶者進行身分確認,通常也就是確認開戶者所提供的證件是否確實為開戶者所持有。As far as opening an account is concerned, although digital accounts can also be opened online through Internet banking or mobile banking, the relevant laws and regulations stipulate that the level of the digital account opened is also different according to the method of identity verification, that is, the lower level Compared with digital accounts opened with more complete identity confirmation, digital accounts have many restrictions, for example, some transactions cannot be executed or the amount available for transactions is relatively low. If you want to open a digital account with more complete functions, it is still the same as opening a general account. You need to go to the counter or through video, and the bank's service personnel will confirm the identity of the account holder. Usually, it is to confirm whether the certificate provided by the account holder is indeed owned by the account holder.

另外,在投保的過程中也有的相似的情況,也就是相關法規規定投保人需要與業務員面對面,並由業務員對投保人說明保險內容且依據投保人提供的證件對投保人進行身分確認後,等待保險公司照會才能完成投保。In addition, there are similar situations in the process of applying for insurance, that is, the relevant laws and regulations stipulate that the applicant needs to meet the salesperson face to face, and the salesperson will explain the insurance content to the applicant and confirm the identity of the applicant based on the certificate provided by the applicant. , Wait for the insurance company to complete the insurance.

然而,由於印刷於證件上的照片通常是證件持有人多年前所拍攝,證件持有人與印刷於證件上的照片可能有一定程度的差異,導致保險業務員或銀行服務人員無法確認投保人/開戶者是否為證件持有者本人。保險業務員或銀行服務人員可能在某些情況,例如需要業績時,放寬確認的結果,如此,可能造成非本人投保或開戶的情況。However, since the photo printed on the ID card is usually taken by the ID holder many years ago, there may be a certain degree of discrepancy between the ID holder and the photo printed on the ID card, making it impossible for insurance agents or bank service personnel to identify the policyholder /Whether the account holder is the certificate holder himself. Insurance salespersons or bank service personnel may relax the results of confirmation in some cases, such as when performance is required. In this way, it may result in the situation that someone who does not apply for insurance or opens an account.

綜上所述,可知先前技術中長期以來一直存在可能無法由證件上之照片判斷證件提供者是否為證件持有人的問題,因此有必要提出改進的技術手段,來解決此一問題。To sum up, it can be seen that there has been a problem in the prior art for a long time that it may not be possible to judge whether the certificate provider is the certificate holder from the photo on the certificate. Therefore, it is necessary to propose improved technical means to solve this problem.

有鑒於先前技術存在無法由證件上之照片判斷證件提供者是否為證件持有人的問題,本發明遂揭露一種比對證件影像與多態樣臉部影像辨識身分之系統及方法,其中:In view of the problem in the prior art that it is impossible to determine whether the provider of the certificate is the holder of the certificate from the photo on the certificate, the present invention discloses a system and method for identifying identity by comparing the certificate image and the multi-face image, wherein:

本發明所揭露之比對證件影像與多態樣臉部影像辨識身分之系統,至少包含:影像擷取模組,用以擷取臉部影像;影像取得模組,用以由目標證件取得證件影像;影像比對模組,用以比對證件影像及臉部影像並產生相似度;活體辨識模組,用以產生多個指定動作,及用以判斷辨識目標是否依序完成指定動作並產生相對應之辨識結果;結果判斷模組,用以依據相似度及辨識結果判斷辨識目標是否通過人證辨識。The identity recognition system for comparing certificate images and multi-modal facial images disclosed in the present invention at least includes: an image capture module for capturing facial images; an image acquisition module for obtaining certificates from target certificates Image; image comparison module, used to compare certificate images and facial images and generate similarity; live body recognition module, used to generate multiple specified actions, and used to determine whether the recognition target completes the specified actions in sequence and generates The corresponding identification result; the result judgment module, which is used to judge whether the identification target has passed the identification of the witness according to the similarity and the identification result.

本發明所揭露之比對證件影像與多態樣臉部影像辨識身分之方法,其步驟至少包括:由目標證件取得證件影像;擷取臉部影像;比對證件影像及臉部影像並產生相似度;判斷該相似度大於或等於門檻值時,產生多個指定動作,並判斷該辨識目標是否依序完成該些指定動作以產生相對應之一辨識結果;依據辨識結果判斷辨識目標是否通過人證辨識。The method disclosed in the present invention for identifying an identity by comparing a certificate image with a multi-face image, the steps at least include: obtaining a certificate image from a target certificate; capturing a facial image; comparing the certificate image and a facial image and generating a similar degree; when it is judged that the similarity is greater than or equal to the threshold value, multiple specified actions are generated, and it is judged whether the recognition target completes the specified actions in order to generate a corresponding recognition result; according to the recognition result, it is judged whether the recognition target has passed the human card identification.

本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過由目標證件上取得證件影像,並擷取辨識目標之臉部影像後,比對證件影像及臉部影像的相似度,進行活體辨識以產生辨識結果,及依據相似度及辨識結果判斷辨識目標是否通過人證辨識,藉以解決先前技術所存在的問題,並可以達成依據證件提供者所提供之證件進行身分識別的技術功效。The system and method disclosed in the present invention are as above. The difference between the present invention and the prior art is that the present invention obtains the certificate image from the target certificate and captures the face image of the target for recognition, then compares the similarity between the certificate image and the face image. Degree, live body recognition to generate recognition results, and judge whether the recognition target has passed the identification of witnesses according to the similarity and recognition results, so as to solve the problems existing in the previous technology, and can achieve the identity recognition based on the certificate provided by the certificate provider Technical efficacy.

以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The features and implementation methods of the present invention will be described in detail below in conjunction with the drawings and embodiments, the content is enough to enable anyone familiar with the relevant art to easily and fully understand the technical means used to solve the technical problems of the present invention and implement them accordingly, thereby realizing The effect that the present invention can achieve.

本發明可以透過比對身分證件上的照片(在本發明中亦稱為證件影像)與即時對身分證件之提供者拍攝之包含臉部的照片(在本發明中亦稱為臉部影像)來判斷身分證件之提供者是否為身分證件的持有人。The present invention can compare the photo on the identity certificate (also called the certificate image in the present invention) with the photo containing the face (also called the facial image in the present invention) taken by the provider of the identity certificate in real time. Determine whether the provider of the identity certificate is the holder of the identity certificate.

以下先以「第1圖」本發明所提之比對證件影像與多態樣臉部影像辨識身分之系統架構圖來說明本發明的系統運作。如「第1圖」所示,本發明之系統應用在裝置100中,含有處理模組101、影像擷取模組110,也可能包含可附加的晶片讀取模組130、顯示模組140、輸入模組180。其中,裝置100可以是計算設備。In the following, the system structure of the present invention will be described by using the "Fig. 1" system structure diagram of the identity recognition system for comparing certificate images and polymorphic facial images proposed by the present invention. As shown in "Fig. 1", the system of the present invention is applied in a device 100, which includes a processing module 101, an image capture module 110, and may also include an additional chip reading module 130, a display module 140, Enter module 180 . Wherein, the apparatus 100 may be a computing device.

本發明所提之計算設備包含但不限於一個或多個處理模組、一條或多條記憶體模組、以及連接不同硬體元件(包括記憶體模組和處理模組)的匯流排等硬體元件。透過所包含之多個硬體元件,計算設備可以載入並執行作業系統,使作業系統在計算設備上運行,也可以執行軟體或程式。另外,計算設備也包含一個外殼,上述之各個硬體元件設置於外殼內。The computing device mentioned in the present invention includes but is not limited to one or more processing modules, one or more memory modules, and hardware such as buses connecting different hardware components (including memory modules and processing modules). body element. Through the included multiple hardware components, the computing device can load and execute the operating system, so that the operating system can run on the computing device, and can also execute software or programs. In addition, the computing device also includes a casing, and the above-mentioned hardware components are arranged in the casing.

本發明所提之計算設備的匯流排可以包含一種或多個類型,例如包含資料匯流排(data bus)、位址匯流排(address bus)、控制匯流排(control bus)、擴充功能匯流排(expansion bus)、及/或局域匯流排(local bus)等類型的匯流排。計算設備的匯流排包括但不限於的工業標準架構(Industry Standard Architecture, ISA)匯流排、周邊元件互連(Peripheral Component Interconnect, PCI)匯流排、視頻電子標準協會(Video Electronics Standards Association, VESA)局域匯流排、以及串列的通用序列匯流排(Universal Serial Bus, USB)、快速周邊元件互連(PCI Express, PCI-E/PCIe)匯流排等。The bus of the computing device mentioned in the present invention can include one or more types, such as data bus (data bus), address bus (address bus), control bus (control bus), expansion function bus ( expansion bus), and/or local bus (local bus) and other types of bus. Buses for computing devices include, but are not limited to, Industry Standard Architecture (ISA) buses, Peripheral Component Interconnect (PCI) buses, Video Electronics Standards Association (VESA) boards Domain bus, and serial universal serial bus (Universal Serial Bus, USB), fast peripheral component interconnection (PCI Express, PCI-E/PCIe) bus, etc.

本發明所提之計算設備的處理模組與匯流排耦接。處理模組包含暫存器(Register)組或暫存器空間,暫存器組或暫存器空間可以完全的被設置在處理模組之處理晶片上,或全部或部分被設置在處理晶片外並經由專用電氣連接及/或經由匯流排耦接至處理晶片。處理模組可為中央處理器、微處理器或任何合適的處理元件。若計算設備為多處理器設備,也就是計算設備包含多個處理模組,則計算設備所包含的處理模組都相同或類似,且透過匯流排耦接與通訊。處理模組可以解釋一個計算機指令或一連串的多個計算機指令以進行特定的運算或操作,例如,數學運算、邏輯運算、資料比對、複製/移動資料等,藉以驅動計算設備中的其他硬體元件或運行作業系統或執行各種程式及/或模組。The processing module of the computing device mentioned in the present invention is coupled to the bus bar. The processing module includes a register group or register space, which can be completely set on the processing chip of the processing module, or all or part of it is set outside the processing chip and coupled to the handle wafer via dedicated electrical connections and/or via bus bars. The processing module can be a central processing unit, a microprocessor or any suitable processing element. If the computing device is a multi-processor device, that is, the computing device includes multiple processing modules, the processing modules included in the computing device are all the same or similar, and are coupled and communicated through a bus. A processing module can interpret a computer instruction or a series of multiple computer instructions to perform specific calculations or operations, such as mathematical operations, logical operations, data comparison, copying/moving data, etc., to drive other hardware in the computing device components or run the operating system or execute various programs and/or modules.

計算設備中通常也包含一個或多個晶片組(Chipset)。計算設備的處理模組可以與晶片組耦接或透過匯流排與晶片組電性連接。晶片組是由一個或多個積體電路(Integrated Circuit, IC)組成,包含記憶體控制器以及周邊輸出入(I/O)控制器等,也就是說,記憶體控制器以及周邊輸出入控制器可以包含在一個積體電路內,也可以使用兩個或更多的積體電路實現。晶片組通常提供了輸出入和記憶體管理功能、以及提供多個通用及/或專用暫存器、計時器等,其中,上述之通用及/或專用暫存器與計時器可以讓耦接或電性連接至晶片組的一個或多個處理模組存取或使用。Computing devices usually also contain one or more chipsets (Chipsets). The processing module of the computing device can be coupled to the chip set or electrically connected to the chip set through a bus bar. The chipset is composed of one or more integrated circuits (Integrated Circuit, IC), including memory controllers and peripheral input/output (I/O) controllers, etc., that is, memory controllers and peripheral I/O controllers A circuit breaker can be contained in one integrated circuit or implemented using two or more integrated circuits. Chipsets usually provide input/output and memory management functions, and provide multiple general and/or special registers, timers, etc., wherein the above general and/or special registers and timers can be coupled or Accessed or used by one or more processing modules electrically connected to the chipset.

計算設備的處理模組也可以透過記憶體控制器存取安裝於計算設備上的記憶體模組和大容量儲存區中的資料。上述之記憶體模組包含任何類型的揮發性記憶體(volatile memory)及/或非揮發性(non-volatile memory, NVRAM)記憶體,例如靜態隨機存取記憶體(Static Random Access Memory, SRAM)、動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)、唯讀記憶體(Read-Only Memory, ROM)、快閃記憶體(Flash memory)等。上述之大容量儲存區可以包含任何類型的儲存裝置或儲存媒體,例如,硬碟機、光碟(optical disc)、隨身碟(flash drive)、記憶卡(memory card)、固態硬碟(Solid State Disk, SSD)、或任何其他儲存裝置等。也就是說,記憶體控制器可以存取靜態隨機存取記憶體、動態隨機存取記憶體、快閃記憶體、硬碟機、固態硬碟中的資料。The processing module of the computing device can also access the data in the memory module and the mass storage area installed on the computing device through the memory controller. The above-mentioned memory modules include any type of volatile memory (volatile memory) and/or non-volatile (non-volatile memory, NVRAM) memory, such as static random access memory (Static Random Access Memory, SRAM) , Dynamic Random Access Memory (Dynamic Random Access Memory, DRAM), Read-Only Memory (Read-Only Memory, ROM), Flash memory (Flash memory), etc. The above-mentioned large-capacity storage area can include any type of storage device or storage medium, such as hard disk drive, optical disc (optical disc), flash drive (flash drive), memory card (memory card), solid state hard disk (Solid State Disk) , SSD), or any other storage device, etc. That is to say, the memory controller can access data in SRAM, DRAM, flash memory, hard disk drive, and solid-state hard disk.

計算設備的處理模組也可以透過周邊輸出入控制器經由周邊輸出入匯流排與周邊輸出裝置、周邊輸入裝置、通訊介面、及GPS接收器等周邊裝置或介面連接並通訊。周邊輸入裝置可以是任何類型的輸入裝置,例如鍵盤、滑鼠、軌跡球、觸控板、搖桿等,周邊輸出裝置可以是任何類型的輸出裝置,例如顯示器、印表機等,周邊輸入裝置與周邊輸出裝置也可以是同一裝置,例如觸控螢幕等。通訊介面可以包含無線通訊介面及/或有線通訊介面,無線通訊介面可以包含支援無線區域網路(如Wi-Fi、Zigbee等)、藍牙、紅外線、近場通訊(Near-field communication, NFC)、3G/4G/5G等行動通訊網路(蜂巢式網路)或其他無線資料傳輸協定的介面,有線通訊介面可為乙太網路裝置、DSL數據機、纜線(Cable)數據機、非同步傳輸模式(Asynchronous Transfer Mode, ATM)裝置、或光纖通訊介面及/或元件等。處理模組可以週期性地輪詢(polling)各種周邊裝置與介面,使得計算設備能夠透過各種周邊裝置與介面進行資料的輸入與輸出,也能夠與具有上面描述之硬體元件的另一個計算設備進行通訊。The processing module of the computing device can also be connected and communicated with peripheral devices or interfaces such as peripheral output devices, peripheral input devices, communication interfaces, and GPS receivers through the peripheral I/O controller via the peripheral I/O bus. The peripheral input device can be any type of input device, such as keyboard, mouse, trackball, touch pad, joystick, etc., and the peripheral output device can be any type of output device, such as display, printer, etc., peripheral input device It can also be the same device as the peripheral output device, such as a touch screen. The communication interface may include a wireless communication interface and/or a wired communication interface, and the wireless communication interface may include support for a wireless local area network (such as Wi-Fi, Zigbee, etc.), Bluetooth, infrared, near-field communication (Near-field communication, NFC), 3G/4G/5G and other mobile communication network (cellular network) or other wireless data transmission protocol interface, wired communication interface can be Ethernet device, DSL modem, cable (Cable) modem, asynchronous transmission Mode (Asynchronous Transfer Mode, ATM) device, or optical fiber communication interface and/or components, etc. The processing module can periodically poll (polling) various peripheral devices and interfaces, so that the computing device can input and output data through various peripheral devices and interfaces, and can also communicate with another computing device with the hardware components described above to communicate.

在本發明中,處理模組101可以透過匯流排載入執行儲存於記憶體模組(圖中未示)中的一個或一組計算機指令,並可以在執行計算機指令後產生影像取得模組120、影像比對模組150、活體辨識模組160、結果判斷模組170。In the present invention, the processing module 101 can load and execute one or a set of computer instructions stored in the memory module (not shown in the figure) through the bus, and can generate the image acquisition module 120 after executing the computer instructions. , an image comparison module 150 , a living body recognition module 160 , and a result judging module 170 .

影像擷取模組110可以包含鏡頭、感光元件等元件(圖中均未示)。其中,鏡頭可以讓光線通過並讓通過的光線照射於感光元件上,感光元件可以將照射在感光元件上的光線轉換為影像訊號。The image capture module 110 may include elements such as a lens and a photosensitive element (not shown in the figure). Wherein, the lens can let the light pass through and let the passed light irradiate on the photosensitive element, and the photosensitive element can convert the light irradiated on the photosensitive element into an image signal.

影像擷取模組110負責擷取臉部影像。影像擷取模組110所擷取的臉部影像包含完整的人臉正面。其中,影像擷取模組110可以在被影像比對模組150驅動或接收到影像比對模組150所傳送的協同訊息時,持續將感光元件輸出的影像訊號做為臉部影像。The image capturing module 110 is responsible for capturing facial images. The facial image captured by the image capture module 110 includes a complete front face. Wherein, when the image capture module 110 is driven by the image comparison module 150 or receives a coordination message sent by the image comparison module 150, it can continuously use the image signal output by the photosensitive element as the face image.

影像擷取模組110也可以擷取資料影像。一般而言,影像擷取模組110所擷取的資料影像包含完整的字符串或足以辨識所表示之內容的條碼,但本發明並不以此為限。影像擷取模組110可以在被影像取得模組120驅動或接收到影像取得模組120的協同訊息時,持續將感光元件輸出的影像訊號做為資料影像。The image capture module 110 can also capture data images. Generally speaking, the data image captured by the image capture module 110 includes a complete character string or a barcode sufficient to identify the represented content, but the present invention is not limited thereto. When the image capture module 110 is driven by the image capture module 120 or receives a cooperative message from the image capture module 120 , it can continuously use the image signal output by the photosensitive element as a data image.

影像擷取模組110也可以擷取指示影像。影像擷取模組110所擷取的指示影像包含做出指定動作的人臉。其中,影像擷取模組110可以在被活體辨識模組160驅動或接收到活體辨識模組160所傳送的協同訊息時,持續將感光元件輸出的影像訊號做為指示影像。The image capture module 110 can also capture the instruction image. The instruction image captured by the image capture module 110 includes the face of the person performing the specified action. Wherein, when the image capture module 110 is driven by the biometric identification module 160 or receives a cooperative message sent by the biometric identification module 160, it can continuously use the image signal output by the photosensitive element as the instruction image.

本發明所提之指定動作包含但不限於朝特定方向(如左右)轉動一定角度、點頭、眨眼、微笑等。The specified actions mentioned in the present invention include but are not limited to turning a certain angle in a specific direction (such as left and right), nodding, blinking, smiling, and the like.

影像取得模組120負責由目標證件取得證件影像。舉例來說,影像取得模組120可以透過影像擷取模組110擷取印刷於目標證件上之證件影像,也可以透過晶片讀取模組130讀取設置於目標證件中之目標晶片所儲存的證件影像。其中,目標證件為印刷有證件持有人照片且可以辨識證件持有人身分的證件,例如身分證、護照等。The image obtaining module 120 is responsible for obtaining the certificate image from the target certificate. For example, the image acquisition module 120 can capture the certificate image printed on the target certificate through the image capture module 110, and can also read the image stored in the target chip set in the target certificate through the chip reading module 130. Document image. Wherein, the target certificate is a certificate printed with a photo of the certificate holder and capable of identifying the identity of the certificate holder, such as an ID card, a passport, and the like.

影像取得模組120可以透過顯示模組140及輸入模組180設定影像擷取模組110所擷取之資料影像中之目標證件或證件影像的所在範圍,例如,影像取得模組120可以透過顯示模組140在顯示畫面上顯示一個矩形的指示框,並可以提供使用者透過輸入模組180旋轉指示框及移動被顯示之指示框的四邊,使得指示框可以框住資料影像中的目標證件或證件影像,如此,影像取得模組120可以將指示框所框住的區域做為資料影像中之目標證件或證件影像的所在範圍;影像取得模組120也可以透過顯示模組140提示目標證件或證件影像的放置區域,例如,影像取得模組120可以產生一個表示放置區域的指示框,並透過顯示模組140顯示所產生的指示框及提示使用者調整裝置100或目標證件的位置,使得目標證件或證件影像被放置在指示框中,進而讓目標證件或證件影像在影像擷取模組110所擷取到之資料影像中的指定位置。The image acquisition module 120 can set the range of the target certificate or certificate image in the data image captured by the image capture module 110 through the display module 140 and the input module 180. For example, the image acquisition module 120 can display The module 140 displays a rectangular indicator frame on the display screen, and can provide the user with the input module 180 to rotate the indicator frame and move the four sides of the displayed indicator frame, so that the indicator frame can frame the target certificate or document in the data image. The image of the certificate, so that the image acquisition module 120 can use the area framed by the indicator frame as the range of the target certificate or the certificate image in the data image; the image acquisition module 120 can also prompt the target certificate through the display module 140 or The placement area of the certificate image, for example, the image acquisition module 120 can generate an instruction frame representing the placement area, and display the generated instruction frame through the display module 140 and prompt the user to adjust the position of the device 100 or the target certificate so that the target The certificate or certificate image is placed in the instruction frame, so that the target certificate or certificate image is at a specified position in the data image captured by the image capture module 110 .

影像取得模組120也可以對影像擷取模組110所擷取到之資料影像中的目標證件進行設定或偵測,藉以取得目標證件的證件類型。例如,影像取得模組120可以透過輸入模組180提供使用者設定目標證件的證件類型;影像取得模組120也可以對資料影像中之目標證件的所在範圍進行影像處理,藉以取得目標證件的影像特徵,並可以依據所取得之目標證件的影像特徵判斷目標證件的證件類型。其中,證件類型可以表示目標證件為身分證或護照等。The image acquisition module 120 can also set or detect the target certificate in the data image captured by the image capture module 110, so as to obtain the certificate type of the target certificate. For example, the image acquisition module 120 can provide the certificate type of the target certificate set by the user through the input module 180; the image acquisition module 120 can also perform image processing on the range of the target certificate in the data image, so as to obtain the image of the target certificate features, and can judge the type of the target certificate based on the image features of the obtained target certificate. Wherein, the certificate type may indicate that the target certificate is an ID card or a passport.

影像取得模組120也可以依據所取得之證件類型決定資料影像中之證件影像的擷取範圍。影像取得模組120可以預先儲存各種類型之證件上被印刷之證件影像的位置訊息,並可以依據位置訊息決定擷取範圍。位置訊息可以表示證件影像在資料影像中的位置,例如,證件影像之左上角及右下角在資料影像中的座標,或是證件影像之四個角中的任何一角在資料影像中的座標及證件影像的長與寬,但本發明並不以此為限。The image obtaining module 120 can also determine the capture range of the certificate image in the data image according to the type of certificate obtained. The image acquisition module 120 can pre-store the position information of the printed document images on various types of documents, and can determine the capture range according to the position information. The location information can indicate the position of the document image in the data image, for example, the coordinates of the upper left corner and the lower right corner of the document image in the data image, or the coordinates of any of the four corners of the document image in the data image and the document image The length and width of the image, but the present invention is not limited thereto.

晶片讀取模組130可以在接收到影像取得模組120所產生的協同訊息時,連接目標晶片(圖中未示),並可以由所連接的目標晶片讀出證件影像。一般而言,目標晶片通常設置目標證件上。The chip reading module 130 can connect to a target chip (not shown in the figure) when receiving the cooperation message generated by the image capturing module 120 , and can read the certificate image from the connected target chip. In general, a target wafer is typically disposed on a target document.

晶片讀取模組130可以透過近場通訊(Near-Field Communication, NFC)連接目標晶片,藉以與目標晶片進行通訊,但本發明並不以此為限,例如,晶片讀取模組130也可以透過連接線與目標晶片連接。The chip reading module 130 can connect to the target chip through Near-Field Communication (NFC), so as to communicate with the target chip, but the present invention is not limited thereto. For example, the chip reading module 130 can also be Connect to the target chip through the connecting wire.

晶片讀取模組130也可以讀取儲存於目標晶片中的證件影像。一般而言,影像取得模組120可以將證件影像的讀取指令傳送給目標晶片,目標晶片可以依據所接收到的讀取指令讀取證件影像,並可以將所讀出的證件影像傳回晶片讀取模組130。The wafer reading module 130 can also read the document image stored in the target wafer. Generally speaking, the image acquisition module 120 can transmit the reading instruction of the certificate image to the target chip, and the target chip can read the certificate image according to the received reading instruction, and can transmit the read certificate image back to the chip. Read module 130 .

顯示模組140可以在裝置100的顯示畫面中顯示影像擷取模組110所擷取到的資料影像、臉部影像、及指示影像。顯示模組140也可以在裝置100的顯示畫面中顯示影像取得模組120所產生的指示框與文字等提示訊息。顯示模組140也可以在裝置100的顯示畫面中顯示結果判斷模組170所產生的判斷結果。The display module 140 can display the data image, facial image, and instruction image captured by the image capture module 110 on the display screen of the device 100 . The display module 140 can also display prompt messages such as instruction boxes and text generated by the image acquisition module 120 on the display screen of the device 100 . The display module 140 can also display the judgment result generated by the result judgment module 170 on the display screen of the device 100 .

影像比對模組150負責比對影像取得模組120所取得的證件影像及影像擷取模組110所擷取到的臉部影像,並產生證件影像中之人臉及臉部影像中之人臉的相似度。更詳細的,影像比對模組150可以使用習知之人臉偵測技術判斷影像擷取模組110所擷取到之臉部影像中是否包含完整的人臉正面,並可以在臉部影像包含完整的人臉正面時,對臉部影像及證件影像中之人臉進行分析以產生證件影像及臉部影像中之人臉的特徵,並可以比對證件影像及臉部影像中之人臉的特徵以判斷證件影像及臉部影像中之人臉的相似度,但影像比對模組150產生證件影像及臉部影像之相似度的方式並不以上述為限。The image comparison module 150 is responsible for comparing the certificate image obtained by the image acquisition module 120 and the facial image captured by the image capture module 110, and generates the face in the certificate image and the person in the facial image face similarity. In more detail, the image comparison module 150 can use the known face detection technology to determine whether the facial image captured by the image capture module 110 contains a complete frontal face, and can include a face image in the facial image. When the face is complete, the facial image and the face in the ID image are analyzed to generate the features of the ID image and the face in the facial image, and the facial features in the ID image and facial image can be compared. The feature is used to judge the similarity between the ID image and the face in the facial image, but the way the image comparison module 150 generates the similarity between the ID image and the facial image is not limited to the above.

活體辨識模組160負責產生多個指定動作,並依據所產生之指定動作進行活體辨識。其中,活體辨識模組160所產生之指定動作的數量可以識預定值或透過輸入模組180設定,本發明沒有特別的限制。在部分的實施例中,活體辨識模組160可以在結果判斷模組170判斷影像比對模組150判斷所產生之相似度高於(或等於)門檻值時才進行活體辨識,但本發明並不以此為限。The living body recognition module 160 is responsible for generating multiple specified actions, and performing living body identification according to the generated specified actions. Wherein, the number of specified actions generated by the living body recognition module 160 can be recognized as a predetermined value or set through the input module 180, and the present invention is not particularly limited. In some embodiments, the living body recognition module 160 can only perform the living body recognition when the result judging module 170 judges that the similarity generated by the image comparison module 150 is higher than (or equal to) the threshold value, but the present invention does not This is not the limit.

活體辨識模組160所進行之活體辨識的過程例如:先隨機產生有先後次序的多個指定動作,並透過顯示模組140提示辨識目標在影像擷取模組110前方完成所產生的第一個指定動作,同時持續對影像擷取模組110所擷取到之包含完成第一個指定動作之指示影像中的人臉進行分析以取得指示影像中之人臉的特徵,及依據影像比對模組150所取得之臉部影像中之人臉的特徵及所取得之指示影像中之人臉的特徵判斷指示影像中之人臉是否完成指定動作,若是,則透過顯示模組140提示辨識目標完成所產生的第二個指定動作並重複上述比對過程,直到辨識目標正確完成所有的被產生的指定動作,藉以進行活體辨識。但本發明所提之活體辨識的方式並不以上述為限。其中,活體辨識模組160可以由預先建立的動作資料庫中隨機選擇多個指定動作。The process of the living body identification performed by the living body identification module 160 is, for example: First randomly generate a plurality of specified actions in sequence, and prompt the identification target through the display module 140 to complete the generated first one in front of the image capture module 110 Specify the action, and continue to analyze the face in the instruction image captured by the image capture module 110 that includes the completion of the first specified action to obtain the features of the face in the instruction image, and according to the image comparison model The feature of the face in the facial image obtained by group 150 and the feature of the face in the instruction image are judged whether the face in the instruction image has completed the specified action, and if so, the display module 140 prompts that the recognition target is completed The second specified action is generated and the above comparison process is repeated until the identification target completes all the generated specified actions correctly, so as to perform living body identification. However, the living body recognition method mentioned in the present invention is not limited to the above. Wherein, the biometric identification module 160 may randomly select a plurality of specified actions from a pre-established action database.

活體辨識模組160也負責在進行之活體辨識後產生相對應的辨識結果。活動辨識模組160可以在所產生之指定動作都正確完成或連續正確完成指定動作之次數達到參數值時,判斷活體辨識通過並產生表示通過活體辨識的辨識結果;活動辨識模組160也可以在所產生之任何一個指定動作沒有正確完成或沒有正確完成之指定動作的次數達到預定值時,判斷活體辨識未通過並產生表示未通過活體辨識的辨識結果。The living body recognition module 160 is also responsible for generating corresponding recognition results after the living body recognition is performed. The activity recognition module 160 can judge that the living body recognition is passed and generate a recognition result indicating that the living body recognition is passed when the generated specified actions are all completed correctly or the number of times of continuously and correctly completing the specified actions reaches the parameter value; When any one of the specified actions generated is not completed correctly or the number of specified actions not completed correctly reaches a predetermined value, it is judged that the living body recognition has failed and an identification result indicating that the living body recognition has not passed is generated.

活體辨識模組160也可以在判斷活體辨識未通過時,累積未通過次數,並重新進行活體辨識。活體辨識模組160可以在累積之未通過次數達到預定值時,產生表示未通過活體辨識的辨識結果。The living body recognition module 160 may also accumulate the number of failed passes when determining that the living body recognition fails, and re-perform the living body recognition. The biometric identification module 160 may generate an identification result indicating that the biometric identification has failed when the accumulated failed times reach a predetermined value.

結果判斷模組170負責依據影像比對模組150所產生的相似度及活體辨識模組160所產生之辨識結果判斷辨識目標是否通過人證辨識。更詳細的,在部分的實施例中,結果判斷模組170可以在相似度高於(或等於)門檻值,且辨識結果表示通過活體辨識時,產生表示辨識目標通過人證辨識的判斷結果;反之,結果判斷模組170可以在相似度低於門檻值,或辨識結果表示沒有通過活體辨識時,產生表示辨識目標沒有通過人證辨識的判斷結果。而在另一部摁的實施例中,結果判斷模組170可以先判斷相似度是否高於(或等於)門檻值,並將判斷結果提供給活體辨識模組160,並可以在活體辨識模組160產生辨識結果後,再依據活體辨識模組160所產生之辨識結果判斷辨識目標是否通過人證辨識。The result judging module 170 is in charge of judging whether the recognition target has passed the identification of the human certificate according to the similarity generated by the image comparison module 150 and the recognition result generated by the living body recognition module 160 . In more detail, in some embodiments, the result judging module 170 can generate a judgment result indicating that the recognition target has passed the identification of a person when the similarity is higher than (or equal to) the threshold value and the recognition result indicates that the recognition target has passed the identification of a living body; On the contrary, the result judging module 170 can generate a judging result indicating that the recognition target has not passed the identification of the human body when the similarity is lower than the threshold value, or the recognition result indicates that the recognition target has not passed the identification of the living body. In another preferred embodiment, the result judging module 170 can first judge whether the similarity is higher than (or equal to) the threshold value, and provide the judgment result to the living body recognition module 160, and can be used in the living body recognition module After the identification result is generated by 160, it is judged whether the identification target has passed the identity identification according to the identification result generated by the living body identification module 160.

輸入模組180可以設定目標證件或證件影像在影像擷取模組110所擷取之資料影像中的所在範圍。更詳細的,輸入模組180可以提供使用者在顯示畫面上旋轉被顯示模組140所顯示之指示框及/或移動被顯示模組140所顯示之指示框的四邊,使得使用者在顯示畫面上設定目標證件或證件影像在資料影像中的所在範圍;輸入模組180也可以設定目標證件的證件類型,例如,提供下拉式選單或核取方塊等方式提供使用者設定證件類型。The input module 180 can set the range of the target certificate or the certificate image in the data image captured by the image capture module 110 . In more detail, the input module 180 may allow the user to rotate the indicator frame displayed by the display module 140 and/or move the four sides of the indicator frame displayed by the display module 140 on the display screen, so that the user can Set the target certificate or the range of the certificate image in the data image; the input module 180 can also set the certificate type of the target certificate, for example, provide a drop-down menu or a check box to provide the user with a set certificate type.

輸入模組180也可以設定結果判斷模組170所使用的門檻值。要說明的是,門檻值可以依據本發明的使用需求進行對應的設定,例如,當本發明應用在門禁系統中時,可以透過輸入模組180設定較低的門檻值,使得門禁系統較不容易拒絕使用者通過;而當本發明應用在交易系統中時,可以透過輸入模組180將門檻值設定的較高,藉以避免非使用者本人成功進行交易。The input module 180 can also set the threshold used by the result judging module 170 . It should be noted that the threshold value can be set according to the requirements of the present invention. For example, when the present invention is applied in the access control system, a lower threshold value can be set through the input module 180, making the access control system less difficult. Deny the user's access; and when the present invention is applied in the transaction system, the threshold value can be set higher through the input module 180, so as to prevent non-users from successfully conducting transactions.

輸入模組180也可以設定活體辨識模組160進行活體辨識而產生指定動作的數量,也可以設定活體辨識模組160判斷通過活體辨識所需要連續正確完成指定動作之次數(即活體辨識模組160進行判斷所使用的參數值)。The input module 180 can also set the number of specified actions generated by the biometric identification module 160 for biometric identification, and can also set the number of times the biometric identification module 160 needs to continuously and correctly complete the specified actions through the biometric identification (i.e., the biometric identification module 160 The parameter value used for judgment).

接著以一個實施例來解說本發明的運作系統與方法,並請參照「第2A圖」本發明所提之比對證件影像與多態樣臉部影像辨識身分之方法流程圖。Next, an embodiment is used to explain the operating system and method of the present invention, and please refer to "FIG. 2A" for the flow chart of the method for identifying identity by comparing document images and polymorphic facial images proposed by the present invention.

首先,影像取得模組120可以由證件提供者所準備的目標證件取得證件影像(步驟210)。在本實施例中,假設目標證件為身分證,影像取得模組120可以透過晶片讀取模組130由設置於目標證件上的目標晶片中讀出證件影像,或可以如「第2B圖」之流程所示,透過影像擷取模組110擷取包含證件提供者所持有之身分證的證件影像,也就是說,影像取得模組120可以透過輸入模組180提供使用者設定目標證件或證件影像在顯示畫面中的所在範圍,也可以透過顯示模組140提示使用者將目標證件或證件影像放置在顯示畫面的放置區域中(步驟211),使得影像擷取模組110可以擷取包含目標證件的資料影像。之後,影像取得模組120可以透過輸入模組180提供使用者設定目標證件的證件類型,或對資料影像中之目標證件進行影像處理以產生目標證件的影像特徵並依據影像特徵偵測目標證件的證件類型,並可以依據所取得之證件類型決定證件影像的擷取範圍(步驟213)。接著,影像取得模組120可以依據擷取範圍由資料影像中擷取出證件影像(步驟215)。Firstly, the image obtaining module 120 may obtain the certificate image from the target certificate prepared by the certificate provider (step 210 ). In this embodiment, assuming that the target certificate is an ID card, the image acquisition module 120 can read the certificate image from the target chip set on the target certificate through the chip reading module 130, or can be as shown in "Fig. 2B". As shown in the process, the image capture module 110 captures the image of the certificate containing the ID card held by the certificate provider, that is to say, the image acquisition module 120 can provide the user with a set target certificate or certificate The range of the image on the display screen can also prompt the user to place the target certificate or certificate image in the placement area of the display screen through the display module 140 (step 211), so that the image capture module 110 can capture the image containing the target The data image of the document. Afterwards, the image acquisition module 120 can provide the user with the certificate type of the target certificate through the input module 180, or perform image processing on the target certificate in the data image to generate the image features of the target certificate and detect the target certificate according to the image features. ID type, and the range of ID image capture can be determined according to the type of ID obtained (step 213). Next, the image acquisition module 120 can extract the certificate image from the data image according to the capture range (step 215 ).

回到「第2A圖」之流程,在影像取得模組120取得目標資料(步驟210)後,影像擷取模組110可以擷取臉部影像(步驟220),影像比對模組150可以比對影像取得模組120由目標證件上取得的證件影像及影像擷取模組110所擷取的臉部影像,並產生證件影像及臉部影像的相似度(步驟230)。在本實施例中,假設影像比對模組150可以產生提示訊息給顯示模組140,顯示模組140可以如「第3圖」所示,在顯示畫面310的提示區域312中提示證件提供者將手機(裝置100)的鏡頭對準臉部正面並調整手機位置,使得證件提供者可以在將臉部正面置於顯示畫面310的指示區域311且臉部比例與指示區域311相似時按下快門以觸發影像擷取模組110擷取包含證件提供者臉部正面的臉部影像,之後,影像比對模組150可以對證件影像及臉部影像進行影像分析以取得證件影像及臉部影像中之人臉特徵,並可以依據由證件影像及臉部影像中所取出之人臉特徵判斷證件影像及臉部影像的相似度;又如,影像比對模組150可以持續判斷影像擷取模組110所擷取到之臉部影像是否包含比例足夠且正面的人臉,當臉部影像包含正面的人臉且人臉與指示區域311的比例相近(如人臉與指示區域311之高度或寬度的差異在10%內)時,影像比對模組150可以對證件影像及臉部影像中之人臉進行特徵分析以取得證件影像及臉部影像中之人臉特徵,並可以依據由證件影像及臉部影像中所取出之人臉特徵判斷證件影像及臉部影像的相似度。Returning to the process of "Fig. 2A", after the image acquisition module 120 acquires the target data (step 210), the image acquisition module 110 can capture the face image (step 220), and the image comparison module 150 can compare The image acquisition module 120 generates a similarity between the ID image and the facial image from the ID image acquired on the target ID and the face image captured by the image capture module 110 (step 230 ). In this embodiment, it is assumed that the image comparison module 150 can generate a prompt message to the display module 140, and the display module 140 can prompt the certificate provider in the prompt area 312 of the display screen 310 as shown in "Fig. 3". Aim the camera of the mobile phone (device 100 ) at the front of the face and adjust the position of the mobile phone so that the credential provider can press the shutter when the front of the face is placed in the indicated area 311 of the display screen 310 and the proportion of the face is similar to the indicated area 311 The image capture module 110 is triggered to capture a facial image including the front face of the certificate provider, and then the image comparison module 150 can perform image analysis on the certificate image and the facial image to obtain the certificate image and the facial image. facial features, and can judge the similarity between the ID image and the facial image based on the facial features extracted from the ID image and the facial image; as another example, the image comparison module 150 can continuously judge the image capture module 110 Whether the captured facial image contains a sufficient proportion and a front face, when the face image contains a front face and the ratio of the face to the indication area 311 is similar (such as the height or width of the face to the indication area 311 When the difference is within 10%), the image comparison module 150 can perform feature analysis on the face in the ID image and facial image to obtain the facial features in the ID image and facial image, and can and the facial features extracted from the facial image to determine the similarity between the ID image and the facial image.

同樣在影像擷取模組110擷取臉部影像(步驟220)後,活體辨識模組160可以產生多個指定動作並判斷辨識目標是否依序完成所產生之指定動作以進行活體辨識,及可以在活體辨識後產生相對應的辨識結果(步驟250)。在本實施例中,假設證件提供者需要連續完成三次指定動作,則活體辨識模組160可以先隨機產生三個指定動作(例如依序為向右轉頭30度、眨眼、點頭),並在提示區域312提示證件提供者將裝置100對準人臉使得人臉置於顯示畫面310的指示區域311且人臉之比例與指示區域311相近,使得證件提供者依序依據提示完成三次指定動作,如此,活體辨識模組160可以在證件提供者連續的成功完成三次指定動作時產生通過活體辨識的辨識結果,反之,活體辨識模組160可以產生未通過活體辨識的辨識結果。Similarly, after the image capture module 110 captures the facial image (step 220), the life recognition module 160 can generate multiple specified actions and judge whether the recognition target completes the generated specified actions in sequence for live body recognition, and can A corresponding identification result is generated after the living body identification (step 250 ). In this embodiment, assuming that the certificate provider needs to complete three specified actions in a row, the biometric recognition module 160 can first randomly generate three specified actions (for example, turn the head 30 degrees to the right, blink, and nod in sequence), and then The prompt area 312 prompts the certificate provider to align the device 100 with the face so that the face is placed in the indication area 311 of the display screen 310 and the proportion of the face is similar to the indication area 311, so that the certificate provider completes three specified actions in sequence according to the prompts, In this way, the biometric identification module 160 can generate an identification result that passes the biometric identification when the credential provider successfully completes three specified actions in a row; otherwise, the biometric identification module 160 can generate an identification result that fails the biometric identification.

更詳細的說,活體辨識模組160可以先提示證件提供者完成第一個指定動作,當證件提供者向右轉動頭部,使得影像擷取模組110擷取到包含證件提供者向右轉動頭部的指示影像後,活體辨識模組160可以對指示影像進行人臉特徵分析,藉以判斷指示影像中之人臉的轉動方向。當轉動方向與指定方向不同時,活體辨識模組160可以判斷活體辨識未通過;而當轉動方向與指定方向相同時,活體辨識模組160可以再次提示證件提供者完成第二個指定動作,當證件提供者依照提示眨眼,使得影像擷取模組110擷取到包含證件提供者眨眼的指示影像後,活體辨識模組160可以對指示影像進行人臉特徵分析,藉以判斷指示影像中之人臉是否眨眼。若否,活體辨識模組160可以判斷活體辨識未通過;若是,則活體辨識模組160可以再次提示證件提供者完成第三個指定動作,當證件提供者依照提示點頭,使得影像擷取模組110擷取到包含證件提供者點頭的指示影像後,活體辨識模組160可以對指示影像進行人臉特徵分析,藉以判斷指示影像中之人臉是否點頭。若否,活體辨識模組160可以判斷活體辨識未通過;若是,則活體辨識模組160可以判斷活體辨識通過並可以產生表示通過活體辨識的辨識結果;在上述活體辨識的過程中,若活體辨識模組160判斷活體辨識未通過,則活體辨識模組160可以累計未通過次數,並可以在未通過次數尚未達到預定值前,再次提供證件提供者進行活體辨識,也就是重新產生三個指定動作,並依序證件提供者依據提示完成三次指定動作,直到累積之未通過次數達到預定值時,活體辨識模組160可以產生表示沒有通過活體辨識的辨識結果。In more detail, the biometric recognition module 160 can first prompt the certificate provider to complete the first specified action. When the certificate provider turns his head to the right, the image capture module 110 captures the image that includes the certificate provider turning right. After the indication image of the head, the biometric recognition module 160 can perform face feature analysis on the indication image, so as to determine the rotation direction of the face in the indication image. When the rotation direction is different from the specified direction, the biometric identification module 160 can judge that the biometric identification has not passed; and when the rotational direction is the same as the specified direction, the biometric identification module 160 can prompt the certificate provider to complete the second specified action again. The certificate provider blinks according to the prompt, so that after the image capture module 110 captures the instruction image containing the certificate provider's blink, the biometric recognition module 160 can analyze the facial features of the instruction image, so as to judge the face in the instruction image Whether to blink. If not, the biometric identification module 160 can judge that the biometric identification has not passed; if so, the biometric identification module 160 can remind the certificate provider to complete the third specified action again, when the certificate provider nods according to the prompt, the image capture module After 110 captures the instruction image including the nodding of the certificate provider, the biometric recognition module 160 can perform face feature analysis on the instruction image to determine whether the face in the instruction image is nodding. If not, the biometric identification module 160 can judge that the biometric identification has not passed; If the module 160 judges that the biometric identification has failed, the biometric identification module 160 can accumulate the number of times of failures, and can provide the certificate provider for biometrics identification again before the number of failures reaches the predetermined value, that is, regenerate three specified actions , and the credential provider completes three designated actions according to the prompts until the accumulated number of failures reaches a predetermined value, the biometric identification module 160 can generate an identification result indicating that the biometric identification has not passed.

在影像比對模組150產生影像取得模組120所取得之證件影像及影像擷取模組110所擷取之臉部影像的相似度,且活體辨識模組160產生辨識結果後,結果判斷模組170可以依據影像比對模組150所產生的相似度及活體辨識模組160產生辨識結果判斷辨識目標是否通過人證辨識(步驟260)。在本實施例中,假設結果判斷模組170可以判斷相似度是否高於(或等於)門檻值,並判斷辨識結果是否表示識別目標通過活體辨識,若兩者皆是,即相似度高於(或等於)門檻值且辨識結果表示識別目標通過活體辨識,則結果判斷模組170可以判斷辨識目標通過人證辨識,也就是表示辨識目標應該是證件持有人,反之,若相似度低於門檻值或辨識結果表示識別目標沒有通過活體辨識,則結果判斷模組170可以判斷辨識目標沒有通過人證辨識,也就是表示辨識目標可能不是證件持有人。After the image comparison module 150 generates the similarity between the certificate image obtained by the image acquisition module 120 and the facial image captured by the image capture module 110, and the living body recognition module 160 produces the recognition result, the result judgment module The group 170 can determine whether the identification target has passed the identification of the witness according to the similarity generated by the image comparison module 150 and the identification result generated by the living body identification module 160 (step 260 ). In this embodiment, the hypothetical result judging module 170 can judge whether the similarity is higher than (or equal to) a threshold value, and judge whether the recognition result indicates that the recognition target has been recognized by a living body. If both are, that is, the similarity is higher than ( or equal to) the threshold value and the identification result indicates that the identification target has passed the identification of the living body, then the result judging module 170 can determine that the identification target has passed the identification of the witness, which means that the identification target should be the certificate holder, otherwise, if the similarity is lower than the threshold If the value or the identification result indicates that the identification target has not passed the biometric identification, the result judging module 170 can determine that the identification target has not passed the identification of a person certificate, which means that the identification target may not be the certificate holder.

在本發明中,結果判斷模組170並沒有限制要在影像比對模組150產生相似度且活體辨識模組160產生辨識結果後才可以判斷辨識目標是否通過人證辨識(步驟260),實際上,結果判斷模組170也可以在影像比對模組150比對影像取得模組120所取得的證件影像及影像擷取模組110所擷取的臉部影像並產生證件影像及臉部影像的相似度(步驟230)後,先判斷影像比對模組150所產生的相似度是否高於(或等於)門檻值,使得活體辨識模組160可以在結果判斷模組170判斷相似度高於(或等於)門檻值時,產生多個指定動作及判斷辨識目標是否依序完成所產生之指定動作以進行活體辨識並產生相對應的辨識結果(步驟250),之後,結果判斷模組170可以再依據活體辨識模組160所產生的辨識結果判斷辨識目標是否通過人證辨識。In the present invention, the result judging module 170 is not limited to judging whether the recognition target has passed the identification of the witness (step 260) after the image comparison module 150 generates similarity and the living body recognition module 160 generates the recognition result (step 260). Above, the result judging module 170 can also compare the certificate image obtained by the image acquisition module 120 and the facial image captured by the image capturing module 110 in the image comparison module 150 to generate the certificate image and facial image After the similarity (step 230), first judge whether the similarity generated by the image comparison module 150 is higher than (or equal to) the threshold value, so that the living body recognition module 160 can judge the similarity higher than (or equal to) the threshold value, generate multiple designated actions and judge whether the recognition target completes the generated designated actions in order to perform living body recognition and generate corresponding recognition results (step 250), after that, the result judgment module 170 can Then, according to the identification result generated by the living body identification module 160, it is judged whether the identification target has passed the identification of the witness.

如此,透過本發明,可以經由比對由身分證件上取得之證件影像與即時拍攝包含證件提供者之臉部影像來判斷身分證件的提供者是否為持有人,進而確認身分證件之提供者的身分。In this way, through the present invention, it is possible to judge whether the provider of the identity certificate is the holder by comparing the image of the certificate obtained from the identity certificate with the facial image of the certificate provider in real time, so as to confirm the identity of the provider of the identity certificate identity.

在上述的實施例中,結果判斷模組170也可以如「第2C圖」之流程所示,判斷影像比對模組150所產生的相似度低於門檻值(步驟240)時,結果判斷模組170可以累加失敗次數,並判斷累積的失敗次數是否高於預設值(步驟271),若是,則表示辨識目標沒有通過人證辨識,若否,則結果判斷模組170產生比對失敗的提示訊息並由顯示模組140顯示提示訊息以提示證件提供者再次將裝置100的鏡頭對準證件提供者的臉部正面,使得影像擷取模組110可以再次擷取證件提供者的臉部影像(步驟220),且影像比對模組150可以再次比對證件影像及臉部影像,並產生證件影像及臉部影像的相似度(步驟230),活體辨識模組160也可以在判斷影像比對模組150所產生的相似度高於門檻值(步驟240)時,產生多個指定動作並判斷辨識目標是否依序完成所產生之指定動作以進行活體辨識,及可以在活體辨識後產生相對應的辨識結果(步驟250),結果判斷模組170可以依據影像比對模組150所產生的相似度及活體辨識模組160產生辨識結果判斷辨識目標是否通過人證辨識(步驟260)。In the above-mentioned embodiment, the result judging module 170 can also be shown in the process of "Fig. The group 170 can accumulate the number of failures, and judge whether the accumulated number of failures is higher than the preset value (step 271), if yes, it means that the identification target has not passed the identification of the witness, if not, the result judgment module 170 generates a comparison failure A reminder message is displayed by the display module 140 to prompt the certificate provider to point the lens of the device 100 at the front of the certificate provider's face again, so that the image capture module 110 can capture the certificate provider's face image again (step 220), and the image comparison module 150 can compare the certificate image and the face image again, and generate the similarity between the certificate image and the face image (step 230), and the living body recognition module 160 can also judge the image comparison When the similarity generated by the module 150 is higher than the threshold value (step 240), multiple designated actions are generated and it is judged whether the recognition target completes the generated designated actions in order for live body recognition, and a corresponding action can be generated after live body recognition. Corresponding to the recognition result (step 250 ), the result judging module 170 can judge whether the recognition target has passed the identification according to the similarity generated by the image comparison module 150 and the recognition result generated by the living body recognition module 160 (step 260 ).

綜上所述,可知本發明與先前技術之間的差異在於具有由目標證件上取得證件影像,並擷取臉部影像後,比對證件影像及臉部影像的相似度,並進行活體辨識以產生辨識結果,及依據相似度即辨識結果判斷辨識目標是否通過人證辨識之技術手段,藉由此一技術手段可以來解決先前技術所存在無法由證件上之照片判斷證件提供者是否為證件持有人的問題,進而達成依據證件提供者所提供之證件進行證件提供者之身分識別的技術功效。To sum up, it can be seen that the difference between the present invention and the prior art lies in the fact that the document image is obtained from the target document, and after the face image is captured, the similarity between the document image and the face image is compared, and biometric identification is performed to It is a technical means to generate the identification result and judge whether the identification object has passed the identification of the identification according to the similarity, that is, the identification result. This technical means can solve the problem in the previous technology that it is impossible to judge whether the document provider is a document holder based on the photo on the document. The problem of someone, and then achieve the technical effect of identifying the identity of the certificate provider based on the certificate provided by the certificate provider.

再者,本發明之比對證件影像與多態樣臉部影像辨識身分之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Moreover, the method for identifying identity by comparing certificate images and multi-face images of the present invention can be implemented in hardware, software, or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or in a computer system. A distributed implementation in which different components are spread across several interconnected computer systems.

雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the embodiments disclosed in the present invention are as above, the content described is not intended to directly limit the scope of protection of the present invention. Anyone with ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope disclosed in the present invention, makes some changes and modifications to the form and details of the implementation of the present invention, all of which belong to the patent protection of the present invention scope. The scope of patent protection of the present invention shall still be defined by the scope of the attached patent application.

100:裝置 110:影像擷取模組 120:影像取得模組 130:晶片讀取模組 140:顯示模組 150:影像比對模組 160:活體辨識模組 170:結果判斷模組 180:輸入模組 310:顯示畫面 311:指示區域 312:提示區域 步驟210:由目標證件取得目標資料 步驟211:設定目標證件或證件影像之所在範圍或提示目標證件或證件影像之放置區域 步驟213:設定或偵測目標證件之證件類型,並依據證件類型決定證件影像之擷取範圍 步驟215:擷取印刷於目標證件上之證件影像 步驟220:擷取辨識目標之臉部影像 步驟230:比對證件影像及臉部影像並產生相似度 步驟240:判斷相似度是否高於門檻值 步驟250:產生多個指定動作,並判斷辨識目標是否依序完成指定動作以產生相對應之辨識結果 步驟260:依據相似度及辨識結果判斷辨識目標是否通過人證辨識 步驟265:依據辨識結果判斷辨識目標是否通過人證辨識 步驟271:判斷失敗次數是否達到預設值 100: device 110:Image capture module 120: Image acquisition module 130: Chip reading module 140: display module 150: Image comparison module 160: Live body recognition module 170: Result Judgment Module 180: input module 310: display screen 311: indicating area 312: Prompt area Step 210: Obtain target data from target certificate Step 211: Set the range of the target certificate or certificate image or prompt the placement area of the target certificate or certificate image Step 213: Set or detect the certificate type of the target certificate, and determine the capture range of the certificate image according to the certificate type Step 215: Capture the ID image printed on the target ID Step 220: Capture the facial image of the recognition target Step 230: Compare the ID image and facial image and generate similarity Step 240: determine whether the similarity is higher than the threshold Step 250: Generate multiple designated actions, and judge whether the recognition target completes the designated actions in order to generate corresponding recognition results Step 260: Judging whether the identification target has passed the identification of the witness according to the similarity and the identification result Step 265: Judging whether the identification target has passed the identification of witnesses according to the identification result Step 271: Determine whether the number of failures reaches a preset value

第1圖為本發明所提之比對證件影像與多態樣臉部影像辨識身分之系統架構圖。 第2A圖為本發明所提之比對證件影像與多態樣臉部影像辨識身分之方法流程圖。 第2B圖為本發明所提之擷取目標證件上之證件影像之方法流程圖。 第2C圖為本發明所提之比對證件影像與多態樣臉部影像辨識身分之附加方法流程圖。 第3圖為本發明實施例所提之擷取臉部影像之使用者介面之示意圖。 Figure 1 is a system architecture diagram of the identity recognition system for comparing certificate images and multi-modal facial images proposed by the present invention. FIG. 2A is a flowchart of a method for identifying identity by comparing certificate images and multi-face images according to the present invention. FIG. 2B is a flow chart of the method for capturing the document image on the target document proposed by the present invention. FIG. 2C is a flowchart of an additional method for identifying identity by comparing the certificate image and the multi-face image according to the present invention. FIG. 3 is a schematic diagram of a user interface for capturing facial images proposed by an embodiment of the present invention.

步驟210:由目標證件取得目標資料 Step 210: Obtain target data from target certificate

步驟220:擷取辨識目標之臉部影像 Step 220: Capture the facial image of the recognition target

步驟230:比對證件影像及臉部影像並產生相似度 Step 230: Compare the ID image and facial image and generate similarity

步驟250:產生多個指定動作,並判斷辨識目標是否依序完成指定動作以產生相對應之辨識結果 Step 250: Generate multiple designated actions, and judge whether the recognition target completes the designated actions in order to generate corresponding recognition results

步驟260:依據相似度及辨識結果判斷辨識目標是否通過人證辨識 Step 260: Judging whether the identification target has passed the identification of the witness according to the similarity and the identification result

Claims (10)

一種比對證件影像與多態樣臉部影像辨識身分之系統,該系統至少包含:一影像擷取模組,用以擷取一辨識目標之多個臉部影像;一影像取得模組,用以設定或偵測一目標證件之一證件類型,並依據該證件類型決定一擷取範圍,及依據該擷取範圍由一目標證件取得一證件影像;一影像比對模組,用以比對該證件影像及一該臉部影像並產生一相似度;一活體辨識模組,用以產生多個指定動作,及用以依序依據每一該指定動作之指示影像中之人臉特徵及該些臉部影像中之人臉特徵判斷該辨識目標連續正確完成該些指定動作之次數是否達到參數值及判斷辨識未通過之累積未通過次數是否達到預定值以產生相對應之一辨識結果,其中,每一該指定動作為朝特定方向轉動一定角度、點頭、眨眼、或微笑;及一結果判斷模組,用以依據該相似度是否大於或等於一門檻值、相似度低於該門檻值之失敗次數是否高於預設值、及該辨識結果判斷該辨識目標是否通過人證辨識。 A system for identifying identity by comparing certificate images with multi-face images, the system at least includes: an image capture module for capturing multiple facial images of a recognition target; an image capture module for To set or detect a certificate type of a target certificate, determine a capture range according to the certificate type, and obtain a certificate image from a target certificate according to the capture range; an image comparison module for comparison The ID image and a facial image generate a similarity; a biometric recognition module is used to generate multiple specified actions, and to sequentially follow the facial features in the instruction image of each specified action and the The facial features in these facial images determine whether the number of times the recognition target has correctly completed the specified actions reaches the parameter value and whether the cumulative number of failed recognition reaches the predetermined value to generate a corresponding recognition result, wherein , each of the specified actions is turning a certain angle in a specific direction, nodding, blinking, or smiling; and a result judging module, which is used to determine whether the similarity is greater than or equal to a threshold and whether the similarity is lower than the threshold Whether the number of failures is higher than a preset value, and the identification result determine whether the identification target passes the identification of the witness. 如請求項1所述之比對證件影像與多態樣臉部影像辨識身分之系統,其中該活體辨識模組是動作資料庫中隨機取出該些指定動作以產生該些指定動作。 The system for identifying identity by comparing certificate images and multi-face images as described in claim 1, wherein the living body recognition module randomly extracts the specified actions from the action database to generate the specified actions. 如請求項1所述之比對證件影像與多態樣臉部影像辨識身分之系統,其中該活體辨識模組是在該辨識目標依序完成該些指定動作時產生表示 通過活體辨識之該辨識結果,並在該辨識目標未成功完成該些指定動作其中之一時產生表示沒有通過活體辨識之該辨識結果。 The system for identifying identity by comparing certificate images and multi-face images as described in Claim 1, wherein the living body recognition module generates an indication when the recognition target completes the specified actions in sequence Pass the recognition result of the living body recognition, and when the recognition target fails to complete one of the specified actions, generate the recognition result indicating that the living body recognition has not passed. 如請求項1所述之比對證件影像與多態樣臉部影像辨識身分之系統,其中該影像取得模組更用以設定該目標證件或該證件影像之所在範圍或提示該目標證件或該證件影像之放置區域。 The system for identifying identity by comparing ID images and multi-face images as described in claim 1, wherein the image acquisition module is further used to set the range of the target ID or the ID image or prompt the target ID or the ID Placement area for the ID image. 如請求項1所述之比對證件影像與多態樣臉部影像辨識身分之系統,其中該影像取得模組是擷取印刷於該目標證件上之該證件影像或於讀取設置於該目標證件中之一目標晶片所儲存之該證件影像。 The identity recognition system for comparing ID images and multi-faceted facial images as described in Claim 1, wherein the image acquisition module captures the ID image printed on the target ID or is set on the target when reading An image of the document stored in a target chip in the document. 一種比對證件影像與多態樣臉部影像辨識身分之方法,該方法至少包含下列步驟:設定或偵測一目標證件之一證件類型,並依據該證件類型決定一擷取範圍,及依據該擷取範圍由一目標證件取得一證件影像;擷取一辨識目標之一臉部影像;比對該證件影像及該臉部影像並產生一相似度;產生多個指定動作,並依序依據每一該指定動作之指示影像中的人臉特徵及該臉部影像中之人臉特徵判斷該辨識目標連續正確完成該些指定動作之次數是否達到參數值及判斷辨識未通過之累積未通過次數是否達到預定值以產生相對應之一辨識結果,其中,每一該指定動作為朝特定方向轉動一定角度、點頭、眨眼、或微笑;及依據該相似度是否大於或等於一門檻值、相似度低於該門檻值之失敗次數是否高於預設值、及該辨識結果判斷該辨識目標是否通過人證辨識。 A method for identifying identity by comparing a certificate image with a multi-face image, the method at least includes the following steps: setting or detecting a certificate type of a target certificate, and determining an extraction range according to the certificate type, and according to the The capture scope is to obtain a certificate image from a target certificate; capture a facial image of a recognition target; compare the certificate image and the facial image to generate a similarity; generate multiple specified actions, and sequentially according to each 1. The facial features in the instruction image of the specified action and the facial features in the facial image to determine whether the number of consecutive and correct completions of the specified actions by the recognition target reaches the parameter value and determine whether the cumulative number of failures in the identification is not passed Reaching a predetermined value to generate a corresponding recognition result, wherein each specified action is turning a certain angle in a specific direction, nodding, blinking, or smiling; and based on whether the similarity is greater than or equal to a threshold value, the similarity is low Whether the number of failures at the threshold is higher than a preset value, and the identification result determines whether the identification target has passed the identification of the witness. 如請求項6所述之比對證件影像與多態樣臉部影像辨識身分之方法,其中產生該些指定動作之步驟為由動作資料庫中隨機取出該些指定動作。 The method for identifying identity by comparing the certificate image and the multi-face image as described in Claim 6, wherein the step of generating the specified actions is to randomly extract the specified actions from the action database. 如請求項6所述之比對證件影像與多態樣臉部影像辨識身分之方法,其中產生相對應之該辨識結果之步驟為在該辨識目標依序完成該些指定動作時產生表示通過活體辨識之該辨識結果,並在該辨識目標未成功完成該些指定動作其中之一時產生表示沒有通過活體辨識之該辨識結果。 The method for identifying the identity by comparing the ID image and the multi-face image as described in claim 6, wherein the step of generating the corresponding identification result is to generate an indication of passing through the living body when the identification target completes the specified actions in sequence The recognition result of the recognition, and when the recognition target fails to successfully complete one of the specified actions, the recognition result indicating that the recognition of the living body has not passed is generated. 如請求項6所述之比對證件影像與多態樣臉部影像辨識身分之方法,其中由該目標證件取得該證件影像之步驟為擷取印刷於該目標證件上之該證件影像或於讀取設置於該目標證件中之一目標晶片所儲存之該證件影像。 The method for identifying the identity by comparing the image of the certificate and the multi-face image as described in claim 6, wherein the step of obtaining the image of the certificate from the target certificate is to capture the image of the certificate printed on the target certificate or read it Get the certificate image stored in a target chip set in the target certificate. 如請求項9所述之比對證件影像與多態樣臉部影像辨識身分之方法,其中該方法於擷取印刷於該目標證件上之該證件影像之步驟前,更包含設定該目標證件或該證件影像之所在範圍或提示該目標證件或該證件影像之放置區域之步驟。 The method for identifying the identity by comparing the image of the certificate and the multi-face image as described in claim 9, wherein the method further includes setting the target certificate or before the step of capturing the image of the certificate printed on the target certificate The step of presenting the range of the image of the certificate or prompting the location of the target certificate or the image of the certificate.
TW109133534A 2020-09-26 2020-09-26 System for identification based on comparing id photo and live photo and method thereof TWI786438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109133534A TWI786438B (en) 2020-09-26 2020-09-26 System for identification based on comparing id photo and live photo and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109133534A TWI786438B (en) 2020-09-26 2020-09-26 System for identification based on comparing id photo and live photo and method thereof

Publications (2)

Publication Number Publication Date
TW202213168A TW202213168A (en) 2022-04-01
TWI786438B true TWI786438B (en) 2022-12-11

Family

ID=82197122

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109133534A TWI786438B (en) 2020-09-26 2020-09-26 System for identification based on comparing id photo and live photo and method thereof

Country Status (1)

Country Link
TW (1) TWI786438B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669824A (en) * 2009-09-22 2010-03-17 浙江工业大学 Biometrics-based device for detecting indentity of people and identification
CN204302984U (en) * 2014-12-23 2015-04-29 深圳市华思福科技有限公司 Identity information acquisition recognition device
US9202105B1 (en) * 2012-01-13 2015-12-01 Amazon Technologies, Inc. Image analysis for user authentication
TW201928738A (en) * 2017-12-14 2019-07-16 大陸商深圳市商湯科技有限公司 Method and appapatus for verifying identity document, electronic device, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669824A (en) * 2009-09-22 2010-03-17 浙江工业大学 Biometrics-based device for detecting indentity of people and identification
US9202105B1 (en) * 2012-01-13 2015-12-01 Amazon Technologies, Inc. Image analysis for user authentication
CN204302984U (en) * 2014-12-23 2015-04-29 深圳市华思福科技有限公司 Identity information acquisition recognition device
TW201928738A (en) * 2017-12-14 2019-07-16 大陸商深圳市商湯科技有限公司 Method and appapatus for verifying identity document, electronic device, and storage medium

Also Published As

Publication number Publication date
TW202213168A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
US9672523B2 (en) Generating barcode and authenticating based on barcode
CN111539833A (en) Medical expense payment method, device and system
KR20190122206A (en) Identification methods and devices, electronic devices, computer programs and storage media
WO2018205468A1 (en) Biometric transaction processing method, electronic device and storage medium
CN113688744A (en) Adaptive height face recognition method and device
TWM606868U (en) Device for identifying identity based on document image and living body image
TWM592134U (en) System for verifying identity for opening an account using a vehicle in an ATM
TW202040385A (en) System for using device identification to identify via telecommunication server and method thereof
CN105427480A (en) A teller machine based on image analysis
TWI786438B (en) System for identification based on comparing id photo and live photo and method thereof
TWI844770B (en) System for recognizing specified actions in images to determine target is alive and method thereof
CN101681498B (en) Vein pattern management system, vein pattern registration device, vein pattern authentication device, vein pattern registration method, vein pattern authentication method, program, and vein data struc
CN115618856A (en) Rarely-used word detection method and system for financial application system and related products
CN115526191A (en) Identity authentication method, system and storage medium of self-service medical service system
TWM606869U (en) Device for recognizing identity by comparing document image and multi-state face image
CN111640007B (en) Bank account opening method, device, terminal and storage medium
TWI787655B (en) System for identification based on comparing id photo and live photo and method thereof
CN109995761B (en) Service processing method, device, electronic device and storage medium
JP2024138481A (en) Program, control device, and control method
TWI807219B (en) System for performing identification based on comparing photo stored in chip and real-time live photo and method thereof
TWM610179U (en) Device for identifying identity based on chip pre-stored image and real-time in vivo image
TWI724638B (en) System for using carrier to verity identity in machine for opening account and method thereof
TWM615971U (en) System of identifying living body by recognizing actions of image
CN118505163B (en) A quality inspection method, device, computer equipment and medium for remote banking
TWI866781B (en) Mobile device and method for login to mobile application with multi-factor authentication