Face recognition method without face collection and identity recognition module
Technical Field
The invention relates to various hardware devices and software systems using face recognition technology, in particular to a face recognition method and an identity recognition module without face collection.
Background
In recent years, the application range of face recognition is becoming wider and wider, especially in the field of attendance and traffic: the people feel very convenient by swiping the face, punching the card and swiping the face to open the door. However, while enjoying the convenience of face recognition technology, many problems have become apparent, most typically personal privacy and personal property safety problems due to theft and misuse of face information.
In order to prevent abuse of the face recognition technology, protect citizen privacy and personal and property safety, some places continue to go out of policies and laws and regulations, and enterprises and public institutions, industry associations, trade fairs and the like are prohibited from collecting face information privately. The release of these policies and laws and regulations has a great influence on enterprises and public institutions including school community hospital business places and the like and industry chains using face recognition technology, which are currently using various hardware devices and software systems related to face recognition technology: what is likely to be the case if the face is not allowed to be collected privately, then the various hardware devices and software systems related to face recognition that are currently in use are not available? The invention provides a face recognition method without collecting faces and an identity recognition module, which aim to solve the problem firstly.
Disclosure of Invention
In order to solve the problems, the invention provides a face recognition method and an identity recognition module without face collection, which can also carry out face recognition without face information collection in advance, thereby solving the urgent problem that various hardware devices and software systems which are used in large quantity in the market at present and need face recognition function are likely to stop using due to the fact that the personal face information collection of enterprises, public institutions, industry associations, meetings and the like is strictly forbidden by continuous laws and regulations in various regions.
In order to achieve the above object, the face recognition method and the identity recognition module without collecting faces of the people of the invention comprise the following steps:
s1, sending an application of 'citizen face feature information' to a system for legally controlling national citizen identity information through a network, wherein the application comprises one or more citizen names and identity card numbers;
s2, after the application passes the verification, obtaining encrypted 'citizen face feature information' corresponding to the identification number, and establishing a local database for storing the encrypted 'citizen face feature information' and the corresponding citizen name and identification number to form a terminal citizen identity information base;
s3, receiving a face photo to be recognized and extracting face characteristic information from the photo, wherein the face characteristic information extraction algorithm is consistent with a face characteristic information extraction algorithm of a system for controlling national citizen identity information;
s4, 1: and N, comparing to finish the face recognition.
In one embodiment, citizen identity characteristic information application software, face characteristic information extraction algorithm software, face characteristic information 1: N comparison algorithm software and encrypted 'citizen face characteristic information' included in the face recognition method are stored in an identity recognition module, and the identity recognition module can be embedded into various hardware devices or software systems.
In one embodiment, the identity recognition module has a unique ID capable of being recognized by a system for managing national citizen identity information, the national citizen identity information system can encrypt the citizen face feature information acquired by the identity recognition module application according to the unique ID, and the identity recognition module can decrypt the encrypted 'citizen face feature information' according to the unique ID.
In one embodiment, the identification module has an identification interface and receives identification requests submitted from a hardware device or a software system through the identification interface, each request contains a picture of a face to be identified, and a citizen name and identification number or a prompt of "no person" is replied to each request.
In one embodiment, the identity recognition module can extract face feature information in batch on the basis of an original database containing citizen names, identification card numbers and face photos of a hardware device or a software system, automatically generate encrypted face feature information and store the encrypted face feature information in a terminal citizen identity information base.
The invention also provides an identity recognition module applied to the face recognition method without collecting the face, which comprises the following steps: the system comprises a citizen face feature information application module, a citizen identity information storage module, a face feature information extraction module, a face feature information comparison module and a citizen identity information batch import module.
In one embodiment, the amount of the citizenship information that can be stored by the citizenship information storage module has a definite upper limit, which is no more than 10 ten thousand in principle, and each piece of information includes: the citizen name, the identification number and the encrypted citizen face characteristic information are used for ensuring that the information storage scale of the terminal citizen identity information base is far smaller than that of the national citizen identity information base of the national citizen identity information system, and the whole is broken into zero, so that the face recognition speed and accuracy of the identity recognition module can meet the actual application requirements of hardware equipment or a software system embedded in the identity recognition module.
Has the advantages that:
(1) the face recognition method can also carry out face recognition without acquiring and keeping face photos in advance, and solves the urgent problem that original face recognition hardware equipment and software systems of enterprises and public institutions probably need to be stopped to use under the new administration that all the biological characteristic information of citizens is prohibited to be acquired privately at every place.
(2) The identity recognition module can be embedded into hardware equipment and a software system with a face recognition function to replace the original face feature extraction and comparison algorithm and the original face feature information base collected and retained privately, so that the original hardware equipment and the original software system can be continuously and legally used.
(3) The identity recognition module of the invention has the unique ID which can be recognized by the system for controlling the national citizen identity information, and the 'citizen face feature information' encrypted according to the unique ID and sent by the system for controlling the national citizen identity information can only be decrypted and used by the identity recognition module corresponding to the unique ID, thereby ensuring the safety of information transmission and storage and the uniqueness of use ownership, and further ensuring that the citizen face feature information is not stolen and abused.
Drawings
The present invention will be further described and illustrated with reference to the following drawings.
FIG. 1 is a schematic block diagram of an identification module in accordance with a preferred embodiment of the present invention.
Fig. 2 is a flow chart of the face recognition method without collecting faces according to the present invention.
Detailed Description
The technical solution of the present invention will be more clearly and completely explained by the description of the preferred embodiments of the present invention with reference to the accompanying drawings.
As shown in fig. 1, an identity recognition module 10 according to a preferred embodiment of the present invention can be embedded in a hardware device or a software system with a face recognition function, and includes an identity recognition interface 11, a citizen face feature information application module 12, a citizen identity information storage module 13, a face feature information extraction module 14, a face feature information comparison module 15, and a citizen identity information batch import module 16.
The identification interface 11 is connected to a hardware device or a software system with a face recognition function, and is configured to receive identification requests sent from the hardware device or the software system, where each request includes a face photo to be recognized, and reply to each request with a citizen name and an identification number or a prompt of "to check the person".
The citizen face feature information application module 12 is used for sending an application of 'citizen face feature information' to a system for legally controlling national citizen identity information.
The citizen identity information storage module 13 is used for storing encrypted 'citizen face feature information' and corresponding citizen name and identification number to form a terminal citizen identity information base. The amount of the citizen identity information that can be stored by the citizen identity information storage module 13 has a definite upper limit, which is not more than 10 ten thousand in principle, and each piece of information includes: the citizen name, the identification number and the encrypted citizen face characteristic information are used for ensuring that the information storage scale of the terminal citizen identity information base is far smaller than that of the national citizen identity information base of the national citizen identity information system, and the whole is broken into zero, so that the face recognition speed and accuracy of the identity recognition module can meet the actual application requirements of hardware equipment or a software system embedded in the identity recognition module.
The face feature information extraction module 14 is configured to extract face feature information from the face photograph input by the identity recognition interface 11, where the face feature information extraction algorithm is consistent with a face feature information extraction algorithm of a system that manages national citizen identity information.
The face feature information comparison module 15 is configured to perform 1 on the extracted face feature information and the citizen face feature information in the terminal citizen identity information base: and (6) performing N comparison.
The citizen identity information batch import module 16 is used for extracting face feature information in batches on the basis of an original database containing citizen names, identification numbers and face photos of a hardware device or a software system embedded in the identity recognition module 10, automatically generating encrypted face feature information, and storing the encrypted face feature information in the terminal citizen identity information base.
As shown in fig. 2, the present invention further provides a face recognition method without face acquisition, which includes the following steps:
step S1: the method comprises the steps of sending an application of 'citizen face feature information' to a system for legally controlling national citizen identity information through a network, wherein the application comprises one or more citizen names and identity card numbers.
The system for legally controlling the national citizen identity information is preferably a national citizen identity information system which is built and operated by an identity card number inquiry center of the public security department.
Step S2: and when the application of the 'citizen face feature information' passes the verification, acquiring encrypted 'citizen face feature information' corresponding to the identity card number, establishing a local database for storing the encrypted 'citizen face feature information' and the corresponding citizen name and identity card number to form a terminal citizen identity information base.
Specifically, the encrypted "citizen face feature information" is stored in hardware equipment or a software system embedded with an identity recognition module, so that a terminal citizen identity information base distributed in each hardware equipment or software system is formed relative to a centralized and unified national citizen identity information base.
The identity recognition module is provided with a unique ID which can be recognized by a system for legally controlling national citizen identity information, the national citizen identity information system can encrypt the citizen face feature information acquired by the identity recognition module according to the unique ID, the identity recognition module can decrypt the encrypted citizen face feature information according to the unique ID, and the encryption and decryption mechanism can ensure the safety of information transmission and storage and the uniqueness of the use right, so that the citizen face feature information is prevented from being stolen and abused.
Step S3: receiving a face photo to be recognized and extracting face characteristic information from the photo, wherein the face characteristic information extraction algorithm is consistent with a face characteristic information extraction algorithm of a system for controlling national citizen identity information.
Step S4: and 1, performing extraction on the face feature information and the citizen face feature information in the terminal citizen identity information base: and N, comparing to finish the face recognition.
When the face recognition is successful, the identity recognition module obtains a citizen name and an identity card number corresponding to the face photo; when the face recognition fails, the identity recognition module sends out a prompt of ' checking the person ' without the face '.
The above detailed description merely describes preferred embodiments of the present invention and does not limit the scope of the invention. Without departing from the spirit and scope of the present invention, it should be understood that various changes, substitutions and alterations can be made herein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents. The scope of the invention is defined by the claims.