Nothing Special   »   [go: up one dir, main page]

CN103400108B - Face identification method, device and mobile terminal - Google Patents

Face identification method, device and mobile terminal Download PDF

Info

Publication number
CN103400108B
CN103400108B CN201310289216.XA CN201310289216A CN103400108B CN 103400108 B CN103400108 B CN 103400108B CN 201310289216 A CN201310289216 A CN 201310289216A CN 103400108 B CN103400108 B CN 103400108B
Authority
CN
China
Prior art keywords
face
image
facial image
light
visible ray
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
Application number
CN201310289216.XA
Other languages
Chinese (zh)
Other versions
CN103400108A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310289216.XA priority Critical patent/CN103400108B/en
Publication of CN103400108A publication Critical patent/CN103400108A/en
Priority to PCT/CN2014/076513 priority patent/WO2015003522A1/en
Application granted granted Critical
Publication of CN103400108B publication Critical patent/CN103400108B/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
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/98Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a kind of face identification method, device and mobile terminal, belong to living things feature recognition field.Methods described includes:According to default collection rule, visible ray face image set is obtained using double light sensing cameras;According to the default collection rule, infrared light face image set is obtained using described pair of light sensing camera;Judge that local terminal whether there is the face template image for concentrating any facial image to match with the visible ray face image set and the infrared light facial image;In the presence of local terminal, recognition of face passes through.By the present invention in that carrying out recognition of face with double light sensing cameras, the collection and recognition of face of varying environment light condition servant's face image can be realized, improve the accuracy rate of recognition of face, and without the multiple cameras of mobile terminal configuration, save hardware space, cost performance is improved, facilitates carrying and operation of the user to mobile terminal.

Description

Face identification method, device and mobile terminal
Technical field
The present invention relates to living things feature recognition field, more particularly to a kind of face identification method, device and mobile terminal.
Background technology
With the development of terminal technology and biometrics identification technology, increasing mobile terminal can be known using face Other technology realizes a variety of functions such as the unblock, identification, login authentication of screen.When carrying out recognition of face, mobile terminal profit Gather facial image in real time with the picture pick-up device of configuration, and match cognization is carried out with the template image that gathers in advance, when collecting Facial image when being matched with template image, be verified.
But recognition of face can be influenceed by ambient light, under dark surrounds or light environment, ambient light with advance Ambient light during acquisition module image is different, and the face figure matched with template image can not be collected by easily causing picture pick-up device Picture, causes authentication failed.
Influence in order to avoid ambient light to facial image, mobile terminal can be configured with visible image capturing equipment simultaneously With infrared pick-up equipment to carry out the collection of facial image.Visible ray facial image is gathered by visible image capturing equipment, by red Outer smooth picture pick-up device collection infrared light facial image, and respectively it will be seen that light facial image and infrared light facial image and Prototype drawing As carrying out recognition of face, collection and recognition of face to facial image under varying environment light condition are realized.
During the present invention is realized, inventor has found at least there is problems with:
Mobile terminal need simultaneously be configured with visible image capturing equipment and infrared pick-up equipment, the requirement to hardware compared with Height, in order to realize the collection and recognition of face under varying environment light condition, just necessarily increases hardware cost, and be configured with many Individual picture pick-up device can make it that the volume of mobile terminal is larger, be that carrying and operation of the user to mobile terminal are made troubles.
The content of the invention
In order to solve to add hardware cost, and the problem of occupy larger volume, the embodiments of the invention provide one Plant face identification method, device and mobile terminal.The technical scheme is as follows:
First aspect includes there is provided a kind of face identification method, methods described:
According to default collection rule, visible ray face image set, the visible ray are obtained using double light sensing cameras Face image set includes at least one visible ray facial image;
According to the default collection rule, infrared light face image set, institute are obtained using described pair of light sensing camera Stating infrared light face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least includes the order for obtaining visible ray facial image and infrared light facial image With image number;
Judge that local terminal whether there is and concentrate any with the visible ray face image set and the infrared light facial image The face template image of facial image matching;
When local terminal is present any face figure is concentrated with the visible ray face image set and the infrared light facial image During the face template image of picture matching, recognition of face passes through.
Preferably, according to default collection rule, before double light sensing cameras acquisition visible ray face image set, Methods described also includes:
According to the light condition of current environment, visible ray facial image and infrared light people in the default collection rule are adjusted The image number of face image.
Preferably, according to default collection rule, before double light sensing cameras acquisition visible ray face image set, Methods described also includes:
Configure the frame per second and image resolution ratio during described pair of light sensing camera collection image.
Preferably, according to default collection rule, visible ray face image set, bag are obtained using double light sensing cameras Include:
When described pair of light sensing camera collects complete face, according to default collection rule, double light senses are used Answer camera according to the light pixel arrangement mode of visible ray, obtain visible ray facial image;
Continue to obtain visible ray facial image, until the visible ray facial image number got is advised with the default collection Visible ray facial image number in then is identical, terminates the collection to visible ray facial image;
Correspondingly, according to the default collection rule, light image of the described pair of light sensing camera according to infrared light is used Plain arrangement mode, obtains infrared light face image set, including:
When described pair of light sensing camera collects complete face, according to default collection rule, double light senses are used Answer camera according to the light pixel arrangement mode of infrared light, obtain infrared light facial image;
Continue to obtain infrared light facial image, until the infrared light facial image number got is advised with the default collection Infrared light facial image number in then is identical, terminates the collection to infrared light facial image.
Concentrated preferably, judging that local terminal whether there is with the visible ray face image set and the infrared light facial image After the face template image of any facial image matching, methods described also includes:
When it is determined that local terminal is not present concentrates any with the visible ray face image set and the infrared light facial image During the face template image of facial image matching, recognition of face does not pass through, reuses described pair of light sensing camera acquisition Visible ray face image set and infrared light face image set.
Concentrated preferably, judging that local terminal whether there is with the visible ray face image set and the infrared light facial image After the face template image of any facial image matching, methods described also includes:
The recognition result of recognition of face is included on the display screen of local terminal.
Second aspect includes there is provided a kind of face identification device, described device:
Visible ray acquisition module, for according to default collection rule, visible ray people to be obtained using double light sensing cameras Face image collection, the visible ray face image set includes at least one visible ray facial image;
Infrared light acquisition module, for according to the default collection rule, being obtained using described pair of light sensing camera Infrared light face image set, the infrared light face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least includes the order for obtaining visible ray facial image and infrared light facial image With image number;
Matching module, for judging that local terminal whether there is and the visible ray face image set and the infrared light face figure The face template image of any facial image matching in image set;
Module is identified by, for existing and the visible ray face image set and the infrared light facial image when local terminal During the face template image for concentrating any facial image to match, recognition of face passes through.
Preferably, described device also includes:
Rule adjustment module, for the light condition according to current environment, adjusts visible ray in the default collection rule The image number of facial image and infrared light facial image.
Preferably, described device also includes:
Configuration module, for configuring frame per second and image resolution ratio during described pair of light sensing camera collection image.
Preferably, the visible ray acquisition module is used for when described pair of light sensing camera collects complete face, According to default collection rule, using light pixel arrangement mode of double light sensing cameras according to visible ray, visible ray people is obtained Face image;Continue to obtain visible ray facial image, until the visible ray facial image number got is advised with the default collection Visible ray facial image number in then is identical, terminates the collection to visible ray facial image;
Correspondingly, the infrared light acquisition module is used for when described pair of light sensing camera collects complete face, According to default collection rule, using light pixel arrangement mode of double light sensing cameras according to infrared light, infrared light people is obtained Face image;Continue to obtain infrared light facial image, until the infrared light facial image number got is advised with the default collection Infrared light facial image number in then is identical, terminates the collection to infrared light facial image.
Preferably, described device also includes:
Identification is not by module, for being not present and the visible ray face image set and the infrared light when determination local terminal When facial image concentrates the face template image that any facial image is matched, recognition of face does not pass through, reuses described double Light sensing camera obtains visible ray face image set and infrared light face image set.
Preferably, described device also includes:
Display module, for the recognition result of recognition of face to be included into the display screen in local terminal.
The third aspect includes memory, and one or more than one program there is provided a kind of mobile terminal, One of them or more than one program storage is configured to by one or more than one computing device in memory One or more than one program bag contains the instruction for being used for being operated below:
According to default collection rule, visible ray face image set, the visible ray are obtained using double light sensing cameras Face image set includes at least one visible ray facial image;
According to the default collection rule, infrared light face image set, institute are obtained using described pair of light sensing camera Stating infrared light face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least includes the order for obtaining visible ray facial image and infrared light facial image With image number;
Judge that local terminal whether there is and concentrate any with the visible ray face image set and the infrared light facial image The face template image of facial image matching;
When local terminal is present any face figure is concentrated with the visible ray face image set and the infrared light facial image During the face template image of picture matching, recognition of face passes through.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Method provided in an embodiment of the present invention, device and mobile terminal, pedestrian is entered by using double light sensing cameras Face is recognized, can be realized the collection and recognition of face of varying environment light condition servant's face image, be improved the standard of recognition of face True rate, and without the multiple cameras of mobile terminal configuration, save hardware space, improve cost performance, facilitate user to movement The carrying and operation of terminal.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of flow chart of face identification method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of face identification method provided in an embodiment of the present invention;
Fig. 3 is a kind of face identification device structural representation provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal device structural representation provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is a kind of flow chart of face identification method provided in an embodiment of the present invention.The execution master of the inventive embodiments Body is mobile terminal, and referring to Fig. 1, methods described includes:
101:According to default collection rule, visible ray face image set is obtained using double light sensing cameras, this is visible Light face image set includes at least one visible ray facial image;
102:According to the default collection rule, infrared light face image set is obtained using this pair of light sensing camera, should Infrared light face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least include obtaining visible ray facial image and infrared light facial image order and Image number;
103:Judge that local terminal whether there is and concentrate any with the visible ray face image set and the infrared light facial image The face template image of facial image matching;
104:When local terminal is present any face figure is concentrated with the visible ray face image set and the infrared light facial image During the face template image of picture matching, recognition of face passes through.
Method provided in an embodiment of the present invention, by according to default collection rule, being obtained using double light sensing cameras Visible ray face image set and infrared light face image set, and judge that local terminal whether there is and the visible ray face image set and this Infrared light facial image concentrates the face template image of any facial image matching, when local terminal is present and the visible ray face figure When image set and the infrared light facial image concentrate the face template image that any facial image is matched, recognition of face passes through.Adopt With technical scheme, recognition of face is carried out by using double light sensing cameras, varying environment light can be realized Under the conditions of facial image collection and recognition of face, improve the accuracy rate of recognition of face, and multiple without mobile terminal configuration Camera, saves hardware space, improves cost performance, facilitates carrying and operation of the user to mobile terminal.
Preferably, according to default collection rule, before double light sensing cameras acquisition visible ray face image set, This method also includes:
According to the light condition of current environment, visible ray facial image and infrared light face in the default collection rule are adjusted The image number of image.
Preferably, according to default collection rule, before double light sensing cameras acquisition visible ray face image set, This method also includes:
Configure the frame per second and image resolution ratio during this pair of light sensing camera collection image.
Preferably, according to default collection rule, visible ray face image set, bag are obtained using double light sensing cameras Include:
When this pair of light sensing camera collects complete face, according to default collection rule, double light sensings are used Camera obtains visible ray facial image according to the light pixel arrangement mode of visible ray;
Continue to obtain visible ray facial image, until the visible ray facial image number got and the default collection rule In visible ray facial image number it is identical, terminate collection to visible ray facial image;
Correspondingly, according to the default collection rule, arranged using this pair of light sensing camera according to the light pixel of infrared light Row mode, obtains infrared light face image set, including:
When this pair of light sensing camera collects complete face, according to default collection rule, double light sensings are used Camera obtains infrared light facial image according to the light pixel arrangement mode of infrared light;
Continue to obtain infrared light facial image, until the infrared light facial image number got and the default collection rule In infrared light facial image number it is identical, terminate collection to infrared light facial image.
Preferably, judge that local terminal whether there is concentrates any with the visible ray face image set and the infrared light facial image After the face template image for opening facial image matching, this method also includes:
When it is determined that local terminal is not present concentrates any face with the visible ray face image set and the infrared light facial image During the face template image of images match, recognition of face does not pass through, reuses this pair of light sensing camera and obtains visible ray Face image set and infrared light face image set.
Preferably, judge that local terminal whether there is concentrates any with the visible ray face image set and the infrared light facial image After the face template image for opening facial image matching, this method also includes:
The recognition result of recognition of face is included on the display screen of local terminal.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, herein no longer using any combination Repeat one by one.
Fig. 2 is a kind of flow chart of face identification method provided in an embodiment of the present invention.The execution master of the inventive embodiments Body is mobile terminal, and referring to Fig. 2, methods described includes:
201:According to default collection rule, visible ray face image set is obtained using double light sensing cameras, this is visible Light face image set includes at least one visible ray facial image;
The step specifically includes step(One)With(Two):
(One)When this pair of light sensing camera collects complete face, according to default collection rule, double light are used Sense light pixel arrangement mode of the camera according to visible ray, obtain visible ray facial image;
(Two)Continue to obtain visible ray facial image, until the visible ray facial image number got and the default collection Visible ray facial image number in rule is identical, terminates the collection to visible ray facial image.
202:According to the default collection rule, infrared light face image set is obtained using this pair of light sensing camera, should Infrared light face image set includes at least one infrared light facial image;
The step specifically includes step(Three)With(Four):
(Three)When this pair of light sensing camera collects complete face, according to default collection rule, double light are used Sense light pixel arrangement mode of the camera according to infrared light, obtain infrared light face image set;
(Four)Continue to obtain infrared light facial image, until the infrared light facial image number got and the default collection Infrared light facial image number in rule is identical, terminates the collection to infrared light facial image.
Step 201 and step 202 will be further illustrated below.
In the embodiment of the present invention, when obtaining facial image, facial image can be obtained from different directions, before just Side, left side side or right side side etc., to obtain front face image, left surface facial image or right flank facial image.Wherein, should Default collection rule at least includes the order and image number for obtaining visible ray facial image and infrared light facial image.Specifically Ground, the order for obtaining visible ray facial image and infrared light facial image refers to obtain visible ray facial image from all directions Order and the order that infrared light facial image is obtained from all directions, correspondingly, obtain visible ray facial image and infrared light The image number of facial image refers to the image number of the visible ray facial image obtained from all directions and from all directions The image number of the infrared light facial image of acquisition.Preferably, according to the suitable of the facial image obtained in the default collection rule Sequence and image number, are pointed out user on the display screen of local terminal, to gather the image of user successively, get symbol Close the face image set of the default collection rule.
The default collection rule can be set by technical staff, can also in use be set by user, the present invention Embodiment is not limited this.
Such as, the default collection rule is first from one visible ray face figure of each acquisition in front, left side side and right side side Picture, then respectively obtain an infrared light facial image from front, left side side and right side side.Or, headed by the default collection rule Visible ray facial image and infrared light facial image first are obtained from front, then visible ray facial image is obtained and red from left side side Outer smooth facial image.
Wherein, this pair of light sensing camera can obtain visible images and infrared light image.When this pair of light sensing When camera obtains image according to the light pixel arrangement mode of visible ray, you can visible images are obtained, when this pair of light sensing When camera obtains image according to the light pixel arrangement mode of infrared light, you can obtain infrared light image.In the embodiment of the present invention This pair of light sensing camera is used to obtain visible ray facial image and infrared light facial image, it is to avoid due to simultaneously using can The hardware cost seen light video camera head and infrared pick-up head and caused rises.
The step 201 and step 202 are specifically included:When this pair of light sensing camera collects complete face, according to The order and image number that obtain visible ray facial image and infrared light facial image that the default collection rule includes, are obtained successively At least one visible ray facial image and/or at least one infrared light facial image are taken, at least one visible ray got Facial image is to constitute visible ray face image set, and at least one infrared light facial image got constitutes infrared light people Face image collection.
It should be noted that absolute sequential relationship is not present between the step 201 and step 202.Can obtaining respectively When seeing light face image set and infrared light face image set, face is obtained successively according to the acquisition order in the default collection rule Image, until the visible ray facial image number got and the visible ray facial image number phase in the default collection rule Together, and the infrared light facial image number that gets is identical i.e. with the infrared light facial image number in the default collection rule Can.The embodiment of the present invention is so that step 202 is performed after step 201 as an example.
Wherein, when determining to switch to collection infrared by collection visible ray facial image local terminal according to the default collection rule During light facial image, by light pixel arrangement mode of the light pixel arrangement mode of this pair of light sensing camera use by visible ray The light pixel arrangement mode of infrared light is switched to, it is correspondingly, when being determined according to the default collection rule that local terminal is infrared by gathering When light facial image switches to collection visible ray facial image, the light pixel arrangement mode that this pair of light sensing camera is used The light pixel arrangement mode of visible ray is switched to by the light pixel arrangement mode of infrared light.
The light pixel arrangement mode that general visible image capturing head and this pair of light sensing camera are used will be carried out below Comparative illustration.Table 1 is the light pixel arrangement mode that general visible image capturing head is used, wherein, R represents red, and G represents green, B Blueness is represented, by the acquisition to tri- kinds of colors of RGB, visible images are formed.Table 2 is what this pair of light sensing camera was used Light pixel arrangement mode, wherein, tri- kinds of colors of RGB and the first cause of general visible image capturing, and with general visible image capturing head not With this pair of light sensing camera introduces infrared light photosensitive pixel IR.Specifically, in collection visible ray facial image When, IR does not work, RGB work, realizes the acquisition of visible ray facial image;When gathering infrared light facial image, IR work, RGB works, and realizes the acquisition of infrared light facial image.By the switching to light pixel arrangement mode, realize using this pair Light sensing camera obtains visible ray facial image and infrared light facial image, it is to avoid simultaneously using visible image capturing head and The hardware cost that infrared pick-up head is caused rises, and improves cost performance.
Table 1
R G R G R G
G B G B G B
R G R G R G
G B G B G B
Table 2
R G R G R G
IR B IR B IR B
R G R G R G
IR B IR B IR B
Before the step 201 and step 202, this method also includes:
According to the light condition of current environment, visible ray facial image and infrared light face in the default collection rule are adjusted The image number of image.
Wherein, the light condition of the environment includes the state such as bright, moderate, dark, black.Specifically, can be according to this pair of light The light intensity that collects of sensing camera, and each light condition default light intensity threshold value, determine current environment Light condition.Determination of the embodiment of the present invention to the light condition of current environment is not limited.
In fact, current environment light condition be bright or moderate state when, it is seen that light video camera head by automatic exposure, The visible ray facial image got can accurately be recognized;And be dark or black state in the light condition of current environment When, infrared pick-up head passes through automatic exposure, you can the infrared light facial image got is accurately recognized.Therefore, According to the light condition of current environment, the figure of visible ray facial image and infrared light facial image in the default collection rule is adjusted As number, including:
When the light condition of current environment brightens, the default collection rule is adjusted, according to the light of current environment The change intensity of condition, accordingly increases the image number of the visible ray facial image in the default collection rule, reduces this and preset The image number of infrared light facial image in collection rule;
When the light condition of current environment is dimmed, the default collection rule is adjusted, according to the light of current environment The change intensity of condition, accordingly reduces the image number of the visible ray facial image in the default collection rule, increases this and preset The image number of infrared light facial image in collection rule.
The above-mentioned image number to visible ray facial image and infrared light facial image in the default collection rule is adjusted Whole concrete mode can be set by technical staff in exploitation, can also in use be set by user, the present invention is real Example is applied not limit this.
203:Judge that local terminal whether there is and concentrate any with the visible ray face image set and the infrared light facial image The face template image of facial image matching;
Wherein, the face template image is the facial image for being pre-stored in local terminal, and the face template image can conduct The validation criteria of recognition of face.Correspondingly, before step 201 and step 202, this method also includes:Obtain at least one people Face template image;
It should be noted that when receiving the operation such as click respective keys of user, face template image can be triggered Process instruction, the operation such as is added or deletes at least one face template image, and the embodiment of the present invention is not limited this It is fixed.
The step 203 is specifically included:The face template image that local terminal is preserved is traveled through, according to default face recognition algorithms, is sentenced Whether any face template image that disconnected local terminal is preserved is concentrated with the visible ray face image set and the infrared light facial image is appointed One facial image matching.
Specifically, according to the default face recognition algorithms, discrete, binaryzation etc. is carried out to any facial image got A series of images processing, obtains result, and calculate any face mould that the result of the facial image is preserved with local terminal The similarity of the result of plate image, when the similarity belongs to preset range, determines the facial image and the face template Images match, when the similarity is not belonging to preset range, determines that the facial image is mismatched with the face template image.
Wherein, the default face recognition algorithms can be subspace analysis, principal component analysis scheduling algorithm.The default face is known Other algorithm can be set by technical staff in exploitation, can also in use be selected by user.The embodiment of the present invention pair This is not limited.
It should be noted that due to the difference of default face recognition algorithms used, causing, when obtaining facial image, to need Frame per second and image resolution ratio are configured so that the frame per second and image resolution ratio of the facial image got are applied to current The default face recognition algorithms used.Correspondingly, before step 201 and step 202, this method also includes:Configure this pair of light Line senses the frame per second and image resolution ratio during camera collection image.
Specifically, according to the default face recognition algorithms applicable frame per second and image resolution ratio, this pair of light sensing is configured Frame per second and image resolution ratio during camera collection image.
It should be noted that when obtaining face image set, can be collected by the display screen of local terminal to local terminal Image carries out preview, in order to which user confirms to face location, it is ensured that collect complete face.Wherein it is possible to will collection The image arrived carries out preview according to the ratio of the resolution ratio of the display screen of local terminal, when collecting complete face, will collect Facial image obtained according to the applicable image resolution ratio of the default face recognition algorithms.Preferably, using register pair The resolution ratio of this pair of light camera is configured.
Specifically, it is 16 in the ratio of the resolution ratio of display screen:When 9, this pair of light camera is set to use identical Image resolution ratio ratio, it is ensured that transfer rate per minute is higher, is easy to when carrying out preview, it is ensured that user can be with this pair Light camera is aligned, and then reaches the position of effective collection facial image.When the position for reaching effective collection facial image When putting, the facial image currently collected is obtained, now, sets this pair of light camera to be fitted using the default face recognition algorithms Resolution ratio carries out the acquisition of facial image, to get the effective information in the facial image to greatest extent.
204:When local terminal is present any face figure is concentrated with the visible ray face image set and the infrared light facial image During the face template image of picture matching, recognition of face passes through, and performs step 206;
205:When it is determined that local terminal is not present concentrates any with the visible ray face image set and the infrared light facial image During the face template image of facial image matching, recognition of face does not pass through, and reusing this pair of light sensing camera acquisition can See light face image set and infrared light face image set, perform step 206;
206:The recognition result of recognition of face is included on the display screen of local terminal.
Step 204-205 specifically includes following two situations:
When local terminal is present any facial image is concentrated with the visible ray face image set and the infrared light facial image During the face template image matched somebody with somebody, recognition of face passes through, and the result that recognition of face passes through is included on the display screen of local terminal, and Continue executing with subsequent operation;It can be applied in the systems such as authentication, gate inhibition, correspondingly, know in face in the embodiment of the present invention After not being verified, perform and enter the authentication system, or open the operation such as gate inhibition.
Or, concentrating any people with the visible ray face image set and the infrared light facial image when determining that local terminal is not present During the face template image of face image matching, recognition of face does not pass through, and the unsanctioned result of recognition of face is included in local terminal On display screen, and reuse this pair of light sensing camera acquisition visible ray face image set and infrared light facial image Collection.
When recognition of face checking not by when, by the unsanctioned result of recognition of face include on the display screen of local terminal. Meanwhile, " again verify " button can be provided on the display screen of local terminal, when detecting user to " verifying again " button During clicking operation, reuse this pair of light sensing camera and obtain visible ray face image set and infrared light face image set. Or, when recognition of face checking not by when, by the unsanctioned result of recognition of face include on the display screen of local terminal, simultaneously Automatic triggering reuses the mistake that this pair of light sensing camera obtains visible ray face image set and infrared light face image set Journey, until when the execution number of times of the process reaches predetermined threshold value, and recognition of face checking not yet by when, exit recognition of face. The embodiment of the present invention to recognition of face verify not by when specific processing mode do not limit.
It should be noted that face identification method provided in an embodiment of the present invention, can be carried out by clicking on corresponding button Triggering, such as clicks on " authentication " button and " continuing to verify " button.On triggering, it is necessary to carry out initial configuration, including System initialization is configured and camera initial configuration.Wherein, system initialization configuration pin is tested face identification system, such as identity Card system, gate control system etc..Camera initial configuration in itself, specifically includes this pair of light of setting for this pair of light camera The electric sequence of camera, the location of pixels of starting and ending and related optical imagery parameter etc..Starting and ending is set Location of pixels refer to set different acquisition image resolution ratio under camera pixel original position and pixel end position, phase The optical imagery parameter of pass includes but is not limited to the exposure parameter and digital simulation gain parameter of acquiescence.Preferably, using deposit Device carries out system initialization configuration and camera initial configuration.
Method provided in an embodiment of the present invention, by according to default collection rule, being obtained using double light sensing cameras Visible ray face image set and infrared light face image set, and judge that local terminal whether there is and the visible ray face image set and this Infrared light facial image concentrates the face template image of any facial image matching, when local terminal is present and the visible ray face figure When image set and the infrared light facial image concentrate the face template image that any facial image is matched, recognition of face passes through.Adopt With technical scheme, recognition of face is carried out by using double light sensing cameras, varying environment light can be realized Under the conditions of facial image collection and recognition of face, improve the accuracy rate of recognition of face, and multiple without mobile terminal configuration Camera, saves hardware space, improves cost performance, facilitates carrying and operation of the user to mobile terminal.
Fig. 3 is a kind of face identification device structural representation provided in an embodiment of the present invention, referring to Fig. 3, described device bag Include:
Visible ray acquisition module 301, for according to default collection rule, visible ray to be obtained using double light sensing cameras Face image set, the visible ray face image set includes at least one visible ray facial image;
Infrared light acquisition module 302, for according to the default collection rule, being obtained using described pair of light sensing camera Infrared light face image set is taken, the infrared light face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least includes the order for obtaining visible ray facial image and infrared light facial image With image number;
Matching module 303, for judging that local terminal whether there is and the visible ray face image set and the infrared light people Face image concentrates the face template image of any facial image matching;
Module 304 is identified by, for existing and the visible ray face image set and the infrared light face when local terminal During the face template image that any facial image is matched in image set, recognition of face passes through.
Preferably, described device also includes:
Rule adjustment module, for the light condition according to current environment, adjusts visible ray in the default collection rule The image number of facial image and infrared light facial image.
Preferably, described device also includes:
Configuration module, for configuring frame per second and image resolution ratio during described pair of light sensing camera collection image.
Preferably, the visible ray acquisition module 301 is used for when described pair of light sensing camera collects complete face When, according to default collection rule, using light pixel arrangement mode of double light sensing cameras according to visible ray, obtain visible ray Facial image;Continue to obtain visible ray facial image, until the visible ray facial image number got and the default collection Visible ray facial image number in rule is identical, terminates the collection to visible ray facial image;
Correspondingly, the infrared light acquisition module 302 is used for when described pair of light sensing camera collects complete face When, according to default collection rule, using light pixel arrangement mode of double light sensing cameras according to infrared light, obtain infrared light Facial image;Continue to obtain infrared light facial image, until the infrared light facial image number got and the default collection Infrared light facial image number in rule is identical, terminates the collection to infrared light facial image.
Preferably, described device also includes:
Identification is not by module, for being not present and the visible ray face image set and the infrared light when determination local terminal When facial image concentrates the face template image that any facial image is matched, recognition of face does not pass through, reuses described double Light sensing camera obtains visible ray face image set and infrared light face image set.
Preferably, described device also includes:
Display module, for the recognition result of recognition of face to be included into the display screen in local terminal.
Device provided in an embodiment of the present invention, carries out recognition of face by using double light sensing cameras, can realize The collection and recognition of face of varying environment light condition servant's face image, improve the accuracy rate of recognition of face, and without mobile Terminal configures multiple cameras, saves hardware space, improves cost performance, facilitates carrying and behaviour of the user to mobile terminal Make.
It should be noted that:The device for the recognition of face that above-described embodiment is provided is in recognition of face, only with above-mentioned each work( The division progress of energy module is for example, in practical application, as needed can distribute above-mentioned functions by different functions Module complete, i.e., the internal structure of mobile terminal is divided into different functional modules, with complete it is described above whole or Partial function.In addition, the device of recognition of face and the embodiment of the method for recognition of face that above-described embodiment is provided belong to same structure Think, it implements process and refer to embodiment of the method, repeats no more here.
Fig. 4 is a kind of terminal device structural representation provided in an embodiment of the present invention, referring to Fig. 4, and the terminal device can be with For implementing the face identification method provided in above-described embodiment.Specifically:
Terminal device 400 can include radio circuit 110, include one or more computer-readable recording mediums Memory 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi module 170, include The parts such as the processor 180 and power supply 190 of one or more than one processing core.It will be understood by those skilled in the art that The terminal device structure shown in Fig. 4 does not constitute the restriction to terminal device, can include than illustrating more or less portions Part, either combines some parts or different parts arrangement.Wherein:
Radio circuit 110 can be used for receive and send messages or communication process in, the reception and transmission of signal.Especially, radio frequency electrical Road 110 will base station downlink information receive after, transfer to one or more than one processor 180 handled;In addition, will be related to up Data be sent to base station.Usually as communication unit radio circuit include but is not limited to antenna, at least one amplifier, Tuner, one or more oscillators, subscriber identity module(SIM)Card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, radio circuit 110 can also pass through radio communication and network and its His equipment communication.The radio communication can use any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..Memory 120 can be used for storage software program and module, processor 180 by operation be stored in memory 120 software program and Module, so as to perform various function application and data processing.Memory 120 can mainly include storing program area and data storage Area, wherein, the application program that storing program area can be needed for storage program area, at least one function(Such as sound-playing function, Image player function etc.)Deng;Storage data field can be stored uses created data according to terminal device 400(Such as audio Data, phone directory etc.)Deng.In addition, memory 120 can include high-speed random access memory, it can also include non-volatile Memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, store Device 120 can also include Memory Controller, to provide the access of processor 180 and input block 130 to memory 120.
Input block 130 can be used for the numeral or character information for receiving input, and generation to be set with user and function The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 may include to touch Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use Touch operation of the family on or near it(Such as user is using any suitable objects such as finger, stylus or annex in touch-sensitive table Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional , Touch sensitive surface 131 may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection means, and is converted into contact coordinate, then gives processor 180, and can receiving processor 180 The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、 One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for display by the information of user input or be supplied to the information and terminal device of user 400 various graphical user interface, these graphical user interface can by figure, text, icon, video and its any combination Lai Constitute.Display unit 140 may include display panel 141, optionally, can using LCD (Liquid Crystal Display, Liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display Panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 is detected on or near it Touch operation after, processor 180 is sent to determine the type of touch event, with preprocessor 180 according to touch event Type provides corresponding visual output on display panel 141.Although in Fig. 4, Touch sensitive surface 131 is with display panel 141 Realized as two independent parts input and input function, but in some embodiments it is possible to by Touch sensitive surface 131 with Display panel 141 is integrated and realizes input and output function.
Terminal device 400 may also include at least one sensor 150, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity transducer can when terminal device 400 is moved in one's ear, Close display panel 141 and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect all directions On(Generally three axles)The size of acceleration, can detect that size and the direction of gravity when static, available for identification mobile phone attitude Application(Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, strike Hit)Deng;Gyroscope, barometer, hygrometer, thermometer, infrared ray sensor for can also configure as terminal device 400 etc. other Sensor, will not be repeated here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal device 400. Electric signal after the voice data received conversion can be transferred to loudspeaker 161, is changed by loudspeaker 161 by voicefrequency circuit 160 Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is connect by voicefrequency circuit 160 Be converted to voice data after receipts, then after voice data output processor 180 is handled, it is such as another to be sent to through RF circuits 110 One terminal device, or voice data is exported to memory 120 so as to further processing.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and terminal device 400.
In order to realize radio communication, WiFi module 170 can be configured with the terminal device.WiFi belongs to short-distance wireless Transmission technology, terminal device 400 can help user to send and receive e-mail, browse webpage and access stream by WiFi module 170 Formula media etc., it has provided the user wireless broadband internet and accessed., can be with although Fig. 4 shows WiFi module 170 Understand, it is simultaneously not belonging to must be configured into for terminal device 400, can not change the essential of invention as needed completely In the range of and omit.
Processor 180 is the control centre of terminal device 400, utilizes each of various interfaces and connection whole mobile phone Part, by operation or performs and is stored in software program and/or module in memory 120, and calls and be stored in memory Data in 120, perform the various functions and processing data of terminal device 400, so as to carry out integral monitoring to mobile phone.It is optional , processor 180 may include one or more processing cores;It is preferred that, processor 180 can integrated application processor and modulatedemodulate Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal device 400 also includes the power supply 190 powered to all parts(Such as battery), it is preferred that power supply can lead to Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 400 can also include camera, bluetooth module etc., will not be repeated here.Specifically exist In the present embodiment, the display unit of terminal device is touch-screen display, and terminal device also includes memory, the memory Also include one or more than one program, and be configured to by one or more than one processor 180 performs described one Individual or more than one program bag contains face identification method and the shown implementations of Fig. 2 for being used for performing that embodiment illustrated in fig. 1 is provided The face identification method that example is provided.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modifications, equivalent substitutions and improvements made etc. should be included within the scope of the present invention.

Claims (11)

1. a kind of face identification method, it is characterised in that methods described includes:
According to default collection rule, visible ray face image set, the visible ray face are obtained using double light sensing cameras Image set includes at least one visible ray facial image;
According to the default collection rule, infrared light face image set is obtained using described pair of light sensing camera, it is described red Outer smooth face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least includes the order and figure for obtaining visible ray facial image and infrared light facial image As number;
Judge that local terminal whether there is and concentrate any face with the visible ray face image set and the infrared light facial image The face template image of images match;
When local terminal is present any facial image is concentrated with the visible ray face image set and the infrared light facial image During the face template image matched somebody with somebody, recognition of face passes through;
The basis presets collection rule, before double light sensing cameras acquisition visible ray face image set, the side Method also includes:
When the light condition of current environment brightens, the default collection rule is adjusted, according to the light line of current environment The change intensity of part, accordingly increases the image number of the visible ray facial image in the default collection rule, reduces described pre- If the image number of the infrared light facial image in collection rule;
When the light condition of current environment is dimmed, the default collection rule is adjusted, according to the light line of current environment The change intensity of part, accordingly reduces the image number of the visible ray facial image in the default collection rule, increases described pre- If the image number of the infrared light facial image in collection rule;
The light pixel of described pair of light sensing camera includes red sensitive pixel R, green light sensitive pixel G, blue sensitive pixel B And infrared light photosensitive pixel IR;
The basis presets collection rule, and visible ray face image set is obtained using double light sensing cameras, including:According to institute Default collection rule is stated, using described pair of light sensing camera, is not worked in the IR, the R, the G, B work Light pixel arrangement mode under, obtain visible ray facial image;
It is described that infrared light face image set is obtained using described pair of light sensing camera according to the default collection rule, wrap Include:According to the default collection rule, using described pair of light sensing camera, in the IR, the R, the G, the B works Under the light pixel arrangement mode of work, infrared light facial image is obtained;
The judgement local terminal whether there is concentrates any with the visible ray face image set and the infrared light facial image The face template image of facial image matching, including:
According to default face recognition algorithms, the visible ray face image set and the infrared light facial image are concentrated and got Any facial image carry out image procossing, obtain result, and calculate the result of the facial image with it is described The similarity of the result for any face template image that local terminal is preserved;
When the similarity belongs to preset range, the facial image and the face template images match are determined;
When the similarity is not belonging to the preset range, do not determine the face head portrait and the face template image not Match somebody with somebody.
2. according to the method described in claim 1, it is characterised in that according to default collection rule, imaged using double light sensings Head is obtained before visible ray face image set, and methods described also includes:
Configure the frame per second and image resolution ratio during described pair of light sensing camera collection image.
3. according to the method described in claim 1, it is characterised in that according to default collection rule, imaged using double light sensings Head obtains visible ray face image set, including:
When described pair of light sensing camera collects complete face, according to default collection rule, taken the photograph using double light sensings As light pixel arrangement mode of the head according to visible ray, visible ray facial image is obtained;
Continue to obtain visible ray facial image, until in the visible ray facial image number got and the default collection rule Visible ray facial image number it is identical, terminate collection to visible ray facial image;
Correspondingly, according to the default collection rule, arranged using described pair of light sensing camera according to the light pixel of infrared light Row mode, obtains infrared light face image set, including:
When described pair of light sensing camera collects complete face, according to default collection rule, taken the photograph using double light sensings As light pixel arrangement mode of the head according to infrared light, infrared light facial image is obtained;
Continue to obtain infrared light facial image, until in the infrared light facial image number got and the default collection rule Infrared light facial image number it is identical, terminate collection to infrared light facial image.
4. the method according to claim any one of 1-3, it is characterised in that judge that local terminal whether there is and the visible ray Face image set and the infrared light facial image are concentrated after the face template image of any facial image matching, the side Method also includes:
When it is determined that local terminal is not present concentrates any face with the visible ray face image set and the infrared light facial image During the face template image of images match, recognition of face does not pass through, reuses described pair of light sensing camera and obtains visible Light face image set and infrared light face image set.
5. the method according to claim any one of 1-3, it is characterised in that judge that local terminal whether there is and the visible ray Face image set and the infrared light facial image are concentrated after the face template image of any facial image matching, the side Method also includes:
The recognition result of recognition of face is included on the display screen of local terminal.
6. a kind of face identification device, it is characterised in that described device includes:
Visible ray acquisition module, for according to default collection rule, visible ray face figure to be obtained using double light sensing cameras Image set, the visible ray face image set includes at least one visible ray facial image;
Infrared light acquisition module, for according to the default collection rule, obtaining infrared using described pair of light sensing camera Light face image set, the infrared light face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least includes the order and figure for obtaining visible ray facial image and infrared light facial image As number;
Matching module, for judging that local terminal whether there is and the visible ray face image set and the infrared light face image set In the matching of any facial image face template image;
Module is identified by, for being concentrated when local terminal is present with the visible ray face image set and the infrared light facial image During the face template image that any facial image is matched, recognition of face passes through;
The light pixel of described pair of light sensing camera includes red sensitive pixel R, green light sensitive pixel G, blue sensitive pixel B And infrared light photosensitive pixel IR;
The visible ray acquisition module, for according to the default collection rule, using described pair of light sensing camera, in institute State IR not work, under the R, the G, the light pixel arrangement mode of B work, obtain visible ray facial image;
The infrared light acquisition module, for according to the default collection rule, using described pair of light sensing camera, in institute State under IR, the R, the G, the light pixel arrangement mode of B work, obtain infrared light facial image;
Described device also includes:
Rule adjustment module, when the light condition for current environment brightens, is adjusted to the default collection rule, according to The change intensity of the light condition of current environment, accordingly increases the image of the visible ray facial image in the default collection rule Number, reduces the image number of the infrared light facial image in the default collection rule;
The rule adjustment module, when the light condition for current environment is dimmed, is adjusted to the default collection rule, According to the change intensity of the light condition of current environment, visible ray facial image in the default collection rule is accordingly reduced Image number, increases the image number of the infrared light facial image in the default collection rule;
The matching module, for according to default face recognition algorithms, to the visible ray face image set and the infrared light Facial image concentrates any facial image got to carry out image procossing, obtains result, and calculate the face figure The similarity of the result for any face template image that the result of picture is preserved with the local terminal;When similarity category When preset range, the facial image and the face template images match are determined;When the similarity be not belonging to it is described pre- If during scope, determining that the face head portrait is mismatched with the face template image.
7. device according to claim 6, it is characterised in that described device also includes:
Configuration module, for configuring frame per second and image resolution ratio during described pair of light sensing camera collection image.
8. device according to claim 6, it is characterised in that the visible ray acquisition module is used for when described pair of light sense When answering the camera to collect complete face, according to default collection rule, light of double light sensing cameras according to visible ray is used Pixel arrangements, obtain visible ray facial image;Continue to obtain visible ray facial image, until the visible ray face got Picture number is identical with the visible ray facial image number in the default collection rule, and end is adopted to visible ray facial image Collection;
Correspondingly, the infrared light acquisition module is used for when described pair of light sensing camera collects complete face, according to Default collection rule, using light pixel arrangement mode of double light sensing cameras according to infrared light, obtains infrared light face figure Picture;Continue to obtain infrared light facial image, until in the infrared light facial image number got and the default collection rule Infrared light facial image number it is identical, terminate collection to infrared light facial image.
9. the device according to claim any one of 6-8, it is characterised in that described device also includes:
Identification is not by module, for being not present and the visible ray face image set and the infrared light face when determination local terminal During the face template image that any facial image is matched in image set, recognition of face does not pass through, reuses described pair of light Sense camera and obtain visible ray face image set and infrared light face image set.
10. the device according to claim any one of 6-8, it is characterised in that described device also includes:
Display module, for the recognition result of recognition of face to be included into the display screen in local terminal.
11. a kind of mobile terminal, it is characterised in that include memory, and one or more than one program, wherein one Individual or more than one program storage is configured to one as described in one or more than one computing device in memory Individual or more than one program bag contains the instruction for being used for being operated below:
According to default collection rule, visible ray face image set, the visible ray face are obtained using double light sensing cameras Image set includes at least one visible ray facial image;
According to the default collection rule, infrared light face image set is obtained using described pair of light sensing camera, it is described red Outer smooth face image set includes at least one infrared light facial image;
Wherein, the default collection rule at least includes the order and figure for obtaining visible ray facial image and infrared light facial image As number;
Judge that local terminal whether there is and concentrate any face with the visible ray face image set and the infrared light facial image The face template image of images match;
When local terminal is present any facial image is concentrated with the visible ray face image set and the infrared light facial image During the face template image matched somebody with somebody, recognition of face passes through;
Collection rule is preset in the basis, before double light sensing cameras acquisition visible ray face image set, currently When the light condition of environment brightens, the default collection rule is adjusted, according to the change of the light condition of current environment Intensity, accordingly increases the image number of the visible ray facial image in the default collection rule, reduces the default collection rule The image number of infrared light facial image in then;
When the light condition of current environment is dimmed, the default collection rule is adjusted, according to the light line of current environment The change intensity of part, accordingly reduces the image number of the visible ray facial image in the default collection rule, increases described pre- If the image number of the infrared light facial image in collection rule;
The light pixel of described pair of light sensing camera includes red sensitive pixel R, green light sensitive pixel G, blue sensitive pixel B And infrared light photosensitive pixel IR;
The basis presets collection rule, and visible ray face image set is obtained using double light sensing cameras, including:According to institute Default collection rule is stated, using described pair of light sensing camera, is not worked in the IR, the R, the G, B work Light pixel arrangement mode under, obtain visible ray facial image;
It is described that infrared light face image set is obtained using described pair of light sensing camera according to the default collection rule, wrap Include:According to the default collection rule, using described pair of light sensing camera, in the IR, the R, the G, the B works Under the light pixel arrangement mode of work, infrared light facial image is obtained;
The judgement local terminal whether there is concentrates any with the visible ray face image set and the infrared light facial image The face template image of facial image matching, including:
According to default face recognition algorithms, the visible ray face image set and the infrared light facial image are concentrated and got Any facial image carry out image procossing, obtain result, and calculate the result of the facial image with it is described The similarity of the result for any face template image that local terminal is preserved;
When the similarity belongs to preset range, the facial image and the face template images match are determined;
When the similarity is not belonging to the preset range, do not determine the face head portrait and the face template image not Match somebody with somebody.
CN201310289216.XA 2013-07-10 2013-07-10 Face identification method, device and mobile terminal Active CN103400108B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310289216.XA CN103400108B (en) 2013-07-10 2013-07-10 Face identification method, device and mobile terminal
PCT/CN2014/076513 WO2015003522A1 (en) 2013-07-10 2014-04-29 Face recognition method, apparatus, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310289216.XA CN103400108B (en) 2013-07-10 2013-07-10 Face identification method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN103400108A CN103400108A (en) 2013-11-20
CN103400108B true CN103400108B (en) 2017-07-14

Family

ID=49563726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310289216.XA Active CN103400108B (en) 2013-07-10 2013-07-10 Face identification method, device and mobile terminal

Country Status (2)

Country Link
CN (1) CN103400108B (en)
WO (1) WO2015003522A1 (en)

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400108B (en) * 2013-07-10 2017-07-14 小米科技有限责任公司 Face identification method, device and mobile terminal
TWI559771B (en) * 2014-07-31 2016-11-21 義隆電子股份有限公司 Active pixel sensor device and operating method of the same
CN104777904A (en) * 2015-03-28 2015-07-15 深圳市金立通信设备有限公司 Terminal
CN105023005B (en) * 2015-08-05 2018-12-07 王丽婷 Face identification device and its recognition methods
CN106815983A (en) * 2015-11-30 2017-06-09 东莞酷派软件技术有限公司 Mobile terminal carries based reminding method, apparatus and system
CN105931316A (en) * 2015-12-18 2016-09-07 许昌学院 Intelligent area monitoring method
CN106695810B (en) * 2016-11-25 2023-09-01 塔米智能科技(北京)有限公司 Visual-based greeting service robot and working method
CN106815914A (en) * 2017-01-25 2017-06-09 辛明江 A kind of gate control system and unlocking method based on face recognition technology
CN106980838A (en) * 2017-03-29 2017-07-25 中控智慧科技股份有限公司 A kind of personal identification method and system
CN110826516B (en) 2017-05-03 2023-04-18 Oppo广东移动通信有限公司 Optical fingerprint verification method and related product
CN107220623A (en) * 2017-05-27 2017-09-29 湖南德康慧眼控制技术股份有限公司 A kind of face identification method and system
CN108985134B (en) * 2017-06-01 2021-04-16 重庆中科云从科技有限公司 Face living body detection and face brushing transaction method and system based on binocular camera
CN107292285B (en) * 2017-07-14 2020-01-14 Oppo广东移动通信有限公司 Iris living body detection method and related product
JP7210872B2 (en) * 2017-07-19 2023-01-24 富士フイルムビジネスイノベーション株式会社 Image processing device and image processing program
CN107507380A (en) * 2017-09-13 2017-12-22 深圳传音制造有限公司 A kind of monitoring method and supervising device based on smart machine
CN107679481B (en) * 2017-09-27 2021-09-14 Oppo广东移动通信有限公司 Unlocking control method and related product
CN107527048B (en) * 2017-09-29 2020-09-01 Oppo广东移动通信有限公司 Fingerprint identification method and device, storage medium and mobile terminal
CN109977741A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Face identification method, device, system and medium
WO2019134094A1 (en) * 2018-01-04 2019-07-11 深圳阜时科技有限公司 Electronic device and facial recognition method therefor
CN108491815B (en) * 2018-03-29 2024-03-12 福建海景科技开发有限公司 Double-screen face recognition device
CN108427939B (en) * 2018-03-30 2022-09-23 百度在线网络技术(北京)有限公司 Model generation method and device
CN108446665B (en) * 2018-03-30 2020-04-17 维沃移动通信有限公司 Face recognition method and mobile terminal
CN108875338A (en) * 2018-05-04 2018-11-23 北京旷视科技有限公司 unlocking method, device and system and storage medium
CN110619200B (en) * 2018-06-19 2022-04-08 Oppo广东移动通信有限公司 Verification system and electronic device
EP3608813A4 (en) * 2018-05-29 2020-07-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Verification system, electronic device, verification method, computer-readable storage medium, and computer apparatus
CN109002786B (en) * 2018-07-06 2022-02-18 深圳市富士智能系统有限公司 Face detection method, face detection equipment and computer-readable storage medium
CN110751753A (en) * 2018-07-06 2020-02-04 北京驭光科技发展有限公司 Door entry control method and system
CN109063620A (en) * 2018-07-25 2018-12-21 维沃移动通信有限公司 A kind of personal identification method and terminal device
CN110826366A (en) * 2018-08-10 2020-02-21 北京魔门塔科技有限公司 Face image acquisition system for data analysis at night
CN109145801B (en) * 2018-08-13 2021-02-02 浙江宇视科技有限公司 Face recognition method and face recognition system
CN109635539B (en) * 2018-10-30 2022-10-14 荣耀终端有限公司 Face recognition method and electronic equipment
CN109284597A (en) * 2018-11-22 2019-01-29 北京旷视科技有限公司 A kind of face unlocking method, device, electronic equipment and computer-readable medium
CN110127468B (en) * 2019-04-12 2023-02-07 深圳壹账通智能科技有限公司 Elevator control method, elevator control device, computer-readable storage medium and computer equipment
CN112052706B (en) * 2019-06-06 2022-07-29 鸿富锦精密工业(武汉)有限公司 Electronic device and face recognition method
CN110532992B (en) * 2019-09-04 2023-01-10 深圳市捷顺科技实业股份有限公司 Human face recognition method based on visible light and near infrared
CN110929575A (en) * 2019-10-22 2020-03-27 苏州雷泰智能科技有限公司 Radiotherapy patient identity verification method and device and radiotherapy equipment
CN112989866B (en) * 2019-12-02 2024-04-09 浙江宇视科技有限公司 Object recognition method, device, electronic equipment and readable storage medium
CN110796125A (en) * 2019-12-05 2020-02-14 湖南创合未来科技股份有限公司 Face authentication method and system
CN111200707A (en) * 2019-12-24 2020-05-26 杭州宇泛智能科技有限公司 Infrared parameter adjusting method and device of face recognition equipment and electronic equipment
CN111274940A (en) * 2020-01-19 2020-06-12 厦门中控智慧信息技术有限公司 Face recognition method, device, equipment and storage medium
CN111419200A (en) * 2020-04-30 2020-07-17 内蒙古智萃科技信息咨询有限公司 Face recognition intelligent temperature measurement system, equipment and storage medium
CN111881822B (en) * 2020-07-27 2024-09-17 芯算一体(深圳)科技有限公司 Access control method, device, equipment and storage medium based on face recognition
CN115018970A (en) * 2022-03-09 2022-09-06 奥比中光科技集团股份有限公司 Image rendering method, device and equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964056A (en) * 2010-10-26 2011-02-02 徐勇 Bimodal face authentication method with living body detection function and system
CN202150141U (en) * 2011-08-12 2012-02-22 桑田智能工程技术(上海)有限公司 Face recognition access control system
CN102595064A (en) * 2012-02-23 2012-07-18 上海中科高等研究院 CMOS (complementary metal oxide semiconductor) image sensor
CN102957917A (en) * 2011-08-30 2013-03-06 比亚迪股份有限公司 Pixel array, camera and array-based color processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639891B (en) * 2008-07-28 2012-05-02 汉王科技股份有限公司 Double-camera face identification device and method
CN102831379B (en) * 2011-06-14 2015-11-25 汉王科技股份有限公司 facial image recognition method and device
CN103136516B (en) * 2013-02-08 2016-01-20 上海交通大学 The face identification method that visible ray and Near Infrared Information merge and system
CN103400108B (en) * 2013-07-10 2017-07-14 小米科技有限责任公司 Face identification method, device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964056A (en) * 2010-10-26 2011-02-02 徐勇 Bimodal face authentication method with living body detection function and system
CN202150141U (en) * 2011-08-12 2012-02-22 桑田智能工程技术(上海)有限公司 Face recognition access control system
CN102957917A (en) * 2011-08-30 2013-03-06 比亚迪股份有限公司 Pixel array, camera and array-based color processing method
CN102595064A (en) * 2012-02-23 2012-07-18 上海中科高等研究院 CMOS (complementary metal oxide semiconductor) image sensor

Also Published As

Publication number Publication date
WO2015003522A1 (en) 2015-01-15
CN103400108A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN103400108B (en) Face identification method, device and mobile terminal
CN105912915B (en) A kind of unlocked by fingerprint method and terminal
CN107194324A (en) Fingerprint recognition region display methods and Related product
CN107094294A (en) Method for connecting network and device
CN107038681A (en) Image weakening method, device, computer-readable recording medium and computer equipment
CN107480610A (en) Fingerprint identification method and related product
CN106022075B (en) A kind of unlocked by fingerprint method and terminal
CN105912916B (en) A kind of unlocked by fingerprint method and terminal
CN107563170A (en) Unlocked by fingerprint method and Related product
CN107437009A (en) Authority control method and related product
CN107580114A (en) Biometric discrimination method, mobile terminal and computer-readable recording medium
CN107729133A (en) A kind of method, terminal and computer-readable recording medium for running application program
CN107239737A (en) A kind of optical finger print recognition methods and Related product
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN106022058B (en) A kind of unlocked by fingerprint method and terminal
CN108920080A (en) Finger scan method, mobile terminal and storage medium
CN104699501B (en) A kind of method and device for running application program
CN107590375A (en) Unlocking method and related product
CN107770478A (en) video call method and related product
CN107451450A (en) Biometric discrimination method and Related product
CN108985047A (en) A kind of unlocking method, terminal, wearable device and computer readable storage medium
CN107025434A (en) A kind of fingerprint register method and mobile terminal
CN107715449A (en) A kind of account login method and relevant device
CN104573437A (en) Information authentication method, device and terminal
CN109542325A (en) Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100102 CHAOYANG, BEIJING TO: 100085 HAIDIAN, BEIJING

GR01 Patent grant
GR01 Patent grant