CN107423687B - Identity authentication method and device based on face recognition technology - Google Patents
Identity authentication method and device based on face recognition technology Download PDFInfo
- Publication number
- CN107423687B CN107423687B CN201710453665.1A CN201710453665A CN107423687B CN 107423687 B CN107423687 B CN 107423687B CN 201710453665 A CN201710453665 A CN 201710453665A CN 107423687 B CN107423687 B CN 107423687B
- Authority
- CN
- China
- Prior art keywords
- head portrait
- frame
- image
- existing head
- face
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
- G06V40/171—Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
Abstract
The invention provides an identity authentication method and device based on a face recognition technology, wherein the authentication method comprises the following steps: collecting the existing head portrait photos of the identification personnel to be verified; carrying out characteristic part recognition on the collected existing head portrait photos, and positioning at least three characteristic part points; generating an effective image capturing area in the image capturing frame according to the scaling, and generating a display area frame corresponding to the three characteristic parts at the corresponding position of the effective image capturing area; the position and the angle of the identification personnel to be verified are adjusted in front of the image acquisition device, and then the face image acquisition is carried out for identity authentication. According to the identity authentication method based on the face recognition technology, when identity authentication is carried out on an identified person to be verified, three characteristic parts in the face of the identified person are projected into the corresponding display area frame, and the problem that the head of a user is prone to horizontal deflection or vertical inclination is solved, so that the human head image can be rapidly collected, accurate comparison can be carried out, and working efficiency is improved.
Description
Technical Field
The invention relates to a face recognition technology, in particular to an identity authentication method and device based on the face recognition technology.
Background
Face recognition is a biometric technology for identity recognition based on facial feature information of a person. The method comprises the steps of collecting images or video streams containing human faces by using a camera or a camera, automatically detecting and tracking the human faces in the images, and further performing a series of related technologies of the detected human faces, wherein the related technologies are generally called portrait identification and facial identification. The facial recognition method finds out the labeling information of human five sense organs, carries out facial judgment, and is widely applied to facial image acquisition, facial positioning, facial recognition preprocessing, identity confirmation, identity search and the like.
In the face recognition system in the prior art, when a camera or a camera collects a face image, the face recognition system does not prompt a user to adjust a photographing posture, when the user photographs, the head of the user easily horizontally deflects or inclines up and down, the whole head cannot enter a photographing area of the camera, face collection failure is caused, and face recognition efficiency is reduced.
Disclosure of Invention
In order to solve the above problems, the present invention provides an identity authentication method based on a face recognition technology, comprising the following steps:
s100: collecting the existing head portrait photos of the identification personnel to be verified;
s110: identifying the characteristic parts of the acquired existing head portrait photos, and positioning at least three characteristic part positions, wherein the relative positions of two characteristic part positions are in the horizontal direction, and the relative positions of the two characteristic part positions and the other characteristic part position positions are in the vertical direction;
s120: generating an effective image capturing area in the image capturing frame according to the scaling and the existing head portrait image capturing frame, and generating display area frames corresponding to the three characteristic parts at the corresponding positions of the effective image capturing area according to the scaling and the positions of the three characteristic parts positioned in the S110 in the existing head portrait image capturing frame;
s130: and adjusting the position and the angle of the person to be verified in front of the image acquisition device until three characteristic parts in the face of the person to be verified are projected into a display area frame of the corresponding characteristic part in the effective image acquisition area, and acquiring the face image for identity authentication.
Further, in S120, the effective image capturing area generating method includes calculating the aspect ratios of the image capturing frame and the existing head portrait image capturing frame, and generating the effective image capturing area in the image capturing frame according to the aspect ratio of the existing head portrait image capturing frame.
Further, if the aspect ratio of the image taking frame is consistent with that of the existing head portrait image taking frame, the whole image taking frame is an effective image taking area;
and if the aspect ratio of the image taking frame is not consistent with that of the existing head portrait image taking frame, the image taking frame is divided into an effective image taking area and a standby area.
Further, the proportion of the position of the display area frame corresponding to each feature position in the effective image capturing area to the position of each feature position in the existing head portrait image capturing frame is consistent.
Further, the three feature parts include a left eye part, a right eye part and a nose part.
Further, after S130, comparing the face image obtained by the image acquisition device with the existing head portrait photo, and if the comparison between the obtained face image and the existing head portrait photo meets the authentication requirement, performing a living body identification operation; and if the obtained face image does not accord with the authentication requirement by comparing with the existing head portrait photo, continuing to carry out face image acquisition operation.
Further, the living body identification operation includes the steps of:
s140: according to the S110, positioning information of the eyes and the nose in the collected existing head portrait picture, displaying a positioning line of one eye and a display area frame of the other eye and the nose at the corresponding position in the effective image-taking area;
s150: the position and the angle of an identification person to be verified are adjusted in front of the image acquisition device, the identification person to be verified closes the eyes corresponding to the display positioning line in the image taking frame until a coincident line of an upper eye lip and a lower eye lip in the image taking frame is coincident with the positioning line, and the other eye and the nose are projected into the corresponding display area frame; and then acquiring a face image for identity authentication.
Further, the step S100 of collecting the existing head portrait photo of the person to be authenticated includes retrieving from the personal information system library or scanning and reading from the portable certificate.
Further, if the existing head portrait photos are simultaneously called from the personal information system library and scanned and read from the portable certificate, the manufacturing time of the existing head portrait photos in the personal information system library and the portable certificate is compared;
taking the existing head portrait photo which is manufactured later as the existing head portrait photo which needs to be acquired in S100.
The invention also provides an identity authentication device based on the face recognition technology, which comprises:
the existing head portrait acquisition module: the system is used for collecting the existing head portrait photo of the identification person to be verified;
the identification and positioning module: the system is used for carrying out feature part identification on the collected existing head portrait photos and positioning at least three feature parts, wherein the relative position of two feature parts is in the horizontal direction, and the relative position of the two feature parts and the other feature part is in the vertical direction;
the picture taking frame control module: the image capturing device is used for generating an effective image capturing area in the image capturing frame according to the scaling and the existing head portrait image capturing frame, and generating a display area frame corresponding to the characteristic part in the S110 at the corresponding position of the effective image capturing area according to the scaling and the position of the three characteristic parts positioned in the S110 in the existing head portrait image capturing frame;
and the acquisition and authentication module is used for adjusting the position and the angle of the identification person to be verified in front of the image acquisition device until three characteristic parts in the face of the identification person to be verified are projected into a display area frame of the corresponding characteristic part in the effective image acquisition area, and then, the face image acquisition is carried out for identity authentication.
According to the identity authentication method based on the face recognition technology, the display area frames of the three characteristic parts are displayed in the image taking frame according to the positions of the three characteristic parts in the existing head portrait picture, when the identity authentication is carried out by an identification person to be verified, the three characteristic parts in the face of the identification person are projected into the corresponding display area frames, the problem that the head of the user is easy to horizontally deflect or vertically incline is solved, so that the head image of the human body can be rapidly acquired, the accurate comparison is carried out, and the working efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of an identity authentication method based on a face recognition technology provided by the present invention;
FIG. 2 is a schematic diagram of a conventional head portrait photo;
FIG. 3 is a schematic view of a portable document;
FIG. 4 is a diagram illustrating an image capturing frame according to a preferred embodiment;
FIG. 5 is a diagram of a second preferred embodiment of an image capture frame;
FIG. 6 is a third schematic view of a preferred embodiment of an image capture frame;
FIG. 7 is a flowchart of a living body identification operation;
fig. 8 is a schematic diagram of an identity authentication device based on a face recognition technology provided in the present invention.
Reference numerals:
10 portable certificate 20 with existing head portrait photo 30 characteristic part
40 effective image capture area 60 spare area of image frame 50
70 display area frame
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an identity authentication method based on a face recognition technology, which is shown in figure 1: the method comprises the following steps:
s100: acquiring an existing head portrait picture 20 of an identified person to be verified;
the existing photo of the avatar 20 (shown in FIG. 2) can be read from a personal information system library or a portable document 10, including a police personal information system library, a social security personal information system library, a bank personal information system library, an insurance personal information system library, etc.; the portable certificates 10 (shown in fig. 3) comprise a social security card, an identity card, a driver's license and other portable certificates 10 containing personal head portrait photo information;
s110: identifying the characteristic parts 30 of the acquired existing head portrait picture 20, and positioning at least three characteristic part points, wherein the relative positions of two characteristic parts 30 are in the horizontal direction, and the relative positions of the two characteristic parts 30 and another characteristic part 30 are in the vertical direction;
selecting at least three characteristic parts 30 from the acquired existing head portrait picture 20, and positioning the position information of the three characteristic parts 30 in the existing head portrait picture 20, namely the position information of the three characteristic parts 30 in the existing head portrait picture taking frame by taking the frame (namely the existing head portrait picture taking frame) of the existing head portrait picture 20 as the reference;
the three features 30 are preferably left eye, right eye and nose; the relative positions of the left eye part and the right eye part are in the horizontal direction, and the position information of the left eye part and the right eye part is used for positioning the position of the horizontal direction in which the face of the person to be verified and identified is aligned when the face image is collected; the relative positions of the left eye part and the right eye part and the nose part are in the vertical direction, and the position information of the left eye part and the right eye part is used for positioning the positions of the two parts in the horizontal direction when the face image of the person to be verified and identified is collected; on the other hand, according to the knowledge of geometry, a plane is determined by the three points, the left eye part, the right eye part and the nose part are selected as the three characteristic parts, so that the angle of the identification personnel to be verified can be fixed, and the problem that the head of a human body horizontally deflects or inclines up and down is ensured, so that the acquired face image cannot be compared with the existing head portrait photo. As shown in fig. 2, the position information of the three feature parts 30 in the existing head portrait capturing frame can be obtained by calculating the distances from a1, a2, B1, B2, C1 and C2 through positioning;
s120: generating an effective image capturing area 50 in the image capturing frame 40 according to the scaling and the position of the three feature parts 30 positioned in the step S110 in the existing head portrait image capturing frame, and generating a display area frame 70 corresponding to the three feature parts 30 in the corresponding position of the effective image capturing area 50 according to the scaling and the position of the three feature parts 30 in the existing head portrait image capturing frame;
the acquisition authentication module is in communication connection with the control module of the image taking frame 40, the image taking frame control module is in communication connection with a terminal display, the terminal display is in communication connection with the image acquisition device, when the image acquisition device is started, the image taking frame 40 is displayed on the terminal display, and an effective image taking area 50 is generated in the image taking frame 40 according to the existing head portrait image taking frame according to the scaling; according to the scaling, generating a display area frame 70 corresponding to the three characteristic parts 30 at the corresponding positions of the effective image capturing area 50 according to the position information of the three characteristic parts 30 in the existing head portrait image capturing frame;
s130: the position and the angle of the person to be identified are adjusted in front of the image acquisition device until three characteristic parts 30 in the face of the person to be identified are projected into the display area frame 70 of the corresponding characteristic part 30 in the effective image capturing area 50, and then the face image is acquired for identity authentication.
When the person to be authenticated is subjected to face image acquisition by taking a picture or shooting, the position and the angle of the person to be authenticated need to be adjusted in front of the image acquisition device until three characteristic parts 30 in the face of the person to be authenticated are projected into the display area frame 70 of the corresponding characteristic part 30 in the effective image acquisition area 50, then the person to be authenticated is subjected to face image acquisition, and is compared with the existing head portrait picture 20 of the person to be authenticated, which is acquired in the step S100, so that preliminary identity authentication is performed. When the characteristic portion 30 in the face of the person to be authenticated is projected into the display area frame 70 of the corresponding characteristic portion 30 in the effective image capturing area 50, a certain error may be allowed, that is, when the center of the display area frame 70 is not coincident with the center of the characteristic portion 30, the characteristic portion 30 in the face of the person to be authenticated is projected into the display area frame 70 of the corresponding characteristic portion 30 in the effective image capturing area 50, which is considered as: the error is controlled within plus or minus 0.5 cm.
According to the identity authentication method based on the face recognition technology, the display area frames of the three characteristic parts are displayed in the image taking frame according to the positions of the three characteristic parts in the existing head portrait picture, when the identity authentication is carried out by an identification person to be verified, the three characteristic parts in the face of the identification person are projected into the corresponding display area frames, the problem that the head of the user is easy to horizontally deflect or vertically incline is solved, so that the head image of the human body can be rapidly acquired, the accurate comparison is carried out, and the working efficiency is improved.
In the process of making the existing head portrait photo 20, the acquiring person is required to expose the ears on the left and right sides and then acquire the head portrait, and the ears on the left and right sides are located in the middle of the left and right sides and the up and down direction of the existing head portrait photo 20 and are located on the same horizontal line, which belong to a relatively significant characteristic part, so that after S130, when comparing the face image with the existing head portrait photo 20, the accurate scaling of the face image acquired by the image acquiring device and the existing head portrait photo 20 can be calculated according to the following method, so as to perform accurate comparison:
the distance X1 between the two ears in the existing head portrait picture 20 is measured in a positioning way;
the distance X2 between two ears on the face image obtained by the positioning measurement image acquisition device;
the scaling ratio is X1: X2.
When the face image and the existing head portrait photo 20 are compared, the comparison can be performed using X1: X2 as scaling ratios.
Preferably, in S120, the effective image capturing area 50 is generated by respectively calculating the aspect ratios of the image capturing frame 40 and the existing head portrait image capturing frame, and generating the effective image capturing area 50 in the image capturing frame 40 according to the aspect ratio of the existing head portrait image capturing frame.
Preferably, if the aspect ratio of the image-taking frame 40 is consistent with the aspect ratio of the existing head portrait image-taking frame, the whole image-taking frame 40 is the effective image-taking area 50; if the aspect ratio of the frame 40 is not the same as the aspect ratio of the existing head portrait frame, the frame 40 is divided into an effective image capture area 50 and a spare area 60.
Preferably, the effective image capturing area 50 and the standby area 60 are both quadrilateral.
In specific implementation, the length-width ratios of the image taking frame 40 and the existing head portrait image taking frame on the terminal display are respectively calculated, if the length-width ratio of the image taking frame 40 is consistent with the length-width ratio of the existing head portrait image taking frame (as shown in fig. 4), the whole image taking frame 40 is an effective image taking area 50, the display area frames 70 corresponding to the three characteristic parts 30 can be directly displayed in the image taking frame 40 according to the position information of the three characteristic parts 30 in the existing head portrait image taking frame and the proportion of the image taking frame 40 to the existing head portrait image taking frame, when the person to be verified carries out face image acquisition, the face of the person to be verified is displayed in the whole image taking frame 40, so that the acquired face image and the existing head portrait image 20 form a certain proportion, and the acquisition authentication module is convenient to compare the two images;
if the aspect ratio of the image taking frame 40 is not the same as that of the existing head portrait image taking frame, when the person to be verified collects the face image, the face of the person to be verified is located in the whole image taking frame 40, the whole face will be lengthened or shortened, each feature of the face will be enlarged or reduced, and the comparison result between the collected face image and the existing head portrait image 20 will be affected; meanwhile, in order to maximize the utilization rate of the image capturing frame 40, the image capturing frame 40 is controlled in the following two ways:
if the aspect ratio of the frame 40 is greater than the aspect ratio of the existing head portrait frame, as shown: if L1/L2 is greater than L3/L4 (as shown in fig. 5), the image capturing frame 40 is divided into two areas, i.e., an upper area and a lower area, the upper edge of the image capturing frame 40 in the horizontal direction is one side of the effective image capturing area 50, the upper area is the effective image capturing area 50, and the lower area is the standby area 60; the display area frames 70 corresponding to the three characteristic parts 30 can be directly displayed in the image-taking frame 40 according to the position information of the three characteristic parts 30 in the existing head portrait image-taking frame and the proportion of the image-taking frame 40 to the existing head portrait image-taking frame, when the person to be verified collects the face image, the face of the person to be verified is displayed in the effective image-taking area 50, so that the collected face image is in a certain proportion to the existing head portrait photo 20, and the collection and authentication module can conveniently compare the two images;
if the aspect ratio of the frame 40 is smaller than that of the existing head portrait frame, as shown in the figure: if L1/L2 is smaller than L3/L4 (as shown in fig. 6), the image frame 40 is divided into two areas, namely, a left area and a right area, wherein the left edge of the image frame 40 in the vertical direction is taken as one side of the effective image capturing area 50, the left area is taken as the effective image capturing area 50, and the right area is taken as the standby area 60; the display area frames 70 corresponding to the three characteristic portions 30 can be directly displayed in the image-taking frame 40 according to the position information of the three characteristic portions 30 in the existing head portrait image-taking frame and the proportion of the image-taking frame 40 to the existing head portrait image-taking frame, when the person to be verified collects the face image, the face of the person to be verified is displayed in the effective image-taking area 50, so that the collected face image is in a certain proportion to the existing head portrait photo 20, and the collection and authentication module can conveniently compare the two.
The above spare area 60 may be used for the purpose of having the person to be authenticated personally sign a signature, and the like.
Preferably, the position of the display area frame 70 corresponding to each feature 30 in the effective image capturing area 50 is in accordance with the ratio of the position of each feature 30 in the existing head portrait capturing frame.
In specific implementation, in order to enable the identification person to be verified to obtain the face information easily compared with the existing head portrait photo 20 most efficiently when the person collects the face image, the ratio of the position of each feature part 30 in the effective image capturing area 50 to the position of each feature part 30 in the existing head portrait image capturing frame is consistent.
Preferably, after S130, comparing the face image obtained by the image acquisition device with the existing head portrait photo 20, and if the comparison between the obtained face image and the existing head portrait photo 20 meets the authentication requirement, performing a living body recognition operation; if the obtained face image does not meet the authentication requirement by comparing with the existing head portrait photo 20, the image capturing operation is continued, as shown in fig. 7.
In specific implementation, in order to prevent the speculative taker from taking a picture or taking a picture instead of the human face, after S130, the human face image acquired by the image acquisition device needs to be preliminarily compared with the existing head portrait picture 20 for authentication, and if the obtained human face image is compared with the existing head portrait picture 20 to meet the authentication requirement, a living body recognition operation needs to be performed; if the obtained face image does not meet the authentication requirement by comparing with the existing head portrait picture 20, the image-taking operation is continued until the obtained face image meets the authentication requirement by comparing with the existing head portrait picture 20.
Preferably, the living body identification operation includes the steps of:
s140: according to the step S110, the position information of the eyes and the nose is located in the acquired existing head portrait photo 20, the locating line of one eye is displayed at the corresponding position in the effective image capturing area 50, and the display area frame 70 of the other eye and the nose is displayed;
s150: the position and the angle of the identification person to be verified are adjusted in front of the image acquisition device, the identification person to be verified closes the eyes corresponding to the display positioning line in the image taking frame 40 until the coincidence line of the upper eye lip and the lower eye lip in the image taking frame 40 is coincided with the positioning line, and the other eye and the nose are projected into the corresponding display area frame 70; and then acquiring a face image for identity authentication.
In specific implementation, the operation is adopted, living body recognition can be carried out, and a speculative skimming person is prevented from adopting a photo to replace the face of a human body for authentication.
Preferably, capturing the existing photo 20 of the person to be authenticated includes retrieving from a personal information system library or scanning from the portable document 10 in step S100.
In specific implementation, the existing head portrait photo 20 of the person to be authenticated in S100 can be simultaneously retrieved from the personal information system library and scanned and read from the portable document 10, or only the personal information system library or any one of the portable document 10 can be read. If the terminal does not have the function of reading the portable certificate 10, such as a mobile phone without the NFC function, the existing head portrait photo 20 can be read only from the personal information system library; if the terminal has the function of reading the portable certificate 10, the existing head portrait photo 20 can be read from the portable certificate 10.
Preferably, if the existing photo 20 is simultaneously retrieved from the personal information system library and scanned from the portable document 10, the production times of the existing photo 20 in the personal information system library and the portable document 10 are compared; the existing avatar photograph 20 to be created later is taken as the existing avatar photograph 20 to be captured in S100.
In specific implementation, as the characteristic part 30 on the face of each person changes more or less with the passage of time, if the terminal can read the existing head portrait photos 20 from the personal information system and the portable certificate 10 at the same time, and the making time of the information in the personal information system library is not necessarily consistent with the making time of the information in the portable certificate 10, for example, the making time of the photo in the social security card is not necessarily consistent with the making time of the head portrait photo on the identity card, the making times of the head portrait photo information in the personal information system and the portable certificate 10 need to be compared; the existing avatar photograph 20 to be created later is taken as the existing avatar photograph 20 to be captured in S100.
The present invention also provides an identity authentication device based on a face recognition technology, as shown in fig. 8, including:
the existing head portrait acquisition module: the method comprises the steps of acquiring an existing head portrait photo 20 of a person to be identified;
the identification and positioning module: the method is used for identifying the characteristic parts 30 of the acquired existing head portrait photo 20 and positioning at least three characteristic parts, wherein the relative positions of two characteristic parts 30 are in the horizontal direction, and the relative positions of the two characteristic parts 30 and another characteristic part 30 are in the vertical direction;
the picture taking frame control module: generating an effective image capturing area 50 in the image capturing frame 40 according to the scaling according to the frame of the existing head portrait photo 20, and generating a display area frame 70 corresponding to the feature 30 in S110 at the corresponding position of the effective image capturing area 50 according to the scaling and the position of the three feature 30 positioned in S110 in the frame of the existing head portrait photo 20;
and the acquisition and authentication module is used for adjusting the position and the angle of the to-be-verified person in front of the image acquisition device until the three characteristic parts 30 in the face of the to-be-verified person are projected into the display area frame 70 of the corresponding characteristic part 30 in the effective image capturing area 50, and then the face image acquisition is carried out for identity authentication.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (3)
1. An identity authentication method based on a face recognition technology is characterized by comprising the following steps:
s100: collecting the existing head portrait photos of the identification personnel to be verified;
s110: identifying the characteristic parts of the acquired existing head portrait photos, and positioning at least three characteristic part positions, wherein the relative positions of two characteristic part positions are in the horizontal direction, and the relative positions of the two characteristic part positions and the other characteristic part position positions are in the vertical direction;
s120: generating an effective image capturing area in the image capturing frame according to the scaling and the existing head portrait image capturing frame, and generating display area frames corresponding to the three characteristic parts at the corresponding positions of the effective image capturing area according to the scaling and the positions of the three characteristic parts positioned in the S110 in the existing head portrait image capturing frame;
s130: the position and the angle of the person to be verified are adjusted in front of the image acquisition device until three characteristic parts in the face of the person to be verified are projected into a display area frame of the corresponding characteristic part in the effective image capturing area, and then the face image is acquired for identity authentication;
the three characteristic parts comprise a left eye part, a right eye part and a nose part;
after S130, comparing the face image acquired by the image acquisition device with the existing head portrait photo, and if the comparison between the acquired face image and the existing head portrait photo meets the authentication requirement, performing living body identification operation; if the obtained face image is not in accordance with the authentication requirement by comparison with the existing head portrait photo, continuing to carry out face image acquisition operation;
the living body identification operation includes the steps of:
s140: according to the S110, positioning information of the eyes and the nose in the collected existing head portrait picture, displaying a positioning line of one eye and a display area frame of the other eye and the nose at the corresponding position in the effective image-taking area;
s150: the position and the angle of an identification person to be verified are adjusted in front of the image acquisition device, the identification person to be verified closes the eyes corresponding to the display positioning line in the image taking frame until a coincident line of an upper eye lip and a lower eye lip in the image taking frame is coincident with the positioning line, and the other eye and the nose are projected into the corresponding display area frame; then, acquiring a face image for identity authentication;
the step S100 of collecting the existing head portrait photo of the person to be identified comprises the steps of calling from a personal information system library or scanning and reading from a portable certificate;
if the existing head portrait photos are taken from the personal information system library and scanned and read from the portable certificate at the same time, the manufacturing time of the existing head portrait photos in the personal information system library and the portable certificate is compared;
taking the existing head portrait photo which is manufactured later as the existing head portrait photo which needs to be acquired in S100.
2. The identity authentication method based on the face recognition technology as claimed in claim 1, wherein: the proportion of the position of the display area frame corresponding to each characteristic part in the effective image capturing area is consistent with the proportion of the position of each characteristic part in the existing head portrait image capturing frame.
3. An identity authentication device based on face recognition technology, comprising:
the existing head portrait acquisition module: the system is used for collecting the existing head portrait photo of the identification person to be verified;
the identification and positioning module: the system is used for carrying out feature part identification on the collected existing head portrait photos and positioning at least three feature parts, wherein the relative position of two feature parts is in the horizontal direction, and the relative position of the two feature parts and the other feature part is in the vertical direction;
the picture taking frame control module: the image capturing device is used for generating an effective image capturing area in the image capturing frame according to the scaling and the existing head portrait image capturing frame, and generating a display area frame corresponding to the characteristic part in the S110 at the corresponding position of the effective image capturing area according to the scaling and the position of the three characteristic parts positioned in the S110 in the existing head portrait image capturing frame;
respectively calculating the length-width ratio of the image taking frame and the existing head portrait image taking frame, and generating an effective image taking area in the image taking frame according to the length-width ratio of the existing head portrait image taking frame;
if the length-width ratio of the image taking frame is consistent with the length-width ratio of the existing head portrait image taking frame, the whole image taking frame is an effective image taking area;
if the aspect ratio of the image taking frame is not consistent with the aspect ratio of the existing head portrait image taking frame, the image taking frame is divided into an effective image taking area and a standby area;
the acquisition and authentication module is used for adjusting the position and the angle of the person to be verified in front of the image acquisition device until three characteristic parts in the face of the person to be verified are projected into a display area frame of the corresponding characteristic part in the effective image acquisition area, and then, the face image acquisition is carried out for identity authentication; the three characteristic parts comprise a left eye part, a right eye part and a nose part;
comparing the face image acquired by the image acquisition device with the existing head portrait photo, and if the comparison between the acquired face image and the existing head portrait photo meets the authentication requirement, performing living body identification operation; if the obtained face image is not in accordance with the authentication requirement by comparison with the existing head portrait photo, continuing to carry out face image acquisition operation;
the living body identification operation includes the steps of:
s140: according to the S110, positioning information of the eyes and the nose in the collected existing head portrait picture, displaying a positioning line of one eye and a display area frame of the other eye and the nose at the corresponding position in the effective image-taking area;
s150: the position and the angle of an identification person to be verified are adjusted in front of the image acquisition device, the identification person to be verified closes the eyes corresponding to the display positioning line in the image taking frame until a coincident line of an upper eye lip and a lower eye lip in the image taking frame is coincident with the positioning line, and the other eye and the nose are projected into the corresponding display area frame; and then acquiring a face image for identity authentication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710453665.1A CN107423687B (en) | 2017-06-15 | 2017-06-15 | Identity authentication method and device based on face recognition technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710453665.1A CN107423687B (en) | 2017-06-15 | 2017-06-15 | Identity authentication method and device based on face recognition technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107423687A CN107423687A (en) | 2017-12-01 |
CN107423687B true CN107423687B (en) | 2020-12-29 |
Family
ID=60428181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710453665.1A Active CN107423687B (en) | 2017-06-15 | 2017-06-15 | Identity authentication method and device based on face recognition technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107423687B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109359508A (en) * | 2018-08-27 | 2019-02-19 | 贵阳朗玛信息技术股份有限公司 | A kind of head portrait processing method and processing device |
CN109795320A (en) * | 2019-01-26 | 2019-05-24 | 南京云计趟信息技术有限公司 | A kind of unattended alcohol detection method based on recognition of face |
CN110874577B (en) * | 2019-11-15 | 2022-04-15 | 杭州东信北邮信息技术有限公司 | Automatic verification method of certificate photo based on deep learning |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6920236B2 (en) * | 2001-03-26 | 2005-07-19 | Mikos, Ltd. | Dual band biometric identification system |
CN101382870A (en) * | 2008-10-15 | 2009-03-11 | 深圳市杰特电信控股有限公司 | Electronic drafting method |
CN101771539B (en) * | 2008-12-30 | 2012-07-04 | 北京大学 | Face recognition based method for authenticating identity |
CN201465140U (en) * | 2009-07-03 | 2010-05-12 | 昆明学院 | Specular reflection type human face positioning device |
CN102136069A (en) * | 2010-01-25 | 2011-07-27 | 华晶科技股份有限公司 | Object image correcting device and method for identification |
CN103780824A (en) * | 2012-10-19 | 2014-05-07 | 爱国者数码科技有限公司 | Digital image shooting device for image composition adjustment and method for image composition adjustment |
CN105095893A (en) * | 2014-05-16 | 2015-11-25 | 北京天诚盛业科技有限公司 | Image acquisition device and method |
CN106572049B (en) * | 2015-10-09 | 2019-08-27 | 腾讯科技(深圳)有限公司 | A kind of auth method and device |
CN105631039B (en) * | 2016-01-15 | 2019-02-15 | 北京邮电大学 | A kind of picture browsing method |
CN105740688B (en) * | 2016-02-01 | 2021-04-09 | 腾讯科技(深圳)有限公司 | Unlocking method and device |
CN106599664A (en) * | 2016-12-15 | 2017-04-26 | 北京奇虎科技有限公司 | Iris unlocking method and device and mobile terminal |
CN106815914A (en) * | 2017-01-25 | 2017-06-09 | 辛明江 | A kind of gate control system and unlocking method based on face recognition technology |
-
2017
- 2017-06-15 CN CN201710453665.1A patent/CN107423687B/en active Active
Non-Patent Citations (2)
Title |
---|
Sparsity preserving projections with applications to face recognition;Lishan Qiao 等;《Pattern Recognition》;20100131;第43卷(第1期);第331-341页 * |
高安全性人脸识别系统中的唇语识别算法研究;任玉强 等;《计算机应用研究》;20170430;第34卷(第4期);第1221-1225、1230页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107423687A (en) | 2017-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110738142B (en) | Method, system and storage medium for adaptively improving face image acquisition | |
US8836777B2 (en) | Automatic detection of vertical gaze using an embedded imaging device | |
JP4899551B2 (en) | Authentication device, authentication method, authentication program, and computer-readable recording medium | |
US8314854B2 (en) | Apparatus and method for image recognition of facial areas in photographic images from a digital camera | |
CN106529414A (en) | Method for realizing result authentication through image comparison | |
US20100329568A1 (en) | Networked Face Recognition System | |
CN105740778B (en) | Improved three-dimensional human face in-vivo detection method and device | |
US20060147093A1 (en) | ID card generating apparatus, ID card, facial recognition terminal apparatus, facial recognition apparatus and system | |
US20190286798A1 (en) | User authentication method using face recognition and device therefor | |
JP5127531B2 (en) | Image monitoring device | |
WO2018192448A1 (en) | People-credentials comparison authentication method, system and camera | |
CN107423687B (en) | Identity authentication method and device based on face recognition technology | |
KR101436290B1 (en) | Detection of fraud for access control system of biometric type | |
KR101821144B1 (en) | Access Control System using Depth Information based Face Recognition | |
JP2007272685A (en) | Automatic trimming method, device and program | |
CN109255282B (en) | Biological identification method, device and system | |
US11315360B2 (en) | Live facial recognition system and method | |
JP4521086B2 (en) | Face image recognition apparatus and face image recognition method | |
CN114511915B (en) | Trusted certificate photo acquisition system and method based on mobile client | |
CN109087429B (en) | Method for checking consistency of library book-borrowing testimony of witness based on face recognition technology | |
KR101053253B1 (en) | Apparatus and method for face recognition using 3D information | |
CN106156739B (en) | A kind of certificate photo ear detection and extracting method based on face mask analysis | |
JPWO2020213166A1 (en) | Image processing device, image processing method, and image processing program | |
US11354940B2 (en) | Method and apparatus for foreground geometry and topology based face anti-spoofing | |
JP2005084979A (en) | Face authentication system, method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 361008 Room 502, No.18, guanri Road, phase II, software park, Xiamen City, Fujian Province Patentee after: YLZ INFORMATION TECHNOLOGY Co.,Ltd. Patentee after: Yilianzhong Zhiding (Xiamen) Technology Co., Ltd Address before: 361008 Xiamen City, Fujian Province Room 502, No. 18, guanri Road, phase II, software park, Xiamen City, Fujian Province Patentee before: YLZ INFORMATION TECHNOLOGY Co.,Ltd. Patentee before: Yilianzhong (Xiamen) big data Technology Co., Ltd |
|
CP03 | Change of name, title or address |