The present disclosure relates to a device and a method for verifying an identity document, and particularly to a device and method for diversely verifying an identity document.
With the development of technology and the rapid drive for digital transformation, counterfeiting techniques and fraud techniques have continuously evolved, increasing the risk of illegal activities. In such a situation, the need to prevent various potential threats, particularly the need for conducting identity verification through digital means, becomes more urgent to ensure security among all parties. However, the level of identity verification required varies across different application scenarios. Therefore, the present disclosure introduces a method for dynamically verifying an identity, and with flexible architectures, different methods for verifying identities can be flexibly selected according to requirements to meet different strengths of needs for verifying identities.
The method provided by the present disclosure for verifying an identity document includes: obtaining a first image; detecting whether the identity document is presented in the first image; determining whether a type of the identity document belongs to a predetermined type after detecting that the identity document presents in the first image; obtaining a second image of the identity document after determining that the type of the identity document belongs to the predetermined type, wherein the identity document in the second image presents an anti-counterfeiting pattern thereon; determining whether the anti-counterfeiting pattern presented in the second image matches a predetermined anti-counterfeiting pattern; and determining that the identity document is an authentic identification document after determining that the anti-counterfeiting pattern matches the predetermined anti-counterfeiting pattern.
In an embodiment of the present disclosure, the first image has a first area where the identity document is presented, and the method further includes: determining whether at least one image quality parameter corresponding to the first area meets a predetermined standard; and determining whether the anti-counterfeiting pattern presented in the second image matches the predetermined anti-counterfeiting pattern after determining that the at least one image quality parameter meets the predetermined standard.
In an embodiment of the present disclosure, the method further includes: determining whether a color of the identity document presented in the first image matches a predetermined color after determining that the type of the identity document belongs to the predetermined type; and obtaining the second image of the identity document after determining that the color matches the predetermined color and determining that the type of the identity document belongs to the predetermined type.
In an embodiment of the present disclosure, the method further includes: performing an optical character recognition on the identity document presented in the first image to obtain at least one piece of identity information; determining whether the at least one piece of identity information is the same as a predetermined piece of identity information; and determining that the identity document is an authentic identity document after determining that the at least one piece of identity information is the same as the predetermined piece of identity information and determining that the anti-counterfeiting pattern matches the predetermined anti-counterfeiting pattern.
In an embodiment of the present disclosure, the identity document has a portrait, and the method further includes: extracting the portrait from the first image; obtaining a third image of an owner of the identity document; performing a facial comparison between the portrait and the third image to obtain a similarity parameter; determine whether the similarity parameter is higher than a threshold value; and determining that the owner is an authentic owner after determining that the similarity parameter is higher than the threshold value.
In an embodiment of the present disclosure, the method further includes: displaying an image capturing window; obtaining a fourth image within the image capturing window; determining whether a first facial image is presented in the fourth image; providing an action indication after determining that the first facial image is presented in the fourth image; obtaining a fifth image within the image capturing window, wherein a second facial image is presented in the fifth image; determining whether the second facial image meets an expression standard based on the action indication; performing a facial comparison between the first facial image and the second facial image to obtain a similarity parameter after determining that the second facial image meets the expression standard; determining whether the similarity parameter is higher than a threshold value; and determining that an owner of the identity document is a live owner after determining that the similarity parameter is higher than the threshold value.
Another embodiment of the present disclosure further provides an electronic device for verifying an identity document, and the electronic device includes: a processor, a display, and a storage. The display is electrically coupled to the processor. The storage is electrically coupled to the processor and configured to store a plurality of computer-executable instructions. The plurality of computer-executable instructions, when executed by the processor, cause the electronic device to perform the method of the present disclosure.
Another embodiment of the present disclosure further provides a non-transitory computer-readable medium that stores a plurality of computer-executable instructions. The plurality of computer-executable instructions, when executed by one or more processors, cause an electronic device to perform the method of the present disclosure.
Aspects of the present disclosure are best understood from the following detailed disclosure when read with the accompanying drawings.
In the present disclosure, unless the article is specifically limited in the context, “a” and “the” can generally refer to one or more.
In addition, the terms “include,” “comprise,” “have” and the like used in the present disclosure are open-ended terms that imply the inclusion of the disclosed features, elements and/or components described therein, but do not preclude the presence or addition of one or more additional features, elements, components, and/or their groups described thereof.
Furthermore, the ordinal terms (such as “first,” “second,” “third,” and the like) used in the present disclosure and claims are used to modify an element itself and do not imply any priority or any order of one element over another element, or do not imply a chronological order of steps of a method performed, but are used only as symbols to distinguish a claimed element having a particular name from another element having the same name.
The spirit of the present disclosure will be clearly illustrated with drawings and detailed descriptions below. After understanding the embodiments of the present disclosure, those skilled in the art with ordinary knowledge can make modifications and variations based on the technologies taught in the present disclosure without departing from the spirit and scope of the present disclosure.
In the present embodiment, the system 100 provides an application (APP) program 102 for the user to use the services provided by the system 100. In the present embodiment, the services provided by the system 100 include verifying an identity document, verifying whether the owner of the identity document is an authentic owner, and verifying whether the owner of the identity document is a live owner. The first electronic device 110 may be a device used by the owner of the identity document and has the APP program 102 installed thereon.
The electronic device 110 includes a processor 112, a storage 113, a communication component 114, a display 115 and a camera 116. The processor 112 is electrically coupled to the storage 113, the communication component 114, the display 115 and the camera 116. The APP program 102 is stored in the storage 113.
The processor 112 may be, for example, a central processing unit (CPU), a programmable microprocessor, an embedded control chip, a digital signal processor (DSP), or an application specific integrated circuit (ASIC) or the like.
The storage 113 may be, for example, a random access memory (RAM), a read-only memory (ROM), a flash memory, a hard disk, other similar device, or a combination of these devices.
The communication component 114 may be a chip or circuit that employs a wireless local area network (WLAN) technology, a local area network (LAN) technology or a mobile communication technology. The local area network may be, for example, Ethernet. The wireless local area network may be, for example, Wi-Fi. The mobile communication technology may include, for example, Global System for Mobile Communications (GSM), Third Generation (3G), Fourth Generation, Fifth Generation (5G) mobile communication technologies, etc.
The display 115 may be, for example, a liquid crystal display (LCD), an organic light-emitting diode (OLED) display, etc.
The APP program 102 is installed and stored in the storage 113 of the electronic device 110 and may be executed by the processor 112. When the APP program 102 is executed by the processor 112, an operation interface 102a of the APP program 102 is displayed on the display 115, as shown in
In addition, the AI server 120, the first data server 130 and the second data server 140 all have components such as a processors, storages and communication components (similar to the above-mentioned processor 112, the storage 113 and the communication component 114).
In the present embodiment, the AI server 120 may have a deep neural network model (referred to as the AI model) configured to select a facial area 162a presented by the portrait 162 in the image 160a and a facial area 170b presented by the portrait of the owner 170 in the image 102c and convert the selected area 162a and the selected area 170b into a first vector value (also known as a first facial feature value) in a high-dimensional space and a second vector value (also known as a second facial feature value) in a high-dimensional space, respectively. Next, when performing the facial comparison, the AI server 120 calculates the distance between the first vector value and the second vector value to obtain the similarity parameter between the first facial feature value and the second facial feature value.
In an alternative embodiment, in step S1, the electronic device 110 may first convert, through the AI server 120, the facial area 162a presented by the portrait 162 in the image 160a into a first vector value (also known as a first facial feature value) in a high-dimensional space and upload the first facial feature value to the first data server 130 to store the first vector value in the first data server 130. Next, in step S6, the electronic device 110 transmits the first downloading request to the first data server 130 to request downloading the first vector value stored in the first data server 130. In step S7, the first data server 130 transmits the first vector value to the electronic device 110 in response to the first downloading request. In step S10, the electronic device 110 receives the first vector value and the image 102c of the owner 170 from the first data server 130 and the second data server 140 respectively and transmits the first vector value and the image 102c to the AI server 120. In step S11, the AI server 120 selects the facial area 170b presented by the portrait of the owner 170 in the image 102c and converts the selected area 170b into a second vector value (also known as a second facial feature value) in a high-dimensional space. Next, when performing the facial comparison, the AI server 120 calculates the distance between the first vector value and the second vector value to obtain the similarity parameter between the first facial feature value and the second facial feature value.
In step 204, the electronic device 110 detects whether an image of the identity document 160 is presented in the image 160a. When the electronic device 110 detects that the image of the identity document 160 is not presented in the image 160a, the electronic device 110 performs step 206. In addition, after the electronic device 110 detects that the image of the identity document 160 is presented in the image 160a, the electronic device 110 may use a first AI model to determine whether the identity document 160 presented in the image 160a belongs to a predetermined type of identity document (e.g., a citizen ID card). When the electronic device 110 uses the first AI model to determine that the identity document 160 does not belong to the predetermined type, the electronic device 110 may display “Document Error” through the display 115 and perform step 206. When the electronic device 110 uses the first AI model to determine that the identity document 160 belongs to the predetermined type, the electronic device 110 may perform step 210. In the present embodiment, the first AI model is a mathematical and computational model trained and generated by using artificial intelligence (AI) technology (e.g., machine learning or deep learning) to learn from a large amount of image data of identity documents and may be installed on the electronic device 110 or on the AI server 120 to assist in determining whether the identity document 160 presented in the image 160a belongs to the predetermined type of identity document. In one embodiment, the lens of the camera 116 can be aimed at the physical identity document 160, so that the image of the identity document 160 can enter the first image capturing window 102b provided by the operation interface 102a of the APP program 102, and the image 160a containing the image of the identity document 160 can be obtained as shown in
In step 206, the electronic device 110 determines whether a predetermined timeout has occurred. When the electronic device 110 determines that the predetermined timeout has occurred, the electronic device 110 performs step 208 to end the operation of verifying the identity document 160. When the electronic device 110 determines that the predetermined time has not occurred, the electronic device 110 performs step 202 again.
In step 210, after the electronic device 110 determines that the identity document 160 belongs to the predetermined type of identity document, the electronic device 110 determines whether the image quality of the identity document 160 presented in the image 160a meets a predetermined standard. When the electronic device 110 determines that the image quality of the identity document 160 does not meet the predetermined standard, the electronic device 110 performs step 206. In addition, when the electronic device 110 determines that the image quality of the identity document 160 meets the predetermined standard, the electronic device 110 performs step 212. In one embodiment, the image 160a has a first area in which the identity document 160 is presented (e.g., an area in which the image of the identity document 160 is presented), and the electronic device 110 may use a second AI model to determine whether an image quality parameter corresponding to the first area meet a predetermined standard. The image quality parameter may include at least one of various image quality parameters used to represent the degree of reflectiveness, occlusion, darkness, and/or alignment of the image of the identity document 160 within the first image capturing window 102b, but is not limited thereto. After the electronic device 110 uses the second AI model to determine that the at least one image quality parameter meets the predetermined standard, the electronic device 110 performs step 212. In addition, after the electronic device 110 uses the second AI model to determine that the at least one parameter does not meet the predetermined standard, the electronic device 110 performs step 206. In the present embodiment, the second AI model is a mathematical and computational model trained and generated by using artificial intelligence (AI) technology (e.g., machine learning or deep learning) to learn from a large amount of image data of identity documents and may be installed on the electronic device 110 or on the AI server 120 to assist in determining whether the image quality parameter corresponding to the first area meets the predetermined standard.
In step 212, after the electronic device 110 determines that the at least one image quality parameter meets the predetermined standard, the electronic device 110 determines whether the image color of the identity document 160 presented in the image 160a is qualified. When the electronic device 110 determines that the image color of the identity document 160 presented in the image 160a is unqualified, the electronic device 110 performs step 206. In addition, when the electronic device 110 determines that the image color of the identity document 160 presented in the image 160a is qualified, the electronic device 110 performs step 214. In one embodiment, the electronic device 110 may use a third AI model to determine whether the image color of the identity document 160 presented in the image 160a matches a predetermined color, thereby determining whether the image color of the identity document 160 is qualified. The image color may be colorful, black, white or grayscale, but is not limited thereto. When the electronic device 110 uses the third AI model to determine that the image color of the identity document 160 presented in the image 160a does not match the predetermined color (that is, the image color of the identity document 160 is unqualified), the electronic device 110 performs step 206. When the electronic device 110 uses the third AI model to determine that the image color of the identity document 160 presented in the image 160a matches the predetermined color (that is, the image color of the identity document 160 is qualified), the electronic device 110 performs step 214. In the present embodiment, the third AI model is a mathematical and computational model trained and generated by using artificial intelligence (AI) technology (e.g., machine learning or deep learning) to learn from a large amount of image data of identity documents and may be installed on the electronic device 110 or on the AI server 120 to assist in determining whether the image color of the identity document 160 presented in the image 160a matches the predetermined color, thereby determining whether the image color of the identity document 160 is qualified.
In step 214, after the electronic device 110 determines that the image color of the identity document 160 presented in the image 160a matches the predetermined color, the electronic device 110 determines whether an anti-counterfeiting pattern 163 on the identity document 160 is correct. When the electronic device 110 determines that the anti-counterfeiting pattern 163 on the identity document 160 is incorrect, the electronic device 110 performs step 206. In addition, when the electronic device 110 determines that the anti-counterfeiting pattern 163 on the identity document 160 is correct, the electronic device 110 performs step 216. In one embodiment, after the electronic device 110 determines that the image color of the identity document 160 presented in the image 160a matches the predetermined color, the electronic device 110 may provide an action indication (e.g., “Please tilt the document upwards”) through the operation interface 102a of the APP program 102 to make the anti-counterfeiting pattern 163 on the identity document 160 reflect light or change color in the first image capturing window 102b as shown in
In step 216, after the electronic device 110 determines that the anti-counterfeiting pattern 163 matches the predetermined anti-counterfeiting pattern, the electronic device 110 may determine that the identity document 160 is an authentic identity document.
In the above embodiment, the order of step 210, step 212 and step 214 is not limited thereto and may be performed in other different orders. In addition, step 210 and step 212 may be selectively omitted or not performed based on different application scenarios. For example, in one embodiment, in a case that step 212 is omitted or not performed, after the electronic device 110 determines in step 210 that the at least one image quality parameter meets the predetermined standard, the electronic device 110 may perform step 214 to determine whether the anti-counterfeiting pattern 163 presented in the image 160b matches the predetermined anti-counterfeiting pattern, thereby determining whether the anti-counterfeiting pattern 163 on the identity document 160 is correct.
In other embodiments of the present disclosure, the above-mentioned method for verifying an identity document may further include a step of performing an optical character recognition to enhance the determination that the identity document 160 is an authentic identity document. The step of performing the optical character recognition may be performed by the electronic device 110 before step 214 or may be performed by the electronic device 110 after step 214. In the step of performing the optical character recognition, the electronic device 110 may perform the optical character recognition on the image of the identity document 160 presented in the image 160a or the image 160b to obtain the identity information (e.g., name, birthday and/or ID number) on the identity document 160. After obtaining the identity information on the identity document 160, the electronic device 110 determines whether at least one piece of the identity information (e.g., name, birthday, and ID number) matches predetermined identity information. When the electronic device 110 determines that the at least one piece of the identity information does not match the predetermined identity information, the electronic device 110 performs step 206. After the electronic device 110 determines that the at least one of piece of the identity information matches the predetermined identity information and determines that the anti-counterfeiting pattern 130 matches the predetermined anti-counterfeiting pattern, the electronic device 110 performs step 216 to determine that the identity document 160 is an authentic identity document.
In a second embodiment of the present disclosure, the method illustrated in
In a third embodiment of the present disclosure, the method illustrated in
In step 304, the electronic device 110 detects whether a facial image is presented in the image 102c. When the electronic device 110 detects that no facial image is presented in the image 102c, the electronic device 110 performs step 306. In addition, when the electronic device 110 detects that a facial image (e.g., facial area 170b) is presented in the image 102c, the electronic device 110 performs step 310. In the present embodiment, the electronic device 110 may detect whether facial features are presented in the facial area 170b, thereby determining whether a facial image is presented in the image 102c. When the electronic device 110 detects that the facial features are presented in the facial area 170b, the electronic device 110 may determine that a facial image is presented in the image 102c.
In step 306, the electronic device 110 determines whether a predetermined timeout has occurred. When the electronic device 110 determines that the predetermined timeout has occurred, the electronic device 110 performs step 308 to end the operation of determining the live owner. When the electronic device 110 determines that the predetermined time has not occurred, the electronic device 110 performs step 302 again.
In step 310, after the electronic device 110 determines that the facial image is presented in the image 102c, the electronic device 110 obtains another image 102d (as shown in
In step 310, after the electronic device 110 determines that the facial image presented in the image 102c and the facial image presented in the image 102d present the same person, the electronic device 110 may use a fifth AI model to determine whether the facial image presented in the second image capturing window 170a presents a live face. When the electronic device 110 uses the fifth AI model to determine that the facial image presented in the second image capturing window 170a does not present a live face, the electronic device 110 performs step 306. In addition, when the electronic device 110 uses the fifth AI model to determine that the facial image presented in the second image capturing window 170a presents a live face, the electronic device 110 performs step 314. In the present embodiment, the fifth AI model is a mathematical and computational model trained and generated by using artificial intelligence (AI) technology (e.g., machine learning or deep learning) to learn from a large amount of image data of identity documents and may be installed on the electronic device 110 or on the AI server 120 to assist in determining whether the facial image presented in the second image capturing window 170a presents a live face. For example, the fifth AI model may determine whether the facial image presents a live face by determining an expression change or a facial pulse change of the facial image presented in the second image capturing window 170a.
In step 314, after the electronic device 110 uses the fifth AI model to determine that the facial image presented in the second image capturing window 170a presents a live face, the electronic device 110 determines that the owner of the identity document 160 is a live owner.
The disclosure also provides a non-transitory computer-readable medium that stores a plurality of computer-executable instructions. The plurality of computer-executable instructions, when executed by one or more processors, cause an electronic device (e.g., the electronic device 110 shown in
Although the present disclosure has been disclosed by way of above embodiments, the embodiments are not intended to limit the present disclosure, and those skilled in the art will appreciate that changes and modifications may be made therein as long as those changes and modifications do not deviate from the spirit and the scope of the present disclosure. Therefore, the scope of the present disclosure should be construed according to the definitions in the appended claims.
The present disclosure claims the benefit of and priority to U.S. Provisional Patent Application Ser. No. 63/534,646, filed on Aug. 25, 2023, entitled “DIGITAL IDENTITY MANAGEMENT_SECUREID FOR PERSONAL VERIFICATION AND INTEGRATION,” the content of which is hereby incorporated herein fully by reference into the present disclosure for all purposes.
| Number | Date | Country | |
|---|---|---|---|
| 63534646 | Aug 2023 | US |