CN106529512B - Living body faces verification method and device - Google Patents
Living body faces verification method and device Download PDFInfo
- Publication number
- CN106529512B CN106529512B CN201611162606.0A CN201611162606A CN106529512B CN 106529512 B CN106529512 B CN 106529512B CN 201611162606 A CN201611162606 A CN 201611162606A CN 106529512 B CN106529512 B CN 106529512B
- Authority
- CN
- China
- Prior art keywords
- face
- verified
- living body
- body faces
- image
- 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
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/161—Detection; Localisation; Normalisation
- G06V40/166—Detection; Localisation; Normalisation using acquisition arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/145—Illumination specially adapted for pattern recognition, e.g. using gratings
-
- 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/40—Spoof detection, e.g. liveness detection
- G06V40/45—Detection of the body part being alive
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Image Analysis (AREA)
Abstract
A kind of living body faces verification method and device.The living body faces verification method includes that dynamic changes the mode for being irradiated to the irradiation light of face to be verified, and the image of several faces to be verified corresponding with each mode respectively is shot, and determine whether face to be verified is living body faces based on the reflective character of face to be verified in multiple image.It includes light source, image capturing device and processing unit that the living body faces, which verify device,.Light source is configured to dynamic and changes the mode for being irradiated to the irradiation light of face to be verified;Image capturing device is configured to shoot the image of several faces to be verified corresponding with each mode respectively;The reflective character that processing unit is configured to face to be verified in multiple image determines whether face to be verified is living body faces.The living body faces verification method and device realize the verifying of living body faces, and thus improve the safety of face verification method and device.
Description
Technical field
The embodiment of the present invention is related to technical field of face recognition, relate more specifically to a kind of living body faces verification method and
Device.
Background technique
The authentication system for being currently based on face has been used widely.With the authentication system based on face
Popularization, the method for having derived some malicious attack face authentications.
In the authentication system based on face of most original, based on the human face photo of current shooting with it is pre-stored
Comparison between human face photo, Lai Jinhang authentication.However, this based on face when will be placed in by the photo of counterfeiter
When before the camera in authentication system that photo compares, this authentication system compared based on human face photo may lead to
Cross subscriber authentication.In other words, malicious user can be used by the photo of counterfeiter and carry out malicious attack (that is, photo is attacked
Hit), this authentication system compared based on human face photo cannot resist photo attack.
Summary of the invention
One embodiment of the disclosure provides a kind of living body faces verifying device, and it includes light which, which verifies device,
Source, image capturing device and processing unit.Light source is configured to dynamic and changes the mode for being irradiated to the irradiation light of face to be verified;Figure
As filming apparatus is configured to shoot the image of several faces to be verified corresponding with each mode respectively;Processing unit configuration
To determine whether the face to be verified is living body people based on the reflective character of face to be verified described in the multiple image
Face.
For example, the light source is configured in a kind of living body faces verifying device of one embodiment offer of the disclosure
Dynamic changes color and/or the position of the irradiation light, so that dynamic changes the irradiation for being irradiated to the face to be verified
The mode of light.
For example, the light source is display in a kind of living body faces verifying device of one embodiment offer of the disclosure
Screen, the display screen are configured to dynamically change the photograph for being irradiated to the face to be verified by changing shown content
Penetrate the mode of light.
For example, the display screen is matched in a kind of living body faces verifying device of one embodiment offer of the disclosure
It is set to display predetermined pattern and dynamic changes color and/or the position of the predetermined pattern.
For example, the light source is configured in a kind of living body faces verifying device of one embodiment offer of the disclosure
Randomly change according to pre-defined rule or dynamically the mode for being irradiated to the irradiation light of the face to be verified.
For example, the processing unit is also in a kind of living body faces verifying device of one embodiment offer of the disclosure
The initial time for being configured to verify in each living body faces generates unique identifier corresponding with the secondary face living body verifying.
For example, the processing unit is also in a kind of living body faces verifying device of one embodiment offer of the disclosure
It is configured to generate the sequence of real numbers changed over time according to the unique identifier, and dynamic is realized based on the sequence of real numbers
Change the mode for being irradiated to the irradiation light of face to be verified.
For example, in a kind of living body faces verifying device of one embodiment offer of the disclosure, described image shooting dress
It sets and is configured to recorded video to shoot the image of several faces to be verified corresponding with each mode respectively.
For example, the processing unit is also in a kind of living body faces verifying device of one embodiment offer of the disclosure
It is configured to choose the part for being directed to same face characteristic in the multiple image, is then based on the reflective character of the part,
And determine whether the face to be verified is living body faces according to the reflective character.
For example, the processing unit is also in a kind of living body faces verifying device of one embodiment offer of the disclosure
It is configured to choose the part of same position in the multiple image, then calculates the reflective character of the part, and according to institute
It states reflective character and determines whether the face to be verified is living body faces.
For example, the processing unit is also in a kind of living body faces verifying device of one embodiment offer of the disclosure
Be configured in choosing the multiple image before the part of same position, registration process is carried out to the multiple image so that
The position of face in the multiple image is almost the same.
For example, the processing unit is also in a kind of living body faces verifying device of one embodiment offer of the disclosure
It is configured that the correlation for calculating the multiple image and the mode of corresponding irradiation light, and the calculating according to the correlation
As a result judge whether the face to be verified is living body faces.
For example, the processing unit is also in a kind of living body faces verifying device of one embodiment offer of the disclosure
It is configured that and judges whether the face to be verified faces except the irradiation light when shooting image based on the multiple image
Qiang Guang avoids the environment of strong light direct beam from carrying out the living body faces verifying if so, user is then prompted to find.
For example, the processing unit is matched in a kind of living body faces verifying device of one embodiment offer of the disclosure
It is set to after the reflective character for measuring face described in the multiple image, by classifier trained in advance to determine
State whether face to be verified is living body faces.
Another embodiment of the disclosure provides a kind of living body faces verifying device, and living body faces verifying device includes
Light source, image capturing device, information transceiver and processing unit.Light source is configured to dynamic change and is irradiated to witness to be tested
The mode of the irradiation light of face;Image capturing device is configured to shooting several described faces to be verified corresponding with each mode respectively
Image;Information transceiver is configured to the image of several faces to be verified being sent to server, from institute
It states server reception and determines that the face to be verified is based on the reflective character of face to be verified described in the multiple image
The no judgement information for living body faces, processing unit are based on judgement information execution and are verified or do not pass through operation.
The further embodiment of the disclosure provides a kind of living body faces verifying device, and living body faces verifying device includes
Information transceiver and processing unit.The information transceiver is configured to receive several witnesses to be tested from client
The image of face, the reflective character that the processing unit is configured to face to be verified described in the multiple image determine institute
State whether face to be verified is living body faces, the information transceiver is additionally configured to for the processing unit being based on described
The reflective character of face to be verified described in multiple image determine the face to be verified whether be living body faces judgement letter
Breath is sent to the client.
The further embodiment of the disclosure provides a kind of living body faces verifying device, and living body faces verifying device includes
Processor and memory.Computer program instructions are stored in the memory, the computer program instructions are by the processing
Device executes following steps when running: obtaining the difference shot when dynamically changing the mode for the irradiation light for being irradiated to face to be verified
The image of several faces to be verified corresponding with each mode;And based on face to be verified described in the multiple image
Reflective character determine whether the face to be verified is living body faces.
The further embodiment of the disclosure provides a kind of living body faces verification method, which includes
Dynamic changes the mode for being irradiated to the irradiation light of face to be verified, and shoots that corresponding with each mode respectively several are described to be tested
The image of witness's face, and the witness to be tested is determined based on the reflective character of face to be verified described in the multiple image
Whether face is living body faces.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, described in dynamic change
The color of irradiation light and/or position carry out dynamic and change the mode for being irradiated to the irradiation light of the face to be verified.
For example, using display screen in a kind of living body faces verification method of the further embodiment offer of the disclosure
The light of sending is as the irradiation light for being irradiated to the face to be verified, and the content by showing on the change display screen
Carry out the mode that dynamic changes the light that display screen issues, so that dynamic changes the mould for being irradiated to the irradiation light of the face to be verified
Formula.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, by described aobvious
Predetermined pattern is shown on display screen curtain, and is changed color and/or the position of the predetermined pattern and shown on the display screen to change
The content shown.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, according to pre-defined rule
Or randomly dynamic changes the mode for being irradiated to the irradiation light of the face to be verified.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, in each living body people
The initial time of face verifying generates unique identifier corresponding with the secondary face living body verifying.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, further includes: according to institute
State unique identifier and generate the sequence of real numbers that changes over time, and based on the sequence of real numbers realize dynamic change be irradiated to
Verify the mode of the irradiation light of face.
For example, shooting is respectively and respectively in a kind of living body faces verification method for providing of further embodiment of the disclosure
The image of several corresponding faces to be verified of a mode includes recording the video comprising described image.
For example, in a kind of living body faces verification method for providing of further embodiment of the disclosure, based on it is described several
The reflective character of face to be verified described in image determines that the face to be verified whether be living body faces includes: described in selection
It is directed to the part of same face characteristic in multiple image, then calculates the reflective character of the part, and anti-according to the light
It penetrates characteristic and determines whether the face to be verified is living body faces.
For example, in a kind of living body faces verification method for providing of further embodiment of the disclosure, based on it is described several
The reflective character of face to be verified described in image determines that the face to be verified whether be living body faces includes: described in selection
Then the part of same position in multiple image calculates the reflective character of the part, and true according to the reflective character
Whether the fixed face to be verified is living body faces.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, it is described more choosing
In width image before the part of same position, registration process is carried out to the multiple image so that people in the multiple image
The position of face is almost the same.
For example, in a kind of living body faces verification method for providing of further embodiment of the disclosure, based on it is described several
The reflective character of face to be verified described in image determines that the face to be verified whether be living body faces includes: described in calculating
The correlation of multiple image and the mode of corresponding irradiation light;And judged according to the calculated result of the correlation described to be tested
Whether witness's face is living body faces.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, further includes: be based on institute
It states multiple image and judges whether the face to be verified faces the strong light except the irradiation light when shooting image, if so, then
Prompt user, which finds, avoids the environment of strong light direct beam from carrying out the living body faces verifying.
For example, in a kind of living body faces verification method of the further embodiment offer of the disclosure, it is described more measuring
After the reflective character of face described in width image, whether the face to be verified is determined by classifier trained in advance
For living body faces.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, the attached drawing to embodiment is simply situated between below
It continues, it should be apparent that, the accompanying drawings in the following description merely relates to some embodiments of the present invention, rather than limitation of the present invention.
Fig. 1 (a) is a kind of exemplary block diagram for living body faces verifying device that an embodiment of the present disclosure provides;
Fig. 1 (b) is the schematic diagram of the verifying device of living body faces shown in Fig. 1 (a);
Fig. 2 (a) is a kind of show area of the display screen for living body faces verifying device that an embodiment of the present disclosure provides
A kind of set-up mode in domain;
Fig. 2 (b) is a kind of show area of the display screen for living body faces verifying device that an embodiment of the present disclosure provides
Another set-up mode in domain;
Fig. 2 (c) is a kind of show area of the display screen for living body faces verifying device that an embodiment of the present disclosure provides
Another set-up mode in domain;
Fig. 2 (d) is a kind of show area of the display screen for living body faces verifying device that an embodiment of the present disclosure provides
Another set-up mode in domain;
Fig. 3 (a) is that the dynamic that an embodiment of the present disclosure provides changes the position for being irradiated to the irradiation light of face to be verified
A kind of method;
Fig. 3 (b) is that the dynamic that an embodiment of the present disclosure provides changes the position for being irradiated to the irradiation light of face to be verified
Another method;
Fig. 3 (c) is that the dynamic that an embodiment of the present disclosure provides changes the position for being irradiated to the irradiation light of face to be verified
Yet another method;
Fig. 4 is the one of the color that the dynamic that an embodiment of the present disclosure provides changes the irradiation light for being irradiated to face to be verified
Kind method;
Fig. 5 (a) is that the dynamic that an embodiment of the present disclosure provides changes the position for being irradiated to the irradiation light of face to be verified
With a kind of method of color;
Fig. 5 (b) is that the dynamic that an embodiment of the present disclosure provides changes the position for being irradiated to the irradiation light of face to be verified
With another method of color;
Fig. 6 (a) is that several corresponding with each mode of image capturing device acquisition that an embodiment of the present disclosure provides wait for
Verify a kind of exemplary scene of image of face;
Fig. 6 (b) is that several corresponding with each mode of image capturing device acquisition that an embodiment of the present disclosure provides wait for
Verify the image another kind exemplary scene of face;
Fig. 7 is that light reflection of the processing unit based on face to be verified in multiple image that an embodiment of the present disclosure provides is special
Property determine face to be verified whether be living body faces a kind of illustrative methods;
Fig. 8 (a) is the exemplary block diagram for another living body faces verifying device that an embodiment of the present disclosure provides;
Fig. 8 (b) is the schematic diagram of the verifying device of living body faces shown in Fig. 8 (a);
Fig. 9 is the exemplary block diagram for another living body faces verifying device that an embodiment of the present disclosure provides;
Figure 10 is the exemplary block diagram for another living body faces verifying device that an embodiment of the present disclosure provides;
Figure 11 is a kind of exemplary block diagram for living body faces verifying device that another embodiment of the disclosure provides;
Figure 12 is a kind of exemplary block diagram for living body faces verifying device that disclosure further embodiment provides;
Figure 13 is a kind of exemplary block diagram for living body faces verifying device that disclosure further embodiment provides;And
Figure 14 is a kind of flow chart for living body faces verification method that disclosure further embodiment provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
Attached drawing, the technical solution of the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is this hair
Bright a part of the embodiment, instead of all the embodiments.Based on described the embodiment of the present invention, ordinary skill
Personnel's every other embodiment obtained under the premise of being not necessarily to creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, the technical term or scientific term used herein should be in fields of the present invention and has
The ordinary meaning that the personage of general technical ability is understood." first ", " second " used in the disclosure and similar word are not
It indicates any sequence, quantity or importance, and is used only to distinguish different component parts.Equally, " comprising " or " packet
Containing " etc. similar word mean to occur the element or object before the word cover appear in the word presented hereinafter element or
Object and its equivalent, and it is not excluded for other elements or object.The similar word such as " connection " or " connected " is not limited to
Physics or mechanical connection, but may include electrical connection, it is either direct or indirect."upper", "lower",
"left", "right" etc. is only used for indicating relative positional relationship, and after the absolute position for being described object changes, then the relative position is closed
System may also correspondingly change.
Attached drawing is used to provide to further understand the embodiment of the present invention, and constitutes part of specification, with this hair
Bright embodiment is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings, identical reference label is usual
Represent same parts or step.
It attacks, can be compared based on human face photo to above-mentioned for the above-mentioned photo to the authentication system based on face
Authentication system improve.In the improved authentication system based on face, by checking whether face has essence
Fine-motion is attacked to effectively cope with above-mentioned photo.Further, user can be required to carry out required movement, so that enhancing is based on
The attack tolerant of the authentication system of face.However, malicious user using tablet computer, intelligent terminal etc. it is possible to played
Video or animation carry out the counterfeit human face action by counterfeiter, and carry out malicious attack (that is, animation attack) with this.It is counterfeit
The video or animation of the human face action of person can be synthesized using what various means obtained by the photo of counterfeiter by attacker, or
It can be by the real video of counterfeiter.Therefore, such video or animation have very big duplicity, based on human face action
Authentication system is difficult to cope with this animation attack sometimes.Therefore, industry still carries out in face recognition process in searching
The method and apparatus of more effective and simple and easy living body verifying.
At least one embodiment of the disclosure provides a kind of living body faces verifying device, which verifies device packet
Include light source, image capturing device and processing unit.Light source is configured to dynamic and changes the mould for being irradiated to the irradiation light of face to be verified
Formula;Image capturing device is configured to shoot the image of several faces to be verified corresponding with each mode respectively;Processing unit is matched
The reflective character being set to based on face to be verified in multiple image determines whether face to be verified is living body faces.
In various embodiments, for example, the light source can share other light emitting devices (for example, display screen is at least
Light source in partial region, projector) it is used as light source.In another example the light source can also be special light source (for example, according to certain
One or more Light-Emitting Diodes or laser diode, such as the flash lamp for camera that mode is arranged etc.), or
Show screen and the combination of other kinds of light source etc..
For example, can dynamically change the photograph for being irradiated to face to be verified by dynamically changing the luminescent color of irradiation light
Penetrate the mode of light.In another example the position that can also be irradiated to face to be verified by dynamically changing irradiation light (is shone that is, changing
Penetrate the position of light) dynamically to change the mode for being irradiated to the irradiation light of face to be verified.For another example can also be by dynamically same
When change irradiation light luminescent color and irradiation light be irradiated to face to be verified position come dynamic change be irradiated to it is to be verified
The mode of the irradiation light of face.
For example, can dynamically change the position that irradiation light is irradiated to face to be verified by changing the position of light source.
In another example can also be by the angle of the emergent ray of change light source come dynamically changing irradiation light is irradiated to face to be verified
Position.
For example, living body faces verifying device can have video based on face to be verified or/and image judge it is to be verified
Face whether be living body faces function.In another example living body faces verifying device can also by the video of face to be verified or/and
Image is sent to external device (ED) (for example, server), and receives whether face to be verified is sentencing for living body faces from external device (ED)
Disconnected information.For another example living body faces verifying device be also based on face to be verified in received multiple image light it is anti-
It penetrates characteristic and judges whether face to be verified is living body faces, and judging result is sent to external device (ED) (for example, mobile terminal).
Such as the human skin of face is a kind of irreflexive material, and face is three-dimensional;In contrast, such as liquid
The display screen of crystal display (LCD) or Organic Light Emitting Diode (OLED) display is considered self luminous object simultaneously
And also generally include partial specular reflection component, and photo etc. be usually plane and also generally include partial specular reflection point
Amount, and either show screen or photo, reflection characteristic on the whole is three-dimensional character that is uniform and lacking face.
The reflective character of face is different from the reflective character of display screen or photo, it is possible thereby to by being based on face to be verified
Reflective character judge whether face to be verified is living body faces.
Unrestricted explanation is carried out to various embodiments of the invention and its specific example below in conjunction with attached drawing, it is as follows
Described in face, different characteristic be can be combined with each other in these specific embodiments in not competing situation, to obtain
New embodiment, these embodiments also belong to the range of disclosure protection.
For example, Fig. 1 (a) is a kind of exemplary frame for living body faces verifying device 100 that an embodiment of the present disclosure provides
Figure, Fig. 1 (b) are a kind of schematic diagrames of living body faces verifying device 100 shown in Fig. 1 (a).As shown in Fig. 1 (a) and Fig. 1 (b),
It includes display screen 110, image capturing device 120 and processing unit 130 that the living body faces, which verify device 100,.For example, image is clapped
Take the photograph the side (for example, upside) that device 120 can be located at display screen 110.For example, processing unit 130 can be located at display screen
The side away from light emission direction of curtain 110.
Living body faces verifying device is for example implemented as diversified forms, and the embodiment of the present invention is not limited in this respect,
Such as living body faces verifying device can be the dedicated unit for being exclusively used in living body faces verifying, in another example, which tests
Card device can also be the one of other electronic devices (for example, mobile phone, tablet computer, laptop, intelligent glasses etc.)
A component part, in another example for the component part of the equipment such as the component part of access control system such as ATM machine.At this point, living body
No setting is required the additional light source of face verification device 100, it is possible thereby to reduce the volume of living body faces verifying device 100, again
Amount and cost.In a specific example, it is electronic system (such as authentication system, electricity which, which verifies device 100,
Sub- transaction system etc.) component part, wherein processing unit 130 be individual server or server cluster, show screen
110 and image capturing device 120 be respectively mobile terminal (such as smart phone, tablet computer etc.) display screen and and display screen
Front camera positioned at the same side, processing unit 130 are communicated between mobile terminal by wired or wireless mode.
In the present embodiment, at least partly region of display screen 110 can be used as light source.For example, display screen
110 are configurable to dynamically change and be irradiated to by changing shown content (that is, the position of light emitting region and/or color)
The mode of the irradiation light of face to be verified.For example, display screen 110 is configurable to described in display predetermined pattern and dynamic change
The color of predetermined pattern and/or position.It illustrates how below with reference to Fig. 2-Fig. 5 by changing in shown by display screen 110
Appearance carrys out position and the color that dynamic changes the irradiation light for being irradiated to face to be verified, and then it is to be verified to realize that dynamic change is irradiated to
The mode of the irradiation light of face.
Fig. 2 (a)-Fig. 2 (d) shows feasible set-up mode of the light source on display screen 110.For example, display screen
110 may include display area 151 and other regions 152, and light source is at least partly region of display area 151, show screen
110 other regions 152 are displayed for auxiliary user using the information of living body faces verifying device 100, such as operate
Prompt information etc..For example, the display brightness of display area 151 can be increased considerably, or by selection transmitting more multi-wavelength compared with
Short light, such as blue light or green light etc..For example, as shown in Fig. 2 (a), it is entire to show that screen 110 can be set to display area
151.In another example the middle section in display screen 110 can be set in display area 151 as shown in Fig. 2 (b).For another example such as
Shown in Fig. 2 (c), the upper area of display screen 110 can also be arranged in display area 151.For another example as shown in Fig. 2 (d),
The peripheral regions of display screen 110 can also be arranged in display area 151.Obviously, the position of display area 151 and light source setting
Fig. 2 (a)-Fig. 2 (d) being not limited to shape, mode being shown, display screen can also be for example arranged in display area 151 and light source
The shape of 110 lower zone, left area or right area, display area 151 and light source can also be circle, triangle,
Ellipse etc., embodiments herein is not construed as limiting this.
Fig. 3 (a) is that the dynamic that an embodiment of the present disclosure provides changes the position for being irradiated to the irradiation light of face to be verified
A kind of method.For example, display area 151 may include a guidance field 153, the guidance field 153 is for guiding user
Eyes are aligned with predetermined position 154.For example, the position of the light emitting region of display area 151 can change over time.Such as Fig. 3
(a) shown in, in T1The light emitting region at moment, display area 151 is located at first position [W1], which includes display area
151 all display pixels positioned at first position column;In T2The light emitting region at moment, display area 151 is located at second
Position [W2];In TnThe light emitting region at moment, display area 151 is located at nth position [WN];In TmMoment, display area 151
Light emitting region is located at the position M [WM].That is to say, light emitting region can at any time on the line direction of display area 151 dynamic
Variation.In the case where the position of the light emitting region of display area 151 changes relative to face to be verified, light emitting region institute
The position that the light of transmitting is irradiated to face also will correspondingly change, therefore the dynamic that the position of irradiation light may be implemented changes
Become, and it is possible thereby to realizes that dynamic changes the mode for being irradiated to the irradiation light of face to be verified.
Obviously, the form that the light emitting region of display area 151 changes over time is not limited to situation shown in Fig. 3 (a), may be used also
To be situation shown in Fig. 3 (b) and Fig. 3 (c).For example, light emitting region is in T as shown in Fig. 3 (b)nMoment includes display area
151 be located at the position N ' [WN’] all display pixels of the row, thus light emitting region can be at any time in display area 151
Column direction on dynamic change.In another example light emitting region is in T as shown in Fig. 3 (c)nMoment includes being located at for display area 151
The (N, N ') position [WN, WN’] at all display pixels, thus light emitting region can also be at any time in the row of display area 151
Dynamic change on direction and column direction.For example, light emitting region change frequency per minute on line direction or/and column direction and
The display pixel number for being included can be set according to practical application request, and embodiments herein does not limit this.
For example, Fig. 4 is that the dynamic that an embodiment of the present disclosure provides changes the face for being irradiated to the irradiation light of face to be verified
A kind of method of color.For example, display area 151 is in T1The luminescent color at moment can be the first color 161, in T2The hair at moment
Light color can be the second color 162, in TnThe luminescent color at moment can be N color 163, in TmThe luminescent color at moment
It can be M color 164.It that is to say, the luminescent color of display area 151 can dynamic change at any time.It is shown by control
Screen 110 simultaneously makes the luminescent color of display area 151 dynamic change, the dynamic that the color of irradiation light may be implemented changes at any time
Become, and it is possible thereby to realizes that dynamic changes the mode for being irradiated to the irradiation light of face to be verified.For example, the hair of display area 151
The area of the light emitting region of number and display area 151 that light color converts per minute and position can be according to practical application requests
It is set, embodiments herein does not limit this.
For example, Fig. 5 (a) is that the dynamic that an embodiment of the present disclosure provides changes the irradiation light for being irradiated to face to be verified
A kind of method of position and color.As shown in Fig. 5 (a), in T1The light emitting region at moment, display area 151 is located at W1’Place, and
The luminescent color of light emitting region can be the first pattern color 171;In T2The light emitting region at moment, display area 151 is located at W2’
Place, and the luminescent color of light emitting region can be the second pattern color 172;In TnMoment, the light emitting region of display area 151
Positioned at WN’Place, and the luminescent color of light emitting region can be N ' pattern color 173;In TmMoment, the hair of display area 151
Light region is located at WM’Place, and the luminescent color of light emitting region can be M ' pattern color 174.It that is to say, light emitting region
Position and color dynamic change at any time.Screen 110 is shown by control, and makes the position of the light emitting region of display area 151
Set with luminescent color dynamic change at any time, the dynamic that irradiation optical position and color may be implemented changes, and it is possible thereby to realizes
Dynamic changes the mode for being irradiated to the irradiation light of face to be verified.Obviously, light emitting region can also be at any time in display area 151
Column direction or line direction and column direction dynamic change in display area 151, details are not described herein.
For example, Fig. 5 (b) shows another controlling party of the irradiation optical position and color of an embodiment of the present disclosure offer
Method.As shown in Fig. 5 (b), display area 151 is in T1Moment shows the first pattern 181;In T2Moment shows the second pattern 182;?
TnMoment shows N pattern 183;In TMMoment shows M pattern 184.The color shown at 151 different location of display area
The location of the rule changed over time and the color that is shown it is relevant, that is to say at 151 different location of display area
The color shown defers to different changing rules.Therefore the dynamic that irradiation optical position and color may be implemented changes, and thus
Dynamic may be implemented and change the mode for being irradiated to the irradiation light of face to be verified.For example, the color institute shown at different location
The changing rule deferred to can be set according to practical application request, and embodiments herein is not specifically limited in this embodiment.
For example, the rule that the mode that display screen 110 dynamically changes the irradiation light for being irradiated to face to be verified is deferred to can
To be selected by practical application request, such as can be selected from the various ways prestored in advance, embodiments herein pair
This is not specifically limited.
For example, display screen 110 can change the mode for being irradiated to the irradiation light of face to be verified according to scheduled rule.Example
Such as, the position of the light emitting region of display area 151 can sequentially be moved to display screen according to from the left side of display screen 110
The rule dynamic on 110 right side changes.In another example the luminescent color of the light emitting region of display area 151 can be according to per minute
It is sequentially displayed in red, green, blue 20 times rule dynamics change.
For example, display screen 110 can be irradiated to the mode of the irradiation light of face to be verified with the change of stochastic and dynamic.Under
Face illustrates that the change of stochastic and dynamic is irradiated to a kind of illustrative methods of the mode of the irradiation light of face to be verified by taking color as an example.
(1) unique identifier is obtained.For example, the unique identifier can be in the initial time that each living body faces are verified by processing unit
130 obtain.For example, the unique identifier, which can control communication device by processing unit 130, verifies device 100 from living body faces
Outside device (for example, cloud server) obtain.In another example the unique identifier can also verify device by living body faces
100 processing unit 130 itself generates.For example, the method that living body faces verifying device 100 generates the unique identifier can join
See random number generating techniques and globally unique identifier generation technique etc., the embodiment of the present invention is not limited in this respect.For example, should
Unique identifier can fail immediately after this living body faces is verified.In another example the unique identifier can also be at this
Secondary living body faces verifying not yet terminates, but the unique identifier has generated failure after a period of time (for example, 3 minutes).(2)
The sequence of real numbers P [i] that length is T is generated according to unique identifier, which corresponds to time-varying image, example
Such as, P [i] corresponds to the i-th frame image.The generation method of sequence of real numbers may refer to existing Encryption Algorithm, the implementation of the application
Example does not limit this.For example, the sequence of real numbers that the length is T can be generated by hash algorithm (i.e. hash algorithm).For example,
The length of sequence of real numbers can be set by practical application request, it is not limited here.For example, sequence of real numbers P [i] can satisfy
Sum (P [i])=0 that is to say that sequence of real numbers P [i] summation value obtained can be zero.(3) it is different that at least two are obtained
Color.For example, at least two different color can be set in advance in living body faces verifying device 100.For example, for color
In the coordinate system (R, G, B) of color space, it is assumed that with 0 be intensity it is minimum and 255 for maximum intensity, then can specify (0,0,255),
(0,255,0), (255,0,0) and (128,128,128) are used as predetermined color.In another example at least two different color is also
It can be generated, be may refer to according to the method that unique identifier generates at least two different colors existing according to unique identifier
Encryption Algorithm, details are not described herein.For another example at least two different color can also generate at random, specific method can
With referring to random number generating techniques, details are not described herein.(4) display is obtained according to the different color of sequence of real numbers and at least two
The rgb value of the shown color under different moments (frame) of screen 110.For example, with preset or generate two kinds of colors (r1, g1,
B1) and for (r2, g2, b2), show that the color (r [i], g [i], b [i]) of the i-th frame image shown by screen 110 can be
Following form: r [i]=r1+ (r2-r1) × P [i], g [i]=g1+ (g2-g1) × P [i], b [i]=b1+ (b2-b1) × P
[i].May be implemented through the above steps stochastic and dynamic change be irradiated to face to be verified irradiation light color.Be irradiated to
It verifies the position of the irradiation light of face and is irradiated to the color of the irradiation light of face to be verified and the stochastic and dynamic of position changes
Change can also realize that details are not described herein by similar methods.Thus show that screen 110 can be irradiated with the change of stochastic and dynamic
To the mode of the irradiation light of face to be verified.
For example, image capturing device 120 is configurable to obtain recorded video or by way of being continuously shot multiframe picture
Take the image of several faces to be verified corresponding with each mode respectively.For example, using continuous by image capturing device 120
In the case where the mode for shooting multiframe picture, image capturing device 120 can be synchronous with display device, passes through it is possible thereby to realize
The mode of shooting multiframe picture obtains the image of several faces to be verified corresponding with each mode respectively, such as can shoot
Picture in add the identification information such as the time in order to carrying out time unifying in verification processing later.For example, recorded video
Duration or shoot picture frame number can be set by practical application request, it is not limited here.
It for example, image capturing device 120 can be multiple types, such as may include at least one camera, and image
Head may include cmos image sensor or ccd image sensor etc.;In another example when image capturing device 120 may include two
When a camera, two cameras can be mutually the same, can also be different, such as the resolution ratio of a camera is higher and another
A resolution ratio is lower or a camera is full color camera and another is black and white camera, etc..The present invention other
The image capturing device of embodiment is similar therewith.
Illustrate that image capturing device 120 obtains that corresponding with each mode several are to be tested below with reference to Fig. 6 (a) and Fig. 6 (b)
The illustrative methods of the image of witness's face.For example, face to be verified can be located at the direction display screen of image capturing device 120
The side of 110 light emission direction, face to be verified can be living body faces 193 or second display screen 194 (that is, for malice
The display screen of attack) shown by facial image or/and video.Fig. 6 (a) and Fig. 6 (b) are respectively illustrated in face to be verified
In the case where facial image shown by living body faces 193 and second display screen 194 or/and video, image capturing device
120 obtain the illustrative methods of the image of several faces to be verified corresponding with each mode.
For example, the light that the light emitting region of display area 151 issues at least partly is emitted on face to be verified, to
The irradiation light that verifying face control is mapped on face to be verified at least partly reflects, and the reflected light of face to be verified is at least partly
It is acquired by image capturing device 120.For example, the original video collected of image capturing device 120 or/and image can be denoted as
A [i], the frame number of i representative image.
For example, Fig. 6 (a) is that the image capturing device acquisition that an embodiment of the present disclosure provides is corresponding with each mode more
A kind of exemplary scene of image (that is, scene that face to be verified is living body faces 193) of face to be verified.Such as Fig. 6 (a) institute
Show, in the case where face to be verified is living body faces 193, the light collected of image capturing device 120 is face to be verified
Reflection light 191 and ambient light (not shown).In the mode (color for the irradiation light being irradiated on living body faces 193
Or/and position) change in the case where, image capturing device 120 obtain living body corresponding with the mode of each irradiation light
Corresponding change will occur according to the variation of the mode of each irradiation light for the image of face 193.
For example, Fig. 6 (b) is that the image capturing device acquisition that an embodiment of the present disclosure provides is corresponding with each mode more
The image another kind exemplary scene of face to be verified is (that is, face to be verified is face shown by second display screen 194
The scene of image or/and video).It is face figure shown by second display screen 194 in face to be verified as shown in Fig. 6 (b)
In the case where picture or/and video, the light collected of image capturing device 120 is the reflection light 191, second of face to be verified
Show the self-luminous light 192 and ambient light (not shown) of screen 194.In above-mentioned three kinds of light, only second is aobvious
The self-luminous light 192 of display screen curtain 194 can be used for forming facial image in image capturing device 120.Second display screen
194 and the reflection light 191 of shown face to be verified generally include partial specular reflection component, and cannot be used for scheming
As forming facial image in filming apparatus 120, but in the form of image capturing device 120 is formed by the noise of facial image
In the presence of.Therefore, in the case where the mode for the irradiation light being irradiated on living body faces (color or/and position) changes, i.e.,
So that second display screen 194 and its reflection light 191 of the face to be verified of display is had change slightly, also hardly influences
The reflective character of face to be verified shown by second display screen 194.It is possible thereby to which the light by face to be verified reflects
Characteristic distinguishes facial image or/and video shown by living body faces 193 and second display screen 194, that is to say, can pass through
The light that the image for several faces to be verified corresponding with each irradiation optical mode that image capturing device 120 obtains is embodied is anti-
Characteristic is penetrated to determine whether face to be verified is living body faces.
For example, the processing unit 130 may include processor and memory, which is, for example, central processing unit
(CPU) or the processing unit of the other forms with data-handling capacity and/or instruction execution capability, can with X86-based or
ARM framework is realized, for example, the processor can be general processor, and may be single-chip microcontroller, microprocessor, number letter
Number processor, dedicated picture processing chip or Field Programmable Logic Array etc..The processing unit of following embodiments with it is such
Seemingly.Memory for example may include volatile memory and/or nonvolatile memory, such as may include read-only memory
(ROM), a plurality of types of storage devices such as hard disk, flash memory or storage medium.Correspondingly, the memory can be implemented as one or
Multiple computer program products, the computer program product may include various forms of computer readable storage mediums,
It can store one or more computer program instructions on the computer readable storage medium.Processor can run the journey
Sequence instruction, to realize the function of control device and/or other desired functions, example in the embodiment of the present disclosure described below
Such as it can determine whether face to be verified is living body faces based on the reflective character of face to be verified in multiple image.The storage
Device can also store other various application programs and various data, for example, acquired in image capturing device it is corresponding with each mode
Several faces to be verified image and the application program various data etc. that use and/or generate.
For example, processing unit 130 be configurable to based on face to be verified in multiple image reflective character determine to
Verify whether face is living body faces.For example, processing unit 130 is configurable to choose in multiple image for same face spy
The part of sign is then based on the reflective character of part, and determines whether face to be verified is living body people according to reflective character
Face.For example, processing unit 130 is also configured as choosing the part of same position in multiple image, the then light of calculating section
Reflection characteristic, and it is verified whether face to be verified is living body faces according to reflective character determination.For example, processing unit 130
Determine whether face to be verified is that the methods of living body faces can be selected according to practical application request, embodiments herein
It is not specifically limited in this embodiment.
For example, processing unit 130 can be reflected by step shown in Fig. 7 based on the light of face to be verified in multiple image
Characteristic determines whether face to be verified is living body faces.
Step S110: image preprocessing;
Step S120: information extraction;
Step S130: living body faces judgement.
For example, the purpose of image preprocessing is to guarantee the size of target object, position and quality in step S110
Consistency.For example, target object can be the partial region of entire human face region or face according to practical application request,
This is not specifically limited.
In another example due to face during recorded video or shoot multi-frame images it is possible that displacement, can make
Keep position of the target object in each image in multiframe facial image consistent with the method for alignment compensation, phase one herein
Cause the position for referring to target object approximation is constant not require that front and back is identical.
For example, can realize the alignment of target object by following alignment compensation algorithms.(1) according to original video
Or/and image A [i] calculates positioning image B [i] and signal pattern C [i].For example, can be first by (r2-r1, g2-g1, b2-
B1) it is normalized to unit vector (u, v, w);Then, to the color of each of original video or/and image A [i] pixel
(r, g, b), calculate positioning image B [i] in corresponding position pixel color (r', g', b'), r'=r- (r × u+g × v+b ×
W) × u, g'=g- (r × u+g × v+b × w) × v, b'=b- (r × u+g × v+b × w) × w;Finally, calculating signal pattern C
Color k, k=r × u+g × v+b × w of corresponding position pixel in [i].(2) human face region is extracted in B [0].(3) in B
[1] and on later image (that is, first frame and later image) tracing algorithm is run (for example, Lucas Kanade tracking is calculated
Method), and B [1] and later image are aligned with the human face region in B [0], record the alignment parameters of each frame.(4) it uses
Signal pattern C [i] is aligned by same group of alignment parameters, and obtains i-th position frame image (x, y) in the signal pattern C after alignment
The value C [i, x, y] at place.
For example, although step S110 can be promoted determine face to be verified whether be living body faces efficiency and reliability,
It is not necessary to the step of executing, can be selected, embodiments herein is not done this specifically according to practical application request
It limits.
For example, the purpose that information (signal) is extracted in step S120 is for the view acquired in the image capturing device 120
Target object caused by the color or/and change in location of extraction pattern because of shown by display screen 110 in frequency or multiple image
Image variation.For example, target caused by the color or/and change in location of extraction pattern because of shown by display screen 110
The changing method of the image of object can be selected according to practical application, and embodiments herein is not specifically limited in this embodiment.Example
It such as, can be by calculating the method for associated picture S [x, y] (that is, calculating the correlation of multiple image and the mode of corresponding irradiation light
Property) realize that above- mentioned information are extracted.For example, can be according to the signal pattern C [i, x, y] and sequence of real numbers P [i] calculating phase after alignment
It closes image S [x, y]=sum (C [i, x, y] * P [i]).For example, the physical meaning of associated picture S [x, y] is: in face to be verified
It is facial image in the case where for living body faces;Face to be verified be second display screen 194 shown by facial image or/
In the case where video, corresponding facial image can not be generated.By calculating signal pattern C [i, x, y] and real number after being aligned
The correlation of sequence P [i], the signal (for example, bias light) that can not will be inconsistent with the irradiation optical mode being irradiated on face to be verified
It filters out.In addition, if sequence of real numbers P [i] is generated in real time according to unique identifier, then attacker be difficult to generate at once with uniquely
The corresponding human face animation sequence of identifier, thus can further enhance the safety of face verification device.
For example, in order to guarantee the reliability of extracted information (signal) and living body faces judging result in step S120,
The reliability of extracted signal can also be calculated after obtaining associated picture S [x, y], before carrying out step S130.Example
Such as, the reliability of above-mentioned extracted signal can be calculated by following manner.
(1) firstly, calculating k1=sum (S [x, y] ^2) according to associated picture S [x, y].
(2) then, k2=k1/sum_ { x, y } variance_ is calculated according to the signal pattern C [i, x, y] after k1 and alignment
i(C[i,x,y])。
(3) according to the reliable of the numerical value and the extracted signal of preset threshold decision for calculating the k1 and k2 that obtain
Property.For example, in the case where the numerical value of k1 and k2 does not reach preset threshold value (for example, can indicate that image taking fills
Set 120 and faced strong light except irradiation light when shooting image), user can be prompted to change position and (avoid sun for example, finding
The place of light direct beam) after carry out face verification again.
For example, the purpose that living body faces judge in step S130 judges extracted target object in the step s 120
Whether the variation of image meets the changing rule of face.For example, can realize above-mentioned living body faces using the method for machine learning
Judgement.For example, can be by the change information of the image of target object extracted in step S120 (for example, the phase of target object
Close image S [x, y]) it is input in the good classifier of precondition, and discriminate whether to be obtained by shooting living body faces by classifier
The image (that is, determining whether face to be verified is living body faces by classifier trained in advance) obtained.
For example, above-mentioned classifier can be convolutional neural networks (Convolutional neural networks), support
Vector machine (Support Vector Machine) or other applicable classifiers, embodiments herein do not do specific limit to this
It is fixed.For example, classifier can be trained by following methods.(1) firstly, verifying device using living body faces provided in this embodiment
Facial image or/and video acquisition face video or more shown by 100 pairs of a large amount of living body faces and second display screen 194
Frame image;(2) then, the associated picture S [x, y] of above-mentioned acquired face video or multiple image is obtained;(3) finally, by upper
State whether associated picture S [x, y] and corresponding image are the information input classifier for shooting living body faces image obtained,
It is possible thereby to realize the training of classifier.
For example, processing unit 130 directly can also be based on face to be verified in multiple image using the method for machine learning
Reflective character determine whether face to be verified is living body faces.For example, can be by unique identifier (or sequence of real numbers P
[i]) and image capturing device 120 acquired in video or multiple image be input to the good classifier of precondition (for example, following
Ring neural network) in, and discriminated whether by classifier to shoot living body faces image obtained.
For example, Fig. 8 (a) is the exemplary of another living body faces verifying device 200 that an embodiment of the present disclosure provides
Block diagram, Fig. 8 (b) are the schematic diagrames of the verifying device 200 of living body faces shown in Fig. 8 (a).It, should as shown in Fig. 8 (a) and Fig. 8 (b)
Living body faces verifying device 200 may include projection arrangement 210 (for example, micro projector), image capturing device 220 and processing
Device 230.For example, what image capturing device 220 can be set in living body faces verifying devices 200 towards projection arrangement 210
The side of light emission direction.For example, living body faces verifying device 200 further includes display screen, which can be used for showing
User is assisted to use the relevant information of living body faces verifying device 200.For example, image capturing device 220 can be located at display
The side (for example, upside) of screen.For example, projection arrangement 210 can be located at the side (for example, upside) of display screen.For example,
Processing unit 230 can be located at the side away from light emission direction of display screen.It is for example specific that the living body faces verify device 200
It is embodied as diversified forms, such as living body faces verifying device 200 can be the dedicated unit for being exclusively used in living body faces verifying, example
Such as, the component part as equipment such as the component part of access control system such as ATM machine, in another example, living body faces verifying
Device 200 can also be the one of other electronic devices (for example, mobile phone, tablet computer, laptop, intelligent glasses etc.)
A component part.
For example, in the present embodiment, the light source that can be used in projection arrangement 210 verifies device 200 as living body faces
Light source.For example, projection arrangement 210, which is configurable to dynamic, changes the mode for being irradiated to the irradiation light of face to be verified.For example,
Can by control the view field of projection arrangement 210 relative to face to be verified position (that is, projection arrangement 210 light source
Angle of the emergent ray relative to projection arrangement 210) dynamically change the position of irradiation light, view field can be according to practical application
Demand is located at any position of face to be verified.In another example can also by control 210 light source of projection arrangement luminescent color come
Dynamic changes the color of irradiation light.For another example can also be by changing content shown by projection arrangement 210 come dynamic (that is, throwing
The position in shadow zone domain or/and luminescent color) change projection arrangement 210 issue light mode, thus dynamic change be irradiated to
Verify the mode of the irradiation light of face.For example, the position of the view field of projection arrangement 210 and the control method of luminescent color can
With referring to the related content of projection display technique, details are not described herein.
For example, image capturing device 220 is configurable to shooting several faces to be verified corresponding with each mode respectively
Image.For example, processing unit 230 be configurable to determine based on the reflective character of face to be verified in multiple image it is to be tested
Whether witness's face is living body faces.For example, the related content of image capturing device 220 and processing unit 230 may refer to this public affairs
A kind of embodiment of living body faces verifying device of one embodiment offer is opened, details are not described herein.Living body faces verifying dress
Setting 200 realizes the verifying of living body faces, and thus improves the safety of face verification device.
For example, Fig. 9 is the exemplary frame for another living body faces verifying device 300 that an embodiment of the present disclosure provides
Figure.As shown in figure 9, living body faces verifying device 300 may include light source 310, image capturing device 320 and processing unit
330.Such as living body faces verifying device 300 can be the dedicated unit for being exclusively used in living body faces verifying, for example, as gate inhibition
The component part of the equipment such as the component part of system such as ATM machine, in another example, living body faces verifying device 300 may be used also
To be a component part of other electronic devices (for example, mobile phone, tablet computer, laptop etc.).
For example, the light source 310 includes luminescence unit 311 and reflection unit 312.The light source 310 is configurable to dynamic and changes
Become the mode for being irradiated to the irradiation light of face to be verified.The type of luminescence unit included by the light source 310, outgoing wavelength (that is,
Luminescent color) and quantity can be selected according to the actual application, embodiments herein is not especially limited this.Example
Such as, which may include red, green and blue light emitting diodes.For example, can, green red by control and
The luminescent color of the Ratio control light source 310 of the lumination of light emitting diode intensity of blue, it is possible thereby to realize that dynamic changes irradiation
To the color and mode of the irradiation light of face to be verified.For example, reflection unit 312 is configurable to change luminescence unit 311
Direction of the emergent ray relative to living body faces verifying device 300, it is possible thereby to which dynamic changes the photograph for being irradiated to face to be verified
Penetrate position and the mode of light.For example, the type of reflection unit 312 can be set according to practical application request, the reality of the application
Example is applied to be not specifically limited in this embodiment.For example, reflection unit 312 can be spatial light modulator (for example, digital micro-mirror, liquid
Brilliant light valve etc.), or the reflecting optics with angle regulating function.
For example, image capturing device 320 is configurable to shooting several faces to be verified corresponding with each mode respectively
Image.For example, processing unit 330 be configurable to determine based on the reflective character of face to be verified in multiple image it is to be tested
Whether witness's face is living body faces.For example, the related content of image capturing device 320 and processing unit 330 may refer to this public affairs
A kind of embodiment of living body faces verifying device of one embodiment offer is opened, details are not described herein.Living body faces verifying dress
Setting 300 realizes the verifying of living body faces, and thus improves the safety of face verification device.
For example, Figure 10 is the exemplary frame for another living body faces verifying device 400 that an embodiment of the present disclosure provides
Figure.As shown in Figure 10, living body faces verifying device 400 may include light source 410, image capturing device 420 and processing unit
430.Such as living body faces verifying device 400 can be the dedicated unit for being exclusively used in living body faces verifying, for example, as gate inhibition
The component part of the equipment such as the component part of system such as ATM machine.
For example, the light source 410 includes luminescence unit 411 and translating device 412, luminescence unit 411 is arranged in translating device
On 412.The light source 410 is configurable to dynamic and changes the mode for being irradiated to the irradiation light of face to be verified.410 institute of light source
Including luminescence unit type, outgoing wavelength (that is, luminescent color) and quantity can be selected according to the actual application,
Embodiments herein is not especially limited this.For example, the light source 410 may include red, green and blue luminous two
Pole pipe.For example, the Ratio control light source 410 of control red, the lumination of light emitting diode intensity of green and blue can be passed through
Luminescent color, it is possible thereby to realize that dynamic changes the color and mode for being irradiated to the irradiation light of face to be verified.For example, translation dress
It sets 412 to be configurable to change the position of luminescence unit 411, it is possible thereby to which dynamic changes the irradiation light for being irradiated to face to be verified
Position and mode.For example, the type of translating device 412 can be set according to practical application request, embodiments herein
It is not specifically limited in this embodiment.For example, translating device 412 can be one-dimensional motorized precision translation stage, two-dimentional motorized precision translation stage or can be with
It is realized by guide rail etc. and is for example driven by stepper motor.
For example, image capturing device 420 is configurable to shooting several faces to be verified corresponding with each mode respectively
Image.For example, processing unit 430 be configurable to determine based on the reflective character of face to be verified in multiple image it is to be tested
Whether witness's face is living body faces.For example, the related content of image capturing device 420 and processing unit 430 may refer to this public affairs
A kind of embodiment of living body faces verifying device of one embodiment offer is opened, details are not described herein.Living body faces verifying dress
Setting 400 realizes the verifying of living body faces, and thus improves the safety of face verification device.
For example, Figure 11 is a kind of exemplary frame for living body faces verifying device 500 that another embodiment of the disclosure provides
Figure.As shown in figure 11, the living body faces verifying device 500 may include light source 510, image capturing device 520, information transmission connect
Receiving apparatus 530 and processing unit 540.For example, living body faces verifying device 500 can be other electronic devices (for example, mobile
Phone, tablet computer, laptop etc.) a component part.In another example living body faces verifying device 500 can also be
It is exclusively used in the dedicated unit of living body faces verifying, such as the composition portion of the equipment such as component part as access control system or ATM machine
Point etc..
For example, light source 510, which is configurable to dynamic, changes the mode for being irradiated to the irradiation light of face to be verified.For example, should
Light source 510 can share other light emitting devices (for example, light source in at least partly region of display screen, projector) as light
Source.In another example the light source 510 can also be special light source (for example, Light-Emitting Diode or laser diode).For example, image is clapped
Device 520 is taken the photograph to be configurable to shoot the image of several faces to be verified corresponding with each mode respectively.For example, light source 510
A kind of living body faces that may refer to an embodiment of the present disclosure offer with the related content of image capturing device 520 verify device
Embodiment, details are not described herein.
For example, information transceiver 530 is configurable to the image of several faces to be verified being sent to server,
And determine whether face to be verified is living body people from server reception based on the reflective character of face to be verified in multiple image
The judgement information of face, for example, the information transceiver 530 can be by network or other technologies by several faces to be verified
Image be sent to server, and received from server based on face to be verified in multiple image by network or other technologies
Reflective character determine face to be verified whether be living body faces judgement information.For example, the network can be internet, nothing
Line local area network, mobile communications network etc., other technologies for example may include Bluetooth communication, infrared communication etc..For example, described
Server can be universal server or tailored version server, can be virtual server or Cloud Server etc..Information is sent
Reception device 530 may include modem, network adapter, bluetooth transmitting and receiving unit or infrared transmitting and receiving unit
Deng, such as the operation such as can also be encoded, be decoded to the information sent or received.
For example, processing unit 540 can be verified or not pass through operation based on information execution is judged.Due to being based on several
In image the reflective character of face to be verified determine face to be verified whether be living body faces judgement work it is complete in server
At, therefore the computing resource of the processing unit 540 can be saved, it is possible thereby to reduce the requirement to 540 performance of processing unit with
And the manufacturing cost of living body faces verifying device 500, and the experience of user can be promoted.The living body faces verify device 500 can
To realize the verifying of living body faces, and then improve the safety of face verification device 500.
For example, Figure 12 is a kind of exemplary frame for living body faces verifying device 600 that disclosure further embodiment provides
Figure.As shown in figure 12, living body faces verifying device 600 may include information transceiver 610 and processing unit 620.
For example, the function of living body faces verifying device 600 can be realized that the server can be universal server by server
Or tailored version server, it can be virtual server or Cloud Server etc..Information transceiver 610 may include modulatedemodulate
Device, network adapter, bluetooth is adjusted to transmit and receive unit or infrared transmitting and receiving unit etc., such as can also be to sending or receiving
Information such as is encoded, is decoded at the operation.
For example, the information transceiver 610 is configurable to receive the image of several faces to be verified from client.
For example, the processing unit 620 is configurable to determine witness to be tested based on the reflective character of face to be verified in multiple image
Whether face is living body faces.For example, the information transceiver 610 is also configured as processing unit 620 being based on several
The reflective character of face to be verified determines whether face to be verified is that the judgement information of living body faces is sent to client in image
End.For example, the information transceiver 610 can realize sending and receiving for information for example, by network or other technologies,
The network can be internet, WLAN, mobile communications network etc., and other technologies for example may include that bluetooth is logical
Letter, infrared communication etc..For example, about processing unit 620 based on face to be verified in multiple image reflective character determine to
Whether verifying face is that the related contents of living body faces may refer to a kind of living body faces that an embodiment of the present disclosure provides and test
The embodiment of card device, details are not described herein.The verifying of living body faces may be implemented in living body faces verifying device 600, in turn
Improve the safety of face verification device 600.For example, the verifying device 500 of living body faces shown in Figure 11 as client and
The verifying device 600 of living body faces shown in Figure 12 can be fitted to each other as server forms living body faces verifying system, the visitor
Family end and server can be located at same place or different location.
For example, Figure 13 is a kind of exemplary frame for living body faces verifying device 700 that disclosure further embodiment provides
Figure.As shown in figure 13, living body faces verifying device 700 may include processor 710 and memory 720.It is deposited in memory 720
Computer program instructions are contained, computer program instructions execute following steps when being run by processor 710:
Step S710: obtain shot when dynamically changing the mode for the irradiation light for being irradiated to face to be verified respectively and respectively
The image of several corresponding faces to be verified of a mode;And
Step S720: whether face to be verified is verified based on the reflective character determination of face to be verified in multiple image
For living body faces.
For example, the processor 710 can be central processing unit (CPU) or have data-handling capacity and/or instruction
The processing unit of the other forms of executive capability can be realized with X86-based or ARM framework, for example, the processor 710 can be
General processor, and may be single-chip microcontroller, microprocessor, digital signal processor, dedicated picture processing chip or existing
Field programmable logic array etc..
For example, the memory 720 for example may include volatile memory and/or nonvolatile memory, such as can be with
Including a plurality of types of storage devices or storage mediums such as read-only memory (ROM), hard disk, flash memories.Correspondingly, the memory
720 can be implemented as one or more computer program products, and the computer program product may include various forms of meters
Calculation machine readable storage medium storing program for executing, can store one or more computer program instructions on the computer readable storage medium.
For example, the processor 710 can run described program instruction, controlled with realizing in the embodiment of the present disclosure described below
The function of device processed and/or other desired functions, such as can be reflected based on the light of face to be verified in multiple image
Characteristic determines whether face to be verified is living body faces.
For example, the memory 720 can also store other various application programs and various data, such as image capturing device
What the image of acquired several faces to be verified corresponding with each mode and the application program were used and/or were generated
Various data etc..
For example, in step S710, can be changed by dynamic irradiation light color and/or position (it is, for example, possible to use
Processor 710 controls light source dynamically to change color and/or the position of irradiation light) carry out dynamic and change to be irradiated to face to be verified
The mode of irradiation light.For example, dynamic can be selected to change the color of irradiation light and/or the side of position according to practical application request
Method.For example, can dynamically change the position that irradiation light is irradiated to face to be verified by changing the position of light source.Example again
Such as, the position that irradiation light is irradiated to face to be verified can also dynamically be changed by the angle of the emergent ray of change light source
It sets.
For example, can be shown on display screen by changing in the case where light source is to show at least partly region of screen
The content shown carrys out the mode that dynamic changes the light that display screen issues, so that dynamic changes the irradiation light for being irradiated to face to be verified
Mode.For example, can be by showing predetermined pattern on the display screen, and the color of change predetermined pattern and/or position are come
Change the content shown on display screen.For example, the position of the light emitting region as light source of display screen can be in line direction
It is upper, change at any time on column direction in a column direction or in the row direction, due to light emitting region position relative to
Face to be verified changes, and the position that the light that light emitting region is emitted is irradiated to face also will correspondingly change, because
This dynamic that the position of irradiation light may be implemented changes, and it is possible thereby to realizes that dynamic changes the irradiation for being irradiated to face to be verified
The mode of light.For example, the luminescent color of the light emitting region as light source of display screen can change at any time, and thus may be used
Change the mode for being irradiated to the irradiation light of face to be verified with dynamic.Obviously, the light emitting region as light source of screen is shown
Position and luminescent color can change at any time simultaneously, and it is possible thereby to dynamic changes the irradiation light for being irradiated to face to be verified
Mode.
For example, use the light source of projection arrangement as the living body faces verifying device light source in the case where, Ke Yitong
The view field for crossing control projection arrangement dynamically changes relative to the position of face to be verified or/and the luminescent color of view field
Become position or/and the color of irradiation light, and it is possible thereby to dynamic changes the mode for being irradiated to the irradiation light of face to be verified.
For example, reflection unit can be used and change going out for luminescence unit in the case where light source includes dedicated luminescence unit
It penetrates the direction (for example, verifying device relative to living body faces) of light or/and changes the position of luminescence unit using translating device
Method dynamically change the position for being irradiated to the irradiation light of face to be verified.For example, including red, green in dedicated luminescence unit
It, can be red, green and blue luminous two by control in the case where color and the light emitting diode or laser diode of blue
The luminescent color of the Ratio control light source of pole tube light-emitting intensity, and it is possible thereby to realizing that dynamic changes is irradiated to face to be verified
The color of irradiation light.Changing the position for the irradiation light for being irradiated to face to be verified or/and color by dynamic can dynamically change
It is irradiated to the mode of the irradiation light of face to be verified.
For example, the mould of the irradiation light of face to be verified can be irradiated to according to the change of scheduled rule or stochastic and dynamic
Formula.For example, in the case where the mode for the irradiation light that the change of stochastic and dynamic is irradiated to face to be verified, it can be in each living body
The initial time of face verification generates unique identifier corresponding with the secondary face living body verifying, then according to unique identifier
The sequence of real numbers changed over time is generated, and realizes that dynamic change is irradiated to the irradiation light of face to be verified based on sequence of real numbers
Mode.For example, the unique identifier can be generated in the inside that living body faces verify device, which can also be
The outside (for example, cloud server) of living body faces verifying device generates and passes to living body faces verifying device.For example, dynamic
The living body faces for changing the particular content an embodiment of the present disclosure offer for the mode of irradiation light for being irradiated to face to be verified are tested
The embodiment of card device, details are not described herein.
For example, in the case where dynamically changing the mode for the irradiation light for being irradiated to face to be verified, it can be for example using figure
As the image of acquisition device shooting several faces to be verified corresponding with each mode respectively, such as it can record and be waited for comprising several
It verifies the video of the image of face or multiframe picture can also be continuously shot.The case where face to be verified is living body faces
Under, image capturing device light collected is the reflection light and ambient light (not shown) of face to be verified.It is shining
In the case that the mode (color or/and position) for the irradiation light being mapped on living body faces changes, image capturing device is obtained
The images of living body faces corresponding with the mode of each irradiation light will be occurred according to the variation of the mode of each irradiation light pair
It should change.
Face to be verified be second display screen (the display screen for malicious attack) shown by facial image or/
In the case where video, image capturing device light collected is the reflection light of face to be verified, second display screen
Self-luminous light and ambient light (not shown).Since second display screen is self-luminous body, and in image taking
In device three kinds of light collected, the self-luminous light of only second display screen can be used for shape in image capturing device
At facial image.Second display screen and the reflection light of shown face to be verified generally include partial specular reflection point
Amount, and cannot be used for forming facial image in image capturing device, but face figure is formed by with image capturing device
The form of the noise of picture exists.Therefore, change in the mode for the irradiation light being irradiated on living body faces (color or/and position)
In the case where change, even if second display screen and its reflection light of the face to be verified of display have change slightly, also almost
It will not influence the reflective character of face to be verified shown by second display screen.It is possible thereby to pass through the light of face to be verified
Reflection characteristic distinguishes facial image or/and video shown by living body faces and second display screen, that is to say, can pass through figure
The light reflection that the image of several faces to be verified corresponding with each irradiation optical mode obtained as filming apparatus is embodied is special
Property determines whether face to be verified is living body faces.For example, the portion for being directed to same face characteristic in multiple image can be chosen
Point, the reflective character of the part of same face characteristic is then calculated, and whether face to be verified is determined according to reflective character
For living body faces.In another example the part of same position in multiple image can also be chosen, identical bits in multiple image are then calculated
The reflective character for the part set, and it is verified whether face to be verified is living body faces according to reflective character determination.
For example, determining face to be verified based on the reflective character of face to be verified in multiple image in step S720
It whether is that living body faces include:
Step S721: it extracts from the image of acquired video or multiframe face to be verified because being irradiated to face to be verified
On irradiation light mode (for example, color or/and position) change caused by target object image variation information (letter
Number);
Step S722: judge whether face to be verified is living body faces according to extracted information (signal).
It is, for example, possible to use processors 710 to realize step S721 and step S722.For example, step S721 and step S722
The data of middle generation can store in memory 720.
For example, extracting mesh caused by the patterns of change because of the irradiation light being irradiated on face to be verified in step S721
Information (signal) method of variation for marking the image of object can be selected according to practical application, embodiments herein to this not
It is specifically limited.For example, can be by calculating associated picture (that is, calculating the phase of multiple image and the mode of corresponding irradiation light
Close property) method realize above-mentioned target object image variation information extraction.For example, the method for calculating associated picture can join
See a kind of embodiment for living body faces verifying device that an embodiment of the present disclosure provides, details are not described herein.
For example, can also be obtained to image capturing device before executing step S721 corresponding with each irradiation optical mode
The images of several faces to be verified pre-processed.The purpose of image preprocessing is to guarantee the size of target object, position
Set the consistency with quality.For example, target object can be the portion of entire human face region or face according to practical application request
Subregion is not specifically limited herein.It is, for example, possible to use the methods of alignment compensation to make the target object in multiframe facial image
Position in each image is consistent, and the consistent position approximation for referring to target object herein is constant, does not require that front and back
It is identical.The method of alignment compensation can be found in a kind of implementation of living body faces verifying device of an embodiment of the present disclosure offer
Example, details are not described herein.
For example, after executing step S721, it, can also be to the extracted signal of step S721 before executing step S722
The reliability of (for example, calculated result of associated picture or correlation) is calculated.For example, can by calculate extracted signal
May determine that whether face to be verified faces the strong light except irradiation light when shooting image by property, and there are except irradiation light
Strong light in the case where prompt user find avoid strong light direct beam environment carry out living body faces verifying.For example, extracted signal
Reliability calculating and judgment method can be found in an embodiment of the present disclosure offer a kind of living body faces verifying device reality
Example is applied, details are not described herein.
For example, can be used the method for machine learning according to extracted signal (for example, associated picture) in step S722
Judge whether the variation of the image of target object meets the changing rule of face.For example, can be real using the method for machine learning
Existing above-mentioned judgement, and it is achieved in living body faces verifying.For example, can be by the letter of the variation of the image of extracted target object
It number is input in the good classifier of precondition, and is discriminated whether by classifier as shooting living body faces image obtained (i.e.
Differentiate whether face to be verified is living body faces by trained classifier).For example, above-mentioned classifier can be convolutional Neural net
Network (Convolutional neural networks), support vector machines (Support Vector Machine) or other suitable
Classifier, embodiments herein are not specifically limited in this embodiment.For example, the method for training classifier can be found in the disclosure one
A kind of embodiment for living body faces verifying device that a embodiment provides, details are not described herein.
For example, it is also possible to directly using the method for machine learning based on the reflective character of face to be verified in multiple image
Determine whether face to be verified is living body faces.For example, unique identifier (or sequence of real numbers) and image taking can be filled
It sets acquired video or multiple image to be input in the good classifier of precondition (for example, Recognition with Recurrent Neural Network), and by dividing
Class device discriminates whether to shoot living body faces image obtained.Therefore, living body people may be implemented in living body faces verifying device
The verifying of face, and thus improve the safety of face verification device 700.
For example, Figure 14 is a kind of flow chart for living body faces verification method that disclosure further embodiment provides.Such as figure
Shown in 14, which includes:
Step S10: dynamic change be irradiated to face to be verified irradiation light mode, and shoot respectively with each mode pair
The image for several faces to be verified answered;
Step S20: determine whether face to be verified is living body based on the reflective character of face to be verified in multiple image
Face.
For example, in step slo, the color and/or position that can dynamically change irradiation light come dynamic change be irradiated to
Verify the mode of the irradiation light of face.For example, can according to practical application request select dynamic change irradiation light color and/or
The method of position.For example, can dynamically change the position that irradiation light is irradiated to face to be verified by changing the position of light source
It sets.In another example can also be by the angle of the emergent ray of change light source come dynamically changing irradiation light is irradiated to witness to be tested
The position of face.
For example, can be shown on display screen by changing in the case where light source is to show at least partly region of screen
The content shown carrys out the mode that dynamic changes the light that display screen issues, so that dynamic changes the irradiation light for being irradiated to face to be verified
Mode.For example, can be by showing predetermined pattern on the display screen, and the color of change predetermined pattern and/or position are come
Change the content shown on display screen.For example, the position of the light emitting region as light source of display screen can be in line direction
It is upper, change at any time on column direction in a column direction or in the row direction, due to light emitting region position relative to
Face to be verified changes, and the position that the light that light emitting region is emitted is irradiated to face also will correspondingly change, because
This dynamic that the position of irradiation light may be implemented changes, and it is possible thereby to realizes that dynamic changes the irradiation for being irradiated to face to be verified
The mode of light.For example, the luminescent color of the light emitting region as light source of display screen can change at any time, and thus may be used
Change the mode for being irradiated to the irradiation light of face to be verified with dynamic.Obviously, the light emitting region as light source of screen is shown
Position and luminescent color can change at any time simultaneously, and it is possible thereby to dynamic changes the irradiation light for being irradiated to face to be verified
Mode.
For example, use the light source of projection arrangement as the living body faces verifying device light source in the case where, Ke Yitong
The view field for crossing control projection arrangement dynamically changes relative to the position of face to be verified or/and the luminescent color of view field
Become position or/and the color of irradiation light, and it is possible thereby to dynamic changes the mode for being irradiated to the irradiation light of face to be verified.
For example, reflection unit can be used and change going out for luminescence unit in the case where light source includes dedicated luminescence unit
It penetrates the direction (for example, verifying device relative to living body faces) of light or/and changes the position of luminescence unit using translating device
Method dynamically change the position for being irradiated to the irradiation light of face to be verified.For example, including red, green in dedicated luminescence unit
It, can be red, green and blue luminous two by control in the case where color and the light emitting diode or laser diode of blue
The luminescent color of the Ratio control light source of pole tube light-emitting intensity, and it is possible thereby to realizing that dynamic changes is irradiated to face to be verified
The color of irradiation light.Changing the position for the irradiation light for being irradiated to face to be verified or/and color by dynamic can dynamically change
It is irradiated to the mode of the irradiation light of face to be verified.
For example, the mould of the irradiation light of face to be verified can be irradiated to according to the change of scheduled rule or stochastic and dynamic
Formula.For example, in the case where the mode for the irradiation light that the change of stochastic and dynamic is irradiated to face to be verified, it can be in each living body
The initial time of face verification generates unique identifier corresponding with the secondary face living body verifying, then according to unique identifier
The sequence of real numbers changed over time is generated, and realizes that dynamic change is irradiated to the irradiation light of face to be verified based on sequence of real numbers
Mode.For example, the unique identifier can be generated in the inside that living body faces verify device, which can also be
The outside (for example, cloud server) of living body faces verifying device generates and passes to living body faces verifying device.For example, dynamic
The living body faces for changing the particular content an embodiment of the present disclosure offer for the mode of irradiation light for being irradiated to face to be verified are tested
The embodiment of card device, details are not described herein.
For example, in the case where dynamically changing the mode for the irradiation light for being irradiated to face to be verified, it can be for example using figure
As the image of acquisition device shooting several faces to be verified corresponding with each mode respectively, such as it can record and be waited for comprising several
It verifies the video of the image of face or multiframe picture can also be continuously shot.The case where face to be verified is living body faces
Under, image capturing device light collected is the reflection light and ambient light (not shown) of face to be verified.It is shining
In the case that the mode (color or/and position) for the irradiation light being mapped on living body faces changes, image capturing device is obtained
The images of living body faces corresponding with the mode of each irradiation light will be occurred according to the variation of the mode of each irradiation light pair
It should change.
Face to be verified be second display screen (the display screen for malicious attack) shown by facial image or/
In the case where video, image capturing device light collected is the reflection light of face to be verified, second display screen
Self-luminous light and ambient light (not shown).Since second display screen is self-luminous body, and in image taking
In device three kinds of light collected, the self-luminous light of only second display screen can be used for shape in image capturing device
At facial image.Second display screen and the reflection light of shown face to be verified generally include partial specular reflection point
Amount, and cannot be used for forming facial image in image capturing device, but face figure is formed by with image capturing device
The form of the noise of picture exists.Therefore, change in the mode for the irradiation light being irradiated on living body faces (color or/and position)
In the case where change, even if second display screen and its reflection light of the face to be verified of display have change slightly, also almost
It will not influence the reflective character of face to be verified shown by second display screen.It is possible thereby to pass through the light of face to be verified
Reflection characteristic distinguishes facial image or/and video shown by living body faces and second display screen, that is to say, can pass through figure
The light reflection that the image of several faces to be verified corresponding with each irradiation optical mode obtained as filming apparatus is embodied is special
Property determines whether face to be verified is living body faces.For example, the portion for being directed to same face characteristic in multiple image can be chosen
Point, the reflective character of the part of same face characteristic is then calculated, and whether face to be verified is determined according to reflective character
For living body faces.In another example the part of same position in multiple image can also be chosen, identical bits in multiple image are then calculated
The reflective character for the part set, and it is verified whether face to be verified is living body faces according to reflective character determination.
For example, determining that face to be verified is based on the reflective character of face to be verified in multiple image in step S20
It is no to include: for living body faces
Step S201: it extracts from the image of acquired video or multiframe face to be verified because being irradiated to face to be verified
On irradiation light mode (for example, color or/and position) change caused by target object image variation information (letter
Number);
Step S202: judge whether face to be verified is living body faces according to extracted information (signal).
For example, in step s 201, extracting mesh caused by the patterns of change because of the irradiation light being irradiated on face to be verified
Information (signal) method of variation for marking the image of object can be selected according to practical application, embodiments herein to this not
It is specifically limited.For example, can be by calculating associated picture (that is, calculating the phase of multiple image and the mode of corresponding irradiation light
Close property) method realize above-mentioned target object image variation information extraction.For example, the method for calculating associated picture can join
See a kind of embodiment for living body faces verifying device that an embodiment of the present disclosure provides, details are not described herein.
For example, can also be obtained to image capturing device before executing step S201 corresponding with each irradiation optical mode
The images of several faces to be verified pre-processed.The purpose of image preprocessing is to guarantee the size of target object, position
Set the consistency with quality.For example, target object can be the portion of entire human face region or face according to practical application request
Subregion is not specifically limited herein.It is, for example, possible to use the methods of alignment compensation to make the target object in multiframe facial image
Position in each image is consistent, and the consistent position approximation for referring to target object herein is constant, does not require that front and back
It is identical.The method of alignment compensation can be found in a kind of implementation of living body faces verifying device of an embodiment of the present disclosure offer
Example, details are not described herein.
For example, after executing step S201, it, can also be to the extracted signal of step S201 before executing step S202
The reliability of (for example, calculated result of associated picture or correlation) is calculated.For example, can by calculate extracted signal
May determine that whether face to be verified faces the strong light except irradiation light when shooting image by property, and there are except irradiation light
Strong light in the case where prompt user find avoid strong light direct beam environment carry out living body faces verifying.For example, extracted signal
Reliability calculating and judgment method can be found in an embodiment of the present disclosure offer a kind of living body faces verifying device reality
Example is applied, details are not described herein.
For example, can be used the method for machine learning according to extracted signal (for example, associated picture) in step S202
Judge whether the variation of the image of target object meets the changing rule of face.For example, can be real using the method for machine learning
Existing above-mentioned judgement, and it is achieved in living body faces verifying.For example, can be by the letter of the variation of the image of extracted target object
It number is input in the good classifier of precondition, and is discriminated whether by classifier as shooting living body faces image obtained (i.e.
Differentiate whether face to be verified is living body faces by trained classifier).For example, above-mentioned classifier can be convolutional Neural net
Network (Convolutional neural networks), support vector machines (Support Vector Machine) or other suitable
Classifier, embodiments herein are not specifically limited in this embodiment.For example, the method for training classifier can be found in the disclosure one
A kind of embodiment for living body faces verifying device that a embodiment provides, details are not described herein.
For example, it is also possible to directly using the method for machine learning based on the reflective character of face to be verified in multiple image
Determine whether face to be verified is living body faces.For example, unique identifier (or sequence of real numbers) and image taking can be filled
It sets acquired video or multiple image to be input in the good classifier of precondition (for example, Recognition with Recurrent Neural Network), and by dividing
Class device discriminates whether to shoot living body faces image obtained.Therefore, which may be implemented living body people
The verifying of face, and thus improve the safety of face verification method.
Present disclose provides a kind of living body faces verification method and device, the living body faces verification method and device are realized
The verifying of living body faces, and thus improve the safety of face verification method and device.
The above is only exemplary embodiment of the invention, protection scope and is not intended to limit the present invention, this hair
Bright protection scope is determined by the attached claims.
Claims (32)
1. a kind of living body faces verification method, comprising:
Dynamic changes the mode for being irradiated to the irradiation light of face to be verified, and shoots corresponding with each mode described in several respectively
The image of face to be verified;
Determine whether the face to be verified is living body based on the reflective character of face to be verified described in the multiple image
Face,
Wherein, the reflective character based on face to be verified in multiple image determines whether face to be verified is living body faces
Include:
From in the multiple image extract because the irradiation light being irradiated on the face to be verified patterns of change caused by described in
The change information of multiple image;And
Judge whether the variation of the image of the face to be verified meets the change of face according to the change information of the multiple image
Law, to judge whether the face to be verified is living body faces.
2. living body faces verification method according to claim 1, wherein dynamically change the irradiation light color and/or
Position carrys out dynamic and changes the mode for being irradiated to the irradiation light of the face to be verified.
3. living body faces verification method according to claim 2, wherein the light for using display screen to issue is as being irradiated to
The irradiation light of the face to be verified, and dynamically change display screen by changing the content shown on the display screen
The mode of the light of sending, so that dynamic changes the mode for being irradiated to the irradiation light of the face to be verified.
4. living body faces verification method according to claim 3, wherein by showing predetermined figure on the display screen
Case, and change color and/or the position of the predetermined pattern to change the content shown on the display screen.
5. living body faces verification method according to claim 1 to 4, wherein according to pre-defined rule or randomly dynamic
Change the mode for being irradiated to the irradiation light of the face to be verified.
6. living body faces verification method according to claim 1 to 4, wherein in the initial of each living body faces verifying
Moment generates unique identifier corresponding with the secondary face living body verifying.
7. living body faces verification method according to claim 6, further includes: generated at any time according to the unique identifier
The sequence of real numbers of variation, and realize that dynamic change is irradiated to the mould of the irradiation light of face to be verified based on the sequence of real numbers
Formula.
8. living body faces verification method according to claim 1, wherein shoot several institutes corresponding with each mode respectively
The image for stating face to be verified includes recording the video comprising described image.
9. living body faces verification method according to claim 1, wherein based on witness to be tested described in the multiple image
The reflective character of face determines whether the face to be verified is that living body faces include:
The part for being directed to same face characteristic in the multiple image is chosen, the reflective character of the part is then calculated, and
Determine whether the face to be verified is living body faces according to the reflective character.
10. living body faces verification method according to claim 1, wherein based on to be verified described in the multiple image
The reflective character of face determines whether the face to be verified is that living body faces include:
The part of same position in the multiple image is chosen, then calculates the reflective character of the part, and according to described
Reflective character determines whether the face to be verified is living body faces.
11. living body faces verification method according to claim 10, wherein the same position in choosing the multiple image
Part before, to the multiple image carry out registration process so that the position of the face in the multiple image basic one
It causes.
12. living body faces verification method according to claim 1, wherein based on to be verified described in the multiple image
The reflective character of face determines whether the face to be verified is that living body faces include:
Calculate the correlation of the multiple image with the mode of corresponding irradiation light;And
Judge whether the face to be verified is living body faces according to the calculated result of the correlation.
13. living body faces verification method according to claim 1, further includes: based on multiple image judgement it is described to
Whether verifying face faces the strong light except the irradiation light when shooting image, if so, then prompting user to find avoids strong light
The environment of direct projection carries out the living body faces verifying.
14. any living body faces verification method of -4 and 8-13 according to claim 1, wherein measuring several described figures
After the reflective character of the face as described in, determine whether the face to be verified is living by classifier trained in advance
Body face.
15. a kind of living body faces verify device, comprising:
Light source is configured to dynamic and changes the mode for being irradiated to the irradiation light of face to be verified;
Image capturing device is configured to shoot the image of several faces to be verified corresponding with each mode respectively;
Processing unit, be configured to face to be verified described in the multiple image reflective character determine it is described to be verified
Whether face is living body faces,
Wherein, the reflective character based on face to be verified in multiple image determines whether face to be verified is living body faces
Include:
From in the multiple image extract because the irradiation light being irradiated on the face to be verified patterns of change caused by described in
The change information of multiple image;And
Judge whether the variation of the image of the face to be verified meets the change of face according to the change information of the multiple image
Law, to judge whether the face to be verified is living body faces.
16. living body faces according to claim 15 verify device, wherein the light source is configured to dynamic and changes the photograph
Color and/or the position of light are penetrated, so that dynamic changes the mode for being irradiated to the irradiation light of the face to be verified.
17. living body faces according to claim 16 verify device, wherein the light source is display screen, the display
Screen is configured to dynamically change the mode for being irradiated to the irradiation light of the face to be verified by changing shown content.
18. living body faces according to claim 17 verify device, wherein the display screen is configured to show predetermined figure
Case and dynamic change color and/or the position of the predetermined pattern.
19. any living body faces of 5-18 verify device according to claim 1, wherein the light source is configured to according to pre-
Then or randomly dynamic changes the mode for being irradiated to the irradiation light of the face to be verified to set pattern.
20. any living body faces of 5-18 verify device according to claim 1, wherein the processing unit is additionally configured to
Unique identifier corresponding with the secondary face living body verifying is generated in the initial time of each living body faces verifying.
21. living body faces according to claim 20 verify device, wherein the processing unit is additionally configured to according to
Unique identifier generates the sequence of real numbers changed over time, and realizes that dynamically change is irradiated to be tested based on the sequence of real numbers
The mode of the irradiation light of witness's face.
22. living body faces according to claim 15 verify device, wherein described image filming apparatus is configured to record view
Frequency is to shoot the images of several faces to be verified corresponding with each mode respectively.
23. living body faces according to claim 15 verify device, wherein the processing unit is additionally configured to described in selection
It is directed to the part of same face characteristic in multiple image, is then based on the reflective character of the part, and anti-according to the light
It penetrates characteristic and determines whether the face to be verified is living body faces.
24. living body faces according to claim 15 verify device, wherein the processing unit is additionally configured to described in selection
Then the part of same position in multiple image calculates the reflective character of the part, and true according to the reflective character
Whether the fixed face to be verified is living body faces.
25. living body faces according to claim 24 verify device, wherein the processing unit is additionally configured to choosing institute
It states in multiple image before the part of same position, registration process is carried out so that in the multiple image to the multiple image
Face position it is almost the same.
26. living body faces according to claim 15 verify device, wherein the processing unit is additionally configured to: calculating institute
State the correlation of multiple image with the mode of corresponding irradiation light, and according to the judgement of the calculated result of the correlation it is described to
Verify whether face is living body faces.
27. living body faces according to claim 15 verify device, wherein the processing unit is additionally configured to: being based on institute
It states multiple image and judges whether the face to be verified faces the strong light except the irradiation light when shooting image, if so, then
Prompt user, which finds, avoids the environment of strong light direct beam from carrying out the living body faces verifying.
28. any living body faces of 5-18 and 22-27 verify device according to claim 1, wherein the processing unit is matched
It is set to after the reflective character for measuring face described in the multiple image, by classifier trained in advance to determine
State whether face to be verified is living body faces.
29. living body faces according to claim 15 verify device, wherein in the face to be verified be living body faces
In the case of, the change information of the multiple image includes facial image.
30. a kind of living body faces verify device, including processor and memory, wherein be stored with computer in the memory
Program instruction, the computer program instructions execute following steps when being run by the processor:
Acquisition shoots corresponding with each mode respectively when dynamically changing the mode for the irradiation light for being irradiated to face to be verified
The image of several faces to be verified;
Determine whether the face to be verified is living body based on the reflective character of face to be verified described in the multiple image
Face,
Wherein, the reflective character based on face to be verified in multiple image determines whether face to be verified is living body faces
Include:
From in the multiple image extract because the irradiation light being irradiated on the face to be verified patterns of change caused by described in
The change information of multiple image;And
Judge whether the variation of the image of the face to be verified meets the change of face according to the change information of the multiple image
Law, to judge whether the face to be verified is living body faces.
31. a kind of living body faces verify device, comprising:
Light source is configured to dynamic and changes the mode for being irradiated to the irradiation light of face to be verified;
Image capturing device is configured to shoot the image of several faces to be verified corresponding with each mode respectively;
Information transceiver is configured to the image of several faces to be verified being sent to server, from described
Whether server reception determines the face to be verified based on the reflective character of face to be verified described in the multiple image
For the judgement information of living body faces,
Processing unit is verified based on judgement information execution or does not pass through operation,
Wherein, the reflective character based on face to be verified in multiple image determines whether face to be verified is living body faces
Include:
From in the multiple image extract because the irradiation light being irradiated on the face to be verified patterns of change caused by described in
The change information of multiple image;And
Judge whether the variation of the image of the face to be verified meets the change of face according to the change information of the multiple image
Law, to judge whether the face to be verified is living body faces.
32. a kind of living body faces verify device, including information transceiver and processing unit,
Wherein, the information transceiver is configured to receive the image of several faces to be verified, the processing from client
Whether the reflective character that device is configured to face to be verified described in the multiple image determines the face to be verified
For living body faces, the information transceiver be additionally configured to for the processing unit being based on described in the multiple image to
The reflective character of verifying face determines whether the face to be verified is that the judgement information of living body faces is sent to the client
End,
The reflective character based on face to be verified in multiple image determines whether face to be verified is that living body faces include:
From in the multiple image extract because the irradiation light being irradiated on the face to be verified patterns of change caused by described in
The change information of multiple image;And
Judge whether the variation of the image of the face to be verified meets the change of face according to the change information of the multiple image
Law, to judge whether the face to be verified is living body faces.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611162606.0A CN106529512B (en) | 2016-12-15 | 2016-12-15 | Living body faces verification method and device |
US15/840,863 US10796178B2 (en) | 2016-12-15 | 2017-12-13 | Method and device for face liveness detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611162606.0A CN106529512B (en) | 2016-12-15 | 2016-12-15 | Living body faces verification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106529512A CN106529512A (en) | 2017-03-22 |
CN106529512B true CN106529512B (en) | 2019-09-10 |
Family
ID=58340828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611162606.0A Active CN106529512B (en) | 2016-12-15 | 2016-12-15 | Living body faces verification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106529512B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107992794B (en) * | 2016-12-30 | 2019-05-28 | 腾讯科技(深圳)有限公司 | A kind of biopsy method, device and storage medium |
CN108881674B (en) * | 2017-06-05 | 2020-09-18 | 北京旷视科技有限公司 | Image acquisition device and image processing method |
CN107633198A (en) * | 2017-07-25 | 2018-01-26 | 百度在线网络技术(北京)有限公司 | Biopsy method, device, equipment and storage medium |
CN107808115A (en) * | 2017-09-27 | 2018-03-16 | 联想(北京)有限公司 | A kind of biopsy method, device and storage medium |
CN108875497B (en) * | 2017-10-27 | 2021-04-27 | 北京旷视科技有限公司 | Living body detection method, living body detection device and computer storage medium |
CN108629298A (en) * | 2018-04-23 | 2018-10-09 | Oppo广东移动通信有限公司 | Face identification method, electronic device and non-volatile computer readable storage medium storing program for executing |
CN110298312B (en) * | 2019-06-28 | 2022-03-18 | 北京旷视科技有限公司 | Living body detection method, living body detection device, electronic apparatus, and computer-readable storage medium |
CN111274928B (en) * | 2020-01-17 | 2023-04-07 | 腾讯科技(深圳)有限公司 | Living body detection method and device, electronic equipment and storage medium |
CN111310136B (en) * | 2020-02-26 | 2021-09-14 | 支付宝(杭州)信息技术有限公司 | Authenticity verification method, device and equipment for image data |
CN111783640A (en) * | 2020-06-30 | 2020-10-16 | 北京百度网讯科技有限公司 | Detection method, device, equipment and storage medium |
CN111859341A (en) * | 2020-07-20 | 2020-10-30 | 联想(北京)有限公司 | Light beam-based verification method and verification device |
CN112115925A (en) * | 2020-11-18 | 2020-12-22 | 鹏城实验室 | Face recognition method and device and computer readable storage medium |
CN112861801B (en) * | 2021-03-16 | 2022-07-15 | 张日升 | Survival authentication method for civil administration subsidy issuing |
CN113111807B (en) * | 2021-04-20 | 2024-06-07 | 北京嘀嘀无限科技发展有限公司 | Target identification method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020600A (en) * | 2012-12-12 | 2013-04-03 | 紫光股份有限公司 | Vivo face identification device for face recognition system |
CN105117695A (en) * | 2015-08-18 | 2015-12-02 | 北京旷视科技有限公司 | Living body detecting device and method |
CN105518711A (en) * | 2015-06-29 | 2016-04-20 | 北京旷视科技有限公司 | In-vivo detection method, in-vivo detection system, and computer program product |
CN106203305A (en) * | 2016-06-30 | 2016-12-07 | 北京旷视科技有限公司 | Human face in-vivo detection method and device |
-
2016
- 2016-12-15 CN CN201611162606.0A patent/CN106529512B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020600A (en) * | 2012-12-12 | 2013-04-03 | 紫光股份有限公司 | Vivo face identification device for face recognition system |
CN105518711A (en) * | 2015-06-29 | 2016-04-20 | 北京旷视科技有限公司 | In-vivo detection method, in-vivo detection system, and computer program product |
CN105117695A (en) * | 2015-08-18 | 2015-12-02 | 北京旷视科技有限公司 | Living body detecting device and method |
CN106203305A (en) * | 2016-06-30 | 2016-12-07 | 北京旷视科技有限公司 | Human face in-vivo detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106529512A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106529512B (en) | Living body faces verification method and device | |
CN104537292B (en) | The method and system detected for the electronic deception of biological characteristic validation | |
WO2021073364A1 (en) | Face liveness detection method, apparatus and device, and storage medium | |
CN108629260B (en) | Living body verification method and apparatus, and storage medium | |
AU2016213755B2 (en) | System and method for performing motion capture and image reconstruction with transparent makeup | |
Steiner et al. | Design of an active multispectral SWIR camera system for skin detection and face verification | |
US10832086B2 (en) | Target object presentation method and apparatus | |
US11200751B2 (en) | Augmented reality system with color-based fiducial marker | |
ES2688399T3 (en) | Systems and methods for life analysis | |
CN103577801B (en) | Quality metrics method and system for biometric authentication | |
US9075975B2 (en) | Online pseudonym verification and identity validation | |
CN108875546A (en) | Face auth method, system and storage medium | |
US20160019421A1 (en) | Multispectral eye analysis for identity authentication | |
US20160019420A1 (en) | Multispectral eye analysis for identity authentication | |
JP2019506694A (en) | Biometric analysis system and method | |
CN109804622A (en) | Infrared image stream is restained | |
CN110516644A (en) | A kind of biopsy method and device | |
CN105874472A (en) | Multi-band biometric camera system having iris color recognition | |
CN106133796A (en) | For representing the method and system of virtual objects in the view of true environment | |
WO2017148315A1 (en) | Captcha-based authentication processing method and device | |
CN108229450A (en) | The method and living creature characteristic recognition system of light filling are carried out based on screen display | |
TW201931195A (en) | Capturing images under coded illumination patterns to reduce effects of ambient lighting conditions | |
CN109040746B (en) | Camera calibration method and apparatus, electronic equipment, computer readable storage medium | |
KR20210131891A (en) | Method for authentication or identification of an individual | |
GB2544915A (en) | Online pseudonym verification and identity validation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100190 room 313, block A, 2 South Road, Haidian District Academy of Sciences, Beijing, China Applicant after: MEGVII INC. Applicant after: Beijing maigewei Technology Co., Ltd. Address before: 100080 room A, block, No. 2 South Road, Haidian District Academy of Sciences, Beijing, China Applicant before: MEGVII INC. Applicant before: Beijing aperture Science and Technology Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |