CN107992797A - Face identification method and relevant apparatus - Google Patents

Face identification method and relevant apparatus Download PDF

Info

Publication number
CN107992797A
CN107992797A CN201711064063.3A CN201711064063A CN107992797A CN 107992797 A CN107992797 A CN 107992797A CN 201711064063 A CN201711064063 A CN 201711064063A CN 107992797 A CN107992797 A CN 107992797A
Authority
CN
China
Prior art keywords
image
face
camera
measured
target person
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.)
Granted
Application number
CN201711064063.3A
Other languages
Chinese (zh)
Other versions
CN107992797B (en
Inventor
李治农
杨李木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Entropy Technology Co Ltd
Original Assignee
ZKTeco Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZKTeco Co Ltd filed Critical ZKTeco Co Ltd
Priority to CN201711064063.3A priority Critical patent/CN107992797B/en
Publication of CN107992797A publication Critical patent/CN107992797A/en
Application granted granted Critical
Publication of CN107992797B publication Critical patent/CN107992797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/145Illumination specially adapted for pattern recognition, e.g. using gratings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • G07C9/37Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Collating Specific Patterns (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The embodiment of the invention discloses a kind of face identification method and relevant apparatus, and applied to the passageway gate machine for including camera and projection arrangement, projection arrangement includes projection light source and film, and given pattern is printed with film, wherein:It is in target person in identification region, the first image of target person is gathered by camera;The face location of target person is determined according to the first image;Given pattern is projected to face location by projection light source, the second image of the corresponding object to be measured of face location is gathered by camera;Judge that object to be measured is two-dimension human face image or three-dimensional face object according to the second image;When object to be measured is three-dimensional face object, projection light source is closed, the 3rd image of object to be measured is gathered by camera;Recognition of face is carried out to the 3rd image, and when recognition of face passes through, it is allowed to the target person passes through the passageway gate machine.The embodiment of the present invention, can improve the security of recognition of face.

Description

Face identification method and relevant apparatus
Technical field
The present invention relates to electronic technology field, and in particular to a kind of face identification method and relevant apparatus.
Background technology
In recent years, with the development and progress of society, the place of many closed management needs the personnel to passing in and out entrance Identification is carried out, and the result of identification is applied to entrance guard management.Identity recognizing technology currently on the market is more, main There are a fingerprint recognition, iris recognition, recognition of face etc., wherein recognition of face is due to its identification uniqueness, non-imposed, non- The features such as contact, than the identification application for being more suitable for entering and exiting mouth.However, the photo of personation can be still imaged, The method that characteristic point is forged by two dimension carries out recognition of face, and can also allow when characteristic point is verified to pass through pass gates Machine, causes security low.
The content of the invention
The embodiment of the present invention proposes a kind of face identification method and relevant apparatus, can improve the security of recognition of face.
In a first aspect, an embodiment of the present invention provides a kind of face identification method, filled applied to including camera and projection The passageway gate machine put, the projection arrangement include projection light source and film, given pattern are printed with the film, its In:
It is in target person in identification region, the first image of the target person is gathered by the camera;
The face location of the target person is determined according to described first image;
The given pattern is projected to the face location by the projection light source, institute is gathered by the camera State the second image of the corresponding object to be measured of face location;
Judge that the object to be measured is two-dimension human face image or three-dimensional face object according to second image;
When the object to be measured is three-dimensional face object, the projection light source is closed, institute is gathered by the camera State the 3rd image of object to be measured;
Recognition of face is carried out to the 3rd image, and when recognition of face passes through, it is allowed to the target person passes through institute State passageway gate machine.
Second aspect, an embodiment of the present invention provides a kind of passageway gate machine, including camera and projection arrangement, the projection Device includes projection light source and film, and given pattern is printed with the film, wherein:
Collecting unit, for being in target person in identification region, the target person is gathered by the camera The first image;
Determination unit, for determining the face location of the target person according to described first image;
Projecting cell, for being projected the given pattern to the face location by the projection light source;
The collecting unit, is additionally operable to gather the second of the corresponding object to be measured of the face location by the camera Image;
Judging unit, for judging that the object to be measured is two-dimension human face image or three-dimensional people according to second image Face object;
The projecting cell, is additionally operable to, when the object to be measured is three-dimensional face object, close the projection light source;
The collecting unit, is additionally operable to gather the 3rd image of the object to be measured by the camera;
Processing unit, for carrying out recognition of face to the 3rd image, and when recognition of face passes through, it is allowed to the mesh Mark personage passes through the passageway gate machine.
The third aspect, an embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor State the method that processor performs above-mentioned first aspect.
The embodiment of the present invention, when target person is in identification region, the first image gathered by camera determines mesh Mark the face location of personage.Projected to the object to be measured of face location by projection arrangement, and gathered by camera again Second image of the object to be measured after projection.If to judge object to be measured be three-dimensional face object according to the second image, it is Living body faces, can close projection light source, and the 3rd image of object to be measured is gathered by camera, and face knowledge is carried out to the 3rd image Not, and when recognition of face passes through, it is allowed to which target person passes through passageway gate machine.That is, first determine that object to be measured is three-dimensional Recognition of face is carried out again after face object, prevents disabled user from carrying out recognition of face using two-dimension human face image, so as to improve The security that passageway gate machine is verified.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis These attached drawings obtain other attached drawings.
Wherein:
Fig. 1 is the schematic diagram of a scenario that a kind of passageway gate machine provided in an embodiment of the present invention carries out recognition of face;
Figure 1A is a kind of schematic diagram of a scenario for gathering the second image provided in an embodiment of the present invention;
Figure 1B is the schematic diagram of a scenario of second image of another collection provided in an embodiment of the present invention;
Fig. 1 C are the structure diagrams of a kind of camera and projection arrangement provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of face identification method provided in an embodiment of the present invention;
Fig. 2A is the schematic diagram of a scenario that a kind of camera provided in an embodiment of the present invention gathers the second image;
Fig. 3 is a kind of structure diagram of passageway gate machine provided in an embodiment of the present invention;
Fig. 3 A are a kind of structure diagrams of judging unit provided in an embodiment of the present invention;
Fig. 3 B are a kind of structure diagrams of determination unit provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another passageway gate machine provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
The embodiment of the present invention proposes a kind of face identification method and relevant apparatus, can improve the safety of recognition of face Property.
Fig. 1 is refer to, Fig. 1 is that the scene that a kind of passageway gate machine provided in an embodiment of the present invention carries out face identification method is shown It is intended to.As shown in Figure 1, above-mentioned passageway gate machine 100 includes camera 110 and projection arrangement 120.
Above-mentioned passageway gate machine 100 is a kind of channel barrier device (channel management equipment), for managing the stream of people and specification row People comes in and goes out, and is mainly used in subway gate system, charge ticket check gate system.Its most basic function is to realize once only to pass through One people, so as to improve the security that passageway gate machine is verified.
The element of above-mentioned passageway gate machine 100 includes babinet, blocks body, movement, control module and supplementary module. Wherein:Babinet is the internal parts such as protection movement, control module, and is played a supporting role;Blocking body is not allowing pedestrian to pass through When serve and block, it is allowed to pedestrian by when can open clearance, realized in the form of generally by door or blocking bar;Movement is by various Mechanical part forms a whole (including driving motor, gear reducer etc.), and unlatching and the pass of body are blocked using theory of mechanics control Close action;Control module realizes various electric components using microprocessor technology and drives the control of motor, simple control circuit It generally can be achieved by master control borad, motor control panel and auxiliary control panel, needed if complicated control circuit (such as underground ticket checking machine) Special industrial personal computer is configured to realize;Supplementary module includes LED indicating modules, counting module, pedestrian detection module, alarm mould Block, authority input module, voice cue module etc., camera 110 and projection arrangement 120 belong to the authority input in supplementary module Module.
Projection arrangement 120 includes projection light source and film, does not also make for the concrete form of projection light source and film Limit.Wherein, projection light source can use the laser of the transmittings such as diode laser pen;Film of the film used in plate making, It is frivolous small, given pattern is printed with, for subsequently projecting to object, and the optional striped of given pattern or grid.
Structure light (Structured Light) is a kind of active optical e measurement technology, and structural light measurement method is usually used in Object three-dimensional contour outline is measured, the optical plane irradiation that linear laser source is produced produces structural light stripes on a surface of an, after Continuous to obtain the modulated laser stripe information of testee from a certain angle by photoelectric sensor, measurement is related to stripe pattern seat Mark and phase calculation, the projection light source image taken be usually computer calculated it is designed, it is necessary to by algorithm to knot Optical strip image is handled in structure photo measure.The device and purpose of process can be simplified in this method, make its it is more convenient apply to it is non- In the biological identification device of contact.
Face identification method is based on structure light used by the embodiment of the present invention, that is to say, that above-mentioned linear laser source is Projection arrangement 120, body surface are face surface (subject surface to be measured), and projection light source image is specified for what is printed on film Pattern, photoelectric sensor are camera 110.
It should be noted that the embodiment of the present invention need not finely measure the three dimensional appearance of object to be measured, but pass through projection Device 120 launches projection light source to the object to be measured of face location, i.e., to given pattern is projected on object to be measured, camera at this time 110 directions angled with the projection optical axis projection of projection arrangement 120, so as to obtain due to subject surface to be measured height The deformation pattern for changing and being produced on its surface, the three-dimensional feature of object to be measured is judged by deformation pattern, so as to judge to be measured Object is two-dimension human face image or three-dimensional face object.
For example, when object to be measured is two-dimension human face image, as shown in Figure 1A, the grid on the two-dimension human face image Keep smooth straight line;When object to be measured is three-dimensional face object, as shown in Figure 1B, the grid on the three-dimensional face object is in The straight line now deformed.
In embodiments of the present invention, camera 110 and projection arrangement 120 are fixedly mounted on the babinet of passageway gate machine 100, For the spacer between camera 110 and the angle of projection arrangement 120 and mounting surface, camera 110 and projection arrangement 120 It is not construed as limiting with a distance from, camera 110 and the projection visual angle of projection arrangement 120 and the identification of target person etc., easy to directly exist Installed on existing passageway gate machine, and using the camera for carrying out recognition of face, save cost.
As an example it is assumed that the height of passageway gate machine is 1.1m, as shown in Figure 1 C, projection arrangement 120 includes projection light source 121 and film 122, camera 110 and projection arrangement 120 be fixedly mounted on the babinet of gate, camera 110 and mounting surface In 32 ° of angle, projection arrangement 120 and the angle that mounting surface is in 34 °, 110 center 2cm of centre distance camera, camera 110 Using 60 ° of visual angles, 60 ° of the projection angle of projection arrangement 120, identifies distance 50cm.That is, performing the embodiment of the present invention In the case of the face identification method provided, when target person enters identification region (at 50cm), camera, which can photograph, is The people of 1.45m-1.9m height ranges, the image gathered by camera 110 carry out Face detection, are placed in the lower section of camera 110 Projection light source 121 at 2cm in the specified image projection on film 122 to face, will exclude the false proof attack of two dimension, improve The security of recognition of face.
Fig. 2 is referred to, Fig. 2 is a kind of flow diagram of face identification method provided in an embodiment of the present invention, such as Fig. 2 institutes Show, which is applied to passageway gate machine as shown in Figure 1, wherein:
201:It is in target person in identification region, the first image of target person is gathered by camera.
202:The face location of target person is determined according to the first image.
When target person enter identification region (such as:With the door distance 50cm of gate) when, camera just gathers target person First image of thing, and Face detection is carried out according to the first image and obtains the face location of target person, easy to save camera Power consumption and improve camera collection facial image accuracy.
For how according to the first image to determine that face location does not limit herein, the essential characteristic of face can be utilized, Such as:Determined by the matching degree of the subtemplate and the first image of standard faces template or each face feature in the first image Facial image, or the colour of skin for passing through face particularity distinguish the first image in other positions, so as to extract in the first image Facial image, and the visual angle of the first image of shooting for combining camera determines the corresponding face location of facial image;Can be with By way of machine learning, a classification correctly identified to face and non-face sample is established on training sample set Device.
Optionally, the face characteristic extracted in described first image obtains feature point set;Determined according to the feature point set The face location.That is, the position of facial contour or the position of face profile are determined by feature point set in the first image Put, further according to above-mentioned location determination face location.
203:Given pattern is projected to face location by projection light source, it is corresponding to gather face location by camera Second image of object to be measured.
When projection arrangement is projected given pattern to face location by projection light source, camera collection is by projection Second image of the object to be measured of face position correspondence afterwards.Fig. 2A is refer to, Fig. 2A is to be gathered by projection light source and camera The schematic diagram of a scenario of second image.Shown in constructed as above photo measure method and Fig. 2A, by projection light source 121 by specified figure Case 122 projects to the object to be measured of face location and produces structural light stripes, and the people of target person 10 is gathered by camera 110 Second image of the object to be measured of face position correspondence, the second image are included by the modulated laser stripe information of face location.
After camera gathers the first image of completion, camera can be closed, face location is thrown in projection arrangement During shadow, camera is opened, reduces the power consumption of camera.
Optionally, the visual angle of the camera and the projection angle of the projection light source are adjusted according to the face location. It is appreciated that being directed to face location respectively, the visual angle and projection light source of camera are adjusted, then camera obtains more accurate The second image, judge the accuracy of the second image beneficial to improving.
204:Judge that object to be measured is two-dimension human face image or three-dimensional face object according to the second image.
Constructed as above photo measure method can be produced by obtaining subject surface to be measured height change on its surface Deformation pattern, the three-dimensional feature of object under test is obtained by the deformation pattern of subject surface, so as to judge that object to be measured is two dimension Facial image or three-dimensional face object.
Optionally, image procossing is carried out to second image according to the given pattern, obtains gray-scale map;According to described Gray-scale map and predetermined threshold value extraction deformed region;Generate the two-value template of the deformed region;If the two-value template meets pre- If condition, confirm that the object to be measured is three-dimensional face object.
In the acquisition process of the second image, influenced by subject surface to be measured characteristic and background light source, object to be measured Some parts of surface can become shadow region;It is bigger in the Mutational part light intensity of subject surface to be measured, and the area that some are blocked Then light intensity is smaller in domain.Local shades region, object interruption and background area are can determine whether using gray-scale map, and ash is calculated to every bit Angle value, since the second image is the image that is acquired when being projected on the basis of given pattern, then for specifying image to the Two images carry out image procossing, obtain corresponding gray-scale map.
Fourier transform method can be used to calculate gray value, as shown in formula (1), that is to say, that square of the real part of characteristic value With imaginary part square the sum of be equal to gray value square.
The bridge of the nose and nose are located at facial symmetry centerline, and the second image gathered under projection ray has larger change Shape, and for face, the light intensity of nose Mutational part is bigger, therefore can extract the figure of nasal portion in the second image Picture, if the image of nasal portion is deformation pattern, and the characteristic point in the image meets the preset condition of face nose, confirms to treat Survey object is three-dimensional face object.Since the gray value in gray-scale map is smaller, it can set rational threshold value (predetermined threshold value) will It is separated, and the selection of threshold value can be determined by histogram, then generates two-value template.In the corresponding data of two-value template When distribution deviates straight line, meet preset condition, that is to say, that the change intensity of deformed region is larger.
Obtaining face center can use main element analysis (PCA), probability main element analysis (PPCA), gray scale vertically to accumulate Divide projection or morphological feature description etc..
Wherein, gray scale vertical integral projection carries out convolution with one-dimensional warp factor to the direction of the row of pattern matrix.According to Vertical integral projection formula, it is vertical integral projection to obtain reaction face characteristic, and in the point of image capture face observation scope Complete the face pre-determined bit based on vertical integral projection in peak;Structural light stripes on face according to the feature that people's nose substantially protrudes and Apparent transition is produced, its striped obvious (or bending during vertical light) bending downwards compared with other stripeds, in Vertical Square Upward integral projection finds out the minimum point of vertical integral projection, and according to the architectural feature at facial symmetry center, from domain integral The minimum point coordinate value of projection determines face center.
205:When object to be measured is three-dimensional face object, projection light source is closed, object to be measured is gathered by camera 3rd image.
206:Recognition of face is carried out to the 3rd image, and when recognition of face passes through, it is allowed to target person passes through pass gates Machine.
When it is three-dimensional face object to judge object to be measured, projection light source can be closed, and face is gathered by camera The 3rd image at position, and recognition of face is carried out to the 3rd image, i.e., the identity for determining target person by recognition of face is believed Breath.And when the recognition of face of the 3rd image passes through, it is allowed to which by the passageway gate machine, i.e. control passage gate blocks target person Resistance body is in release status, and when detecting that target person passes through passageway gate machine, control blocks body and is in blocked state, realizes Once only by a people, so as to improve the security that passageway gate machine carries out recognition of face.And judging that object to be measured is two-dimentional people During face image, refusal target person prevents disabled user from carrying out recognition of face using two-dimension human face image by passageway gate machine.
Optionally, the 3rd image recognition of face by when, timer starts timing;If when preset duration reaches, When being not detected by target person and passing through passageway gate machine, control blocks body and is in blocked state.That is, in the people of target person When face is identified by, passageway gate machine allows target person by if but being not detected by target person in preset duration and passing through When, block body and be in blocked state, i.e., anyone needs to carry out recognition of face by gate, so as to improve the safety of passageway gate machine Property.
Optionally:The face characteristic in the 3rd image is extracted, obtains feature point set;By the feature of the 3rd image Point set is divided into K region, and the characteristic point distribution density for obtaining each region in the K region obtains K characteristic point distribution Density;Obtain the variance between the K distribution density;When the variance is in preset range, according to the feature point set Recognition of face is carried out to the 3rd image.
Wherein, K is the integer more than 1.K region may include the region in shape of face region, face region or feature point set Deng.That is, when the variance between K distribution density is in preset range, confirm that the characteristic point in feature point set meets The minimum requirements of image quality measure, you can recognition of face is carried out to the 3rd image for feature point set.If variance is in default When outside scope, it can be resurveyed by camera.
Before recognition of face is carried out to the 3rd image, image quality measure need to be carried out to the 3rd image, and meeting to scheme As quality evaluation minimum requirements when, according to feature point set carry out recognition of face, so as to improve the accuracy of recognition of face.
According to the above method, the feature point set of described first image is divided into K region, the variance of acquisition is in above-mentioned During preset range, according to the feature point set of the first image to the first image carry out recognition of face, and recognition of face by when, permit Perhaps target person passes through passageway gate machine.Overlong time caused by avoiding camera the 3rd image of collection, shortens whole recognition of face The duration of process, improves the treatment effeciency of passageway gate machine.
By implementing the present embodiment, when target person is in identification region, the first image gathered by camera is true Set the goal the face location of personage.Projected again by projection arrangement to the object to be measured of face location, and pass through camera Gather the second image of the object to be measured after projection.If object to be measured is three-dimensional face object, it is living body faces, can closes Projection light source, the 3rd image of object to be measured is gathered by camera, and verifies the 3rd image, and face knowledge is carried out to the 3rd image Not, and when recognition of face passes through, it is allowed to which target person passes through passageway gate machine.That is, first determine that object to be measured is three-dimensional Recognition of face is carried out again after face object, prevents disabled user from carrying out recognition of face using two-dimension human face image, so as to improve The security that passageway gate machine is verified.
It is consistent with Fig. 2 the embodiment described, referring to Fig. 3, Fig. 3 is a kind of passageway gate machine provided in an embodiment of the present invention 300 structure diagram.As shown in figure 3, the passageway gate machine 300 includes camera and projection arrangement, the projection arrangement includes Projection light source and film, are printed with given pattern on the film, wherein:
Collecting unit 301, for being in target person in identification region, the target person is gathered by the camera First image of thing.
Determination unit 302, for determining the face location of the target person according to described first image.
Projecting cell 303, for being projected the given pattern to the face location by the projection light source.
The collecting unit 301, is additionally operable to gather the corresponding object to be measured of the face location by the camera Second image.
Judging unit 304, for judging that the object to be measured is two-dimension human face image or three according to second image Tie up face object.
The projecting cell 303, is additionally operable to, when the object to be measured is three-dimensional face object, close the projected light Source.
The collecting unit 301, is additionally operable to gather the 3rd image of the object to be measured by the camera.
Processing unit 305, for carrying out recognition of face to the 3rd image, and when recognition of face passes through, it is allowed to institute State target person and pass through the passageway gate machine.
As a kind of possible embodiment, the passageway gate machine 300 further includes:
Adjustment unit 306, for the visual angle for adjusting according to the face location camera and the projection arrangement Projection angle.
As a kind of possible embodiment, as shown in Figure 3A, the judging unit 304 includes:
Decoder module 3041, for carrying out image procossing to second image according to the given pattern, obtains Nogata Figure;
First extraction module 3042, for extracting deformed region according to the histogram and predetermined threshold value;
Generation module 3043, for generating the two-value template of the deformed region;
First determining module 3044, if meeting preset condition for the two-value template, it is three to confirm the object to be measured Tie up face object.
As a kind of possible embodiment, as shown in Figure 3B, the determination unit 302 includes:
Second extraction module 3021, for extracting the face characteristic in described first image, obtains feature point set;
Second determining module 3022, for determining the face location according to the feature point set.
As a kind of possible embodiment, the processing unit 306, it is two-dimension human face to be additionally operable in the object to be measured During image, refuse the target person and pass through the passageway gate machine.
Implement the embodiment of the present invention, when target person is in identification region, the first image gathered by camera is true Set the goal the face location of personage.Projected again by projection arrangement to the object to be measured of face location, and pass through camera Gather the second image of the object to be measured after projection.If object to be measured is three-dimensional face object, it is living body faces, can closes Projection light source, the 3rd image of object to be measured is gathered by camera, and verifies the 3rd image, and face knowledge is carried out to the 3rd image Not, and when recognition of face passes through, it is allowed to which target person passes through passageway gate machine.That is, first determine that object to be measured is three-dimensional Recognition of face is carried out again after face object, prevents disabled user from carrying out recognition of face using two-dimension human face image, so as to improve The security that passageway gate machine is verified.
Fig. 4 is referred to, Fig. 4 is a kind of structure diagram of passageway gate machine provided in an embodiment of the present invention.As shown in figure 4, Passageway gate machine in the present embodiment can include processor 410, memory 420, communication interface 430 and one or more programs 440, wherein, one or more programs 440 are stored in memory 420, and are configured to be performed by processor 410, program 440 include being used for the instruction for performing following steps:It is in target person in identification region, the target is gathered by camera The first image of personage;The face location of the target person is determined according to described first image;It will be specified by projection light source Pattern is projected to the face location, and the second figure of the corresponding object to be measured of the face location is gathered by the camera Picture;Judge that the object to be measured is two-dimension human face image or three-dimensional face object according to second image;Described to be measured When object is three-dimensional face object, the projection light source is closed, the 3rd figure of the object to be measured is gathered by the camera Picture;Recognition of face is carried out to the 3rd image, and when recognition of face passes through, it is allowed to the target person passes through the passage Gate.
In the specific implementation, one or more programs 440 described in the embodiment of the present invention can perform the embodiment of the present invention Implementation described in the first embodiment of the face identification method of offer.
A kind of computer-readable recording medium, above computer readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and above computer program includes programmed instruction, and above procedure instruction makes when being executed by a processor Above-mentioned processor performs the implementation described in first embodiment.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can pass through it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of said units, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The above-mentioned unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art, or all or part of the technical solution can be in the form of software product Embody, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment above method of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It is above-mentioned above, it is only the embodiment of the present invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (10)

  1. A kind of 1. face identification method, it is characterised in that applied to the passageway gate machine for including camera and projection arrangement, the throwing Image device includes projection light source and film, and given pattern is printed with the film, wherein:
    It is in target person in identification region, the first image of the target person is gathered by the camera;
    The face location of the target person is determined according to described first image;
    The given pattern is projected to the face location by the projection light source, the people is gathered by the camera Second image of the object to be measured of face position correspondence;
    Judge that the object to be measured is two-dimension human face image or three-dimensional face object according to second image;
    When the object to be measured is three-dimensional face object, the projection light source is closed, by being treated described in camera collection Survey the 3rd image of object;
    Recognition of face is carried out to the 3rd image, and when recognition of face passes through, it is allowed to the target person passes through described logical Barrier gate device.
  2. 2. according to the method described in claim 1, it is characterized in that, it is described by the projection light source by the given pattern Before projection to the face location, the method further includes:
    The visual angle of the camera and the projection angle of the projection arrangement are adjusted according to the face location.
  3. 3. according to the method described in claim 1, it is characterized in that, described judge the object to be measured according to second image It is two-dimension human face image or three-dimensional face object, including:
    Image procossing is carried out to second image according to the given pattern, obtains histogram;
    According to the histogram and predetermined threshold value extraction deformed region;
    Generate the two-value template of the deformed region;
    If the two-value template meets preset condition, confirm that the object to be measured is three-dimensional face object.
  4. 4. according to claim 1-3 any one of them methods, it is characterised in that described according to determining described first image The face location of target person, including:
    The face characteristic in described first image is extracted, obtains feature point set;
    The face location is determined according to the feature point set.
  5. 5. according to claim 1-3 any one of them methods, it is characterised in that the method further includes:
    When the object to be measured is two-dimension human face image, refuses the target person and pass through the passageway gate machine.
  6. A kind of 6. passageway gate machine, it is characterised in that including camera and projection arrangement, the projection arrangement include projection light source and Film, is printed with given pattern on the film, wherein:
    Collecting unit, for being in target person in identification region, the of the target person is gathered by the camera One image;
    Determination unit, for determining the face location of the target person according to described first image;
    Projecting cell, for being projected the given pattern to the face location by the projection light source;
    The collecting unit, is additionally operable to gather the second corresponding image of the face location by the camera;
    Judging unit, for judging that the object to be measured is two-dimension human face image or three-dimensional face pair according to second image As;
    The projecting cell, is additionally operable to, when the object to be measured is three-dimensional face object, close the projection light source;
    The collecting unit, is additionally operable to gather the 3rd image of the object to be measured by the camera;
    Processing unit, for carrying out recognition of face to the 3rd image, and when recognition of face passes through, it is allowed to the target person Thing passes through the passageway gate machine.
  7. 7. passageway gate machine according to claim 6, it is characterised in that the passageway gate machine further includes:
    Adjustment unit, for adjusting the visual angle of the camera and the projected angle of the projection arrangement according to the face location Degree.
  8. 8. passageway gate machine according to claim 6, it is characterised in that the judging unit includes:
    Decoder module, for carrying out image procossing to second image according to the given pattern, obtains histogram;
    First extraction module, for extracting deformed region according to the histogram and predetermined threshold value;
    Generation module, for generating the two-value template of the deformed region;
    First determining module, if meeting preset condition for the two-value template, confirms that the object to be measured is three-dimensional face pair As.
  9. 9. according to claim 6-8 any one of them passageway gate machines, it is characterised in that the determination unit includes:
    Second extraction module, for extracting the face characteristic in described first image, obtains feature point set;
    Second determining module, for determining the face location according to the feature point set.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the processor perform such as right when being executed by a processor It is required that 1-5 any one of them methods.
CN201711064063.3A 2017-11-02 2017-11-02 Face recognition method and related device Active CN107992797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711064063.3A CN107992797B (en) 2017-11-02 2017-11-02 Face recognition method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711064063.3A CN107992797B (en) 2017-11-02 2017-11-02 Face recognition method and related device

Publications (2)

Publication Number Publication Date
CN107992797A true CN107992797A (en) 2018-05-04
CN107992797B CN107992797B (en) 2022-02-08

Family

ID=62031233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711064063.3A Active CN107992797B (en) 2017-11-02 2017-11-02 Face recognition method and related device

Country Status (1)

Country Link
CN (1) CN107992797B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218587A (en) * 2018-10-29 2019-01-15 咪付(广西)网络技术有限公司 A kind of image-pickup method and system based on binocular camera
CN109360310A (en) * 2018-10-11 2019-02-19 中控智慧科技股份有限公司 Biometric discrimination method, systems-on-a-chip and channel unit
CN109711293A (en) * 2018-12-13 2019-05-03 佛山单常科技有限公司 A kind of gateway device based on recognition of face
CN109828231A (en) * 2019-02-26 2019-05-31 天津大学 Flight light source localization method in a kind of LED based room
CN110390751A (en) * 2019-07-23 2019-10-29 中知互联(北京)技术有限公司 A kind of multi-functional barrier free accessibility gate
CN110751757A (en) * 2019-09-11 2020-02-04 河海大学 Unlocking method based on face image processing and intelligent lock
CN110837416A (en) * 2019-09-24 2020-02-25 深圳市火乐科技发展有限公司 Memory management method, intelligent projector and related product
CN111524242A (en) * 2020-04-15 2020-08-11 福建九天达信息科技股份有限公司 Ticket business system for swiping face to enter park in travel industry and use method thereof
CN111915779A (en) * 2020-07-31 2020-11-10 浙江大华技术股份有限公司 Gate control method, device, equipment and medium
CN111930249A (en) * 2020-07-21 2020-11-13 深圳市鹰硕教育服务股份有限公司 Intelligent pen image processing method and device and electronic equipment
CN111932754A (en) * 2019-08-19 2020-11-13 北京戴纳实验科技有限公司 Laboratory entrance guard verification system and verification method
CN112597886A (en) * 2020-12-22 2021-04-02 成都商汤科技有限公司 Ride fare evasion detection method and device, electronic equipment and storage medium
CN112673401A (en) * 2018-09-18 2021-04-16 亚萨合莱有限公司 Determining a matching list for biometric matching
CN115512426A (en) * 2022-11-04 2022-12-23 安徽五域安全技术有限公司 Intelligent face recognition method and system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000311245A (en) * 1999-04-27 2000-11-07 Matsushita Electric Ind Co Ltd Method and edge discriminating device for circuit pattern
CN1834986A (en) * 2005-03-15 2006-09-20 欧姆龙株式会社 Face authentication apparatus, contrl method and program, electronic device having the same, and program recording medium
CN101339607A (en) * 2008-08-15 2009-01-07 北京中星微电子有限公司 Human face recognition method and system, human face recognition model training method and system
CN101777131A (en) * 2010-02-05 2010-07-14 西安电子科技大学 Method and device for identifying human face through double models
CN102254154A (en) * 2011-07-05 2011-11-23 南京大学 Method for authenticating human-face identity based on three-dimensional model reconstruction
CN104008362A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Information processing method, identifying method and electronic equipment
CN104156720A (en) * 2014-07-26 2014-11-19 佳都新太科技股份有限公司 Face image denoising method on basis of noise evaluation model
CN105138996A (en) * 2015-09-01 2015-12-09 北京上古视觉科技有限公司 Iris identification system with living body detecting function
CN105205455A (en) * 2015-08-31 2015-12-30 李岩 Liveness detection method and system for face recognition on mobile platform
CN105260731A (en) * 2015-11-25 2016-01-20 商汤集团有限公司 Human face living body detection system and method based on optical pulses
CN105335722A (en) * 2015-10-30 2016-02-17 商汤集团有限公司 Detection system and detection method based on depth image information
CN106056724A (en) * 2016-07-12 2016-10-26 上海爽瑞智能化系统有限公司 Fingerprint and human face recognition composite security check gate
CN106469465A (en) * 2016-08-31 2017-03-01 深圳市唯特视科技有限公司 A kind of three-dimensional facial reconstruction method based on gray scale and depth information
CN206162736U (en) * 2016-09-30 2017-05-10 深圳市商汤科技有限公司 Access control system based on face recognition
CN106780810A (en) * 2016-12-06 2017-05-31 浙江水马环保科技有限公司 Work attendance method based on water purifier
CN107194325A (en) * 2017-04-28 2017-09-22 广东欧珀移动通信有限公司 Palmmprint acquisition method and Related product
CN107210007A (en) * 2014-11-13 2017-09-26 英特尔公司 Prevent the certification based on face from palming off

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000311245A (en) * 1999-04-27 2000-11-07 Matsushita Electric Ind Co Ltd Method and edge discriminating device for circuit pattern
CN1834986A (en) * 2005-03-15 2006-09-20 欧姆龙株式会社 Face authentication apparatus, contrl method and program, electronic device having the same, and program recording medium
CN101339607A (en) * 2008-08-15 2009-01-07 北京中星微电子有限公司 Human face recognition method and system, human face recognition model training method and system
CN101777131A (en) * 2010-02-05 2010-07-14 西安电子科技大学 Method and device for identifying human face through double models
CN102254154A (en) * 2011-07-05 2011-11-23 南京大学 Method for authenticating human-face identity based on three-dimensional model reconstruction
CN104008362A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Information processing method, identifying method and electronic equipment
CN104156720A (en) * 2014-07-26 2014-11-19 佳都新太科技股份有限公司 Face image denoising method on basis of noise evaluation model
CN107210007A (en) * 2014-11-13 2017-09-26 英特尔公司 Prevent the certification based on face from palming off
CN105205455A (en) * 2015-08-31 2015-12-30 李岩 Liveness detection method and system for face recognition on mobile platform
CN105138996A (en) * 2015-09-01 2015-12-09 北京上古视觉科技有限公司 Iris identification system with living body detecting function
CN105335722A (en) * 2015-10-30 2016-02-17 商汤集团有限公司 Detection system and detection method based on depth image information
CN105260731A (en) * 2015-11-25 2016-01-20 商汤集团有限公司 Human face living body detection system and method based on optical pulses
CN106056724A (en) * 2016-07-12 2016-10-26 上海爽瑞智能化系统有限公司 Fingerprint and human face recognition composite security check gate
CN106469465A (en) * 2016-08-31 2017-03-01 深圳市唯特视科技有限公司 A kind of three-dimensional facial reconstruction method based on gray scale and depth information
CN206162736U (en) * 2016-09-30 2017-05-10 深圳市商汤科技有限公司 Access control system based on face recognition
CN106780810A (en) * 2016-12-06 2017-05-31 浙江水马环保科技有限公司 Work attendance method based on water purifier
CN107194325A (en) * 2017-04-28 2017-09-22 广东欧珀移动通信有限公司 Palmmprint acquisition method and Related product

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FATMA BOUZIDI等: ""Implementation of optical correlator for face recognition applications"", 《 INTERNATIONAL CONFERENCE ON COMPUTER VISION AND IMAGE ANALYSIS APPLICATIONS》 *
杨建伟: ""面向人脸识别的人脸活体检测方法研究"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112673401A (en) * 2018-09-18 2021-04-16 亚萨合莱有限公司 Determining a matching list for biometric matching
CN112673401B (en) * 2018-09-18 2022-08-05 亚萨合莱有限公司 Determining a matching list for biometric matching
CN109360310A (en) * 2018-10-11 2019-02-19 中控智慧科技股份有限公司 Biometric discrimination method, systems-on-a-chip and channel unit
CN109218587A (en) * 2018-10-29 2019-01-15 咪付(广西)网络技术有限公司 A kind of image-pickup method and system based on binocular camera
CN109711293A (en) * 2018-12-13 2019-05-03 佛山单常科技有限公司 A kind of gateway device based on recognition of face
CN109828231A (en) * 2019-02-26 2019-05-31 天津大学 Flight light source localization method in a kind of LED based room
CN109828231B (en) * 2019-02-26 2022-05-17 天津大学 Indoor flying light source positioning method based on LED
CN110390751A (en) * 2019-07-23 2019-10-29 中知互联(北京)技术有限公司 A kind of multi-functional barrier free accessibility gate
CN111932754A (en) * 2019-08-19 2020-11-13 北京戴纳实验科技有限公司 Laboratory entrance guard verification system and verification method
CN110751757A (en) * 2019-09-11 2020-02-04 河海大学 Unlocking method based on face image processing and intelligent lock
CN110837416A (en) * 2019-09-24 2020-02-25 深圳市火乐科技发展有限公司 Memory management method, intelligent projector and related product
CN111524242A (en) * 2020-04-15 2020-08-11 福建九天达信息科技股份有限公司 Ticket business system for swiping face to enter park in travel industry and use method thereof
CN111930249A (en) * 2020-07-21 2020-11-13 深圳市鹰硕教育服务股份有限公司 Intelligent pen image processing method and device and electronic equipment
CN111915779A (en) * 2020-07-31 2020-11-10 浙江大华技术股份有限公司 Gate control method, device, equipment and medium
CN111915779B (en) * 2020-07-31 2022-04-15 浙江大华技术股份有限公司 Gate control method, device, equipment and medium
CN112597886A (en) * 2020-12-22 2021-04-02 成都商汤科技有限公司 Ride fare evasion detection method and device, electronic equipment and storage medium
CN115512426A (en) * 2022-11-04 2022-12-23 安徽五域安全技术有限公司 Intelligent face recognition method and system
CN115512426B (en) * 2022-11-04 2023-03-24 安徽五域安全技术有限公司 Intelligent face recognition method and system

Also Published As

Publication number Publication date
CN107992797B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN107992797A (en) Face identification method and relevant apparatus
CN102483851B (en) Method and apparatus for prominent facial features recognition
CN105518711B (en) Biopsy method, In vivo detection system and computer program product
CN105631439B (en) Face image processing process and device
CN100514353C (en) Living body detecting method and system based on human face physiologic moving
CN105354902B (en) A kind of security management method and system based on recognition of face
KR101291899B1 (en) Procedure for identifying a person by eyelash analysis and acquisition device using thereof
CN102262727A (en) Method for monitoring face image quality at client acquisition terminal in real time
CN102521565B (en) Garment identification method and system for low-resolution video
CN103246869A (en) Crime monitoring method based on face recognition technology and behavior and sound recognition
CN109215806A (en) A kind of public place health monitoring systems and method based on recognition of face
CN111460962A (en) Mask face recognition method and system
CN100373397C (en) Pre-processing method for iris image
CN107992855A (en) A kind of triple verification methods of airport security based on recognition of face
CN105335722A (en) Detection system and detection method based on depth image information
CN101201893A (en) Iris recognizing preprocessing method based on grey level information
CN106210634A (en) A kind of wisdom gold eyeball identification personnel fall down to the ground alarm method and device
CN101246544A (en) Iris locating method based on boundary point search and SUSAN edge detection
CN101853399A (en) Method for realizing blind road and pedestrian crossing real-time detection by utilizing computer vision technology
CN104424721B (en) Recognition methods is blocked in a kind of face of combination ATM
CN103996033B (en) Human identification method based on tracking of human face five-sense-organ coordinates
CN101533466B (en) Image processing method for positioning eyes
CN110555926B (en) Access control method based on multi-certificate recognition and corresponding device
CN103632427A (en) Gate cracking protection method and gate control system
CN115841651B (en) Constructor intelligent monitoring system based on computer vision and deep learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No.32, Pingshan Industrial Road, Tangxia Town, Dongguan City, Guangdong Province 523000

Patentee after: Entropy Technology Co.,Ltd.

Address before: No.26, 188 Industrial Avenue, Pingshan, Tangxia Town, Dongguan City, Guangdong Province, 523000

Patentee before: ZKTECO Co.,Ltd.