CN107679482A - Solve lock control method and Related product - Google Patents
Solve lock control method and Related product Download PDFInfo
- Publication number
- CN107679482A CN107679482A CN201710891482.8A CN201710891482A CN107679482A CN 107679482 A CN107679482 A CN 107679482A CN 201710891482 A CN201710891482 A CN 201710891482A CN 107679482 A CN107679482 A CN 107679482A
- Authority
- CN
- China
- Prior art keywords
- light filling
- face
- parameter
- image
- light
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/141—Control of illumination
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the invention discloses one kind solution lock control method and Related product, wherein, method includes:Obtain ambient brightness value;When the ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined;According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to carry out light filling to face, and shot, obtain target facial image.The embodiment of the present invention can be carried out light filling to face by light compensating lamp and screen, improve man face image acquiring quality, have utilization to lift recognition of face efficiency under noctovision environment.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to one kind solution lock control method and Related product.
Background technology
With a large amount of popularization and applications of mobile terminal (mobile phone, tablet personal computer etc.), the application that mobile terminal can be supported is got over
Come more, function is stronger and stronger, and mobile terminal develops towards variation, personalized direction, and turning into can not in user's life
The appliance and electronic lacked.
At present, recognition of face is increasingly favored by mobile terminal production firm, because environmental factor can change
Larger, the success rate of recognition of face is more difficult to get guarantee, especially under noctovision environment, because picture quality is poor, causes people
The success rate of face identification is relatively low, and therefore, the problem of how lifting face acquisition quality is urgently to be resolved hurrily.
The content of the invention
The embodiments of the invention provide one kind to solve lock control method and Related product, can lift the collection matter of facial image
Amount, so as to improve recognition of face efficiency.
In a first aspect, the embodiment of the present invention provides a kind of mobile terminal, including application processor (Application
Processor, AP), and ambient light sensor, light compensating lamp, screen, the face identification device being connected with the AP, wherein,
The ambient light sensor, for obtaining ambient brightness value;
The AP, for when the ambient brightness value is less than predetermined luminance threshold value, determining the first light filling parameter and second
Light filling parameter;
The light compensating lamp, for carrying out light filling to face according to the first light filling parameter;
The screen, for carrying out light filling to the face according to the second light filling parameter;
The face identification device, for being shot, target facial image is obtained, the target facial image is used for people
Face identifies.
Second aspect, the embodiments of the invention provide one kind to solve lock control method, applied to including application processor AP, with
And ambient light sensor, light compensating lamp, screen, the mobile terminal of face identification device being connected with the AP, methods described include:
The ambient light sensor obtains ambient brightness value;
The AP determines the first light filling parameter and the second light filling ginseng when the ambient brightness value is less than predetermined luminance threshold value
Number;
The light compensating lamp carries out light filling according to the first light filling parameter to face;
The screen carries out light filling according to the second light filling parameter to the face;
The face identification device is shot, and obtains target facial image, and the target facial image is known for face
Not.
The third aspect, the embodiments of the invention provide one kind to solve lock control method, including:
Obtain ambient brightness value;
When the ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined;
According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to enter to face
Row light filling, and shot, target facial image is obtained, the target facial image is used for recognition of face.
Fourth aspect, the embodiments of the invention provide one kind to solve lock control device, including:
First acquisition unit, for obtaining ambient brightness value;
First determining unit, for when the ambient brightness value is less than predetermined luminance threshold value, determining the first light filling parameter
With the second light filling parameter;
Shooting unit, for according to the first light filling state modulator light compensating lamp and the second light filling state modulator screen
Curtain, to carry out light filling to face, and shot, obtain target facial image, the target facial image is used for recognition of face.
5th aspect, the embodiments of the invention provide a kind of mobile terminal, including:Application processor AP and memory;With
And one or more programs, one or more of programs are stored in the memory, and it is configured to by the AP
Perform, described program includes being used for such as the instruction of the part or all of step described in the third aspect.
6th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, it is described computer-readable
Storage medium is used to store computer program, wherein, the computer program causes computer to perform such as the embodiment of the present invention the
The instruction of part or all of step described in three aspects.
7th aspect, the embodiments of the invention provide a kind of computer program product, wherein, the computer program product
Non-transient computer-readable recording medium including storing computer program, the computer program are operable to make calculating
Machine is performed such as the part or all of step described in the third aspect of the embodiment of the present invention.The computer program product can be one
Individual software installation bag.
Implement the embodiment of the present invention, have the advantages that:
As can be seen that solution lock control method and Related product described in the embodiment of the present invention, it is bright can to obtain environment
Angle value, when ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined, mended according to first
Optical parameter controls light compensating lamp and the second light filling state modulator screen, to carry out light filling to face, and is shot, obtains target
Facial image, the target facial image are used for recognition of face, so as under noctovision environment, pass through light compensating lamp and screen
Light filling is carried out to face, improves man face image acquiring quality, has utilization to lift recognition of face efficiency.
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 the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Figure 1A is a kind of configuration diagram of Example mobile terminals provided in an embodiment of the present invention;
Figure 1B is a kind of structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 1 C are a kind of schematic flow sheets for solving lock control method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another solution lock control method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of another structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 4 A are a kind of structural representations for solving lock control device provided in an embodiment of the present invention;
Fig. 4 B are the structures of the first determining unit of the solution lock control device described by Fig. 4 A provided in an embodiment of the present invention
Schematic diagram;
Fig. 4 C are a kind of another structural representations for solving lock control device provided in an embodiment of the present invention;
Fig. 4 D are a kind of another structural representations for solving lock control device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap
Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments
In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present invention can include the various handheld devices with radio communication function,
Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms
User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal
Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
The embodiment of the present invention is described in detail below.A kind of Example mobile terminals 1000 as shown in Figure 1A, the shifting
The face identification device of dynamic terminal 1000 can be camera module 21, and the camera module can be dual camera, above-mentioned double
Camera can be visible image capturing head with one, and one is infrared camera, or, both visible image capturing heads, for example,
One camera is visible image capturing head, and another camera is infrared camera, in another example, a camera is taken the photograph for visible ray
As head and another camera is also visible image capturing head, or above-mentioned camera module can be single camera, such as, it is seen that
Light video camera head, or, infrared camera.
Figure 1B is referred to, Figure 1B is a kind of structural representation of shown mobile terminal 100, and the mobile terminal 100 wraps
Include:Application processor AP110, face identification device 120, light compensating lamp 130, screen 140, ambient light sensor 160, wherein, institute
State AP110 and face identification device 120, light compensating lamp 130, screen 140 and ambient light sensor 160 are connected by bus 150.
Based on the mobile terminal described by Figure 1A-Figure 1B, can be used for implementing function such as:
The ambient light sensor 160, for obtaining ambient brightness value;
The AP110, for when the ambient brightness value is less than predetermined luminance threshold value, determining the first light filling parameter and
Two light filling parameters;
The light compensating lamp 130, for carrying out light filling to face according to the first light filling parameter;
The screen 140, for carrying out light filling to the face according to the second light filling parameter;
The face identification device 120, for being shot, target facial image is obtained, the target facial image is used
In recognition of face.
In a possible example, in terms of the first light filling parameter of the determination and the second light filling parameter, the AP110
It is specifically used for:
Determine that the ambient brightness value is corresponding described according to the mapping relations between default brightness value and light filling parameter
First light filling parameter and the second light filling parameter.
In a possible example, in terms of the first light filling parameter of the determination and the second light filling parameter, the AP110
It is specifically used for:
It is determined that target light filling parameter corresponding with the ambient brightness value;
Obtain the second weights corresponding to the first weights corresponding to light compensating lamp light filling and screen light filling;
The first light filling parameter is determined according to first weights, second weights and the target light filling parameter
With the second light filling parameter.
In a possible example, the face identification device 120 is additionally operable to:
The face is shot, obtains the first image;
The AP110, also particularly useful for:
Image segmentation is carried out to described first image, obtains human face region image;Figure is carried out to the human face region image
As quality evaluation, image quality evaluation values are obtained, when described image quality evaluation value is less than predetermined quality threshold, by the ring
Border optical sensor performs the step of acquisition ambient brightness value.
In a possible example, the AP110 also particularly useful for:
Obtain the characteristic parameter of described first image;
It is determined that acquisition parameters corresponding with the characteristic parameter;
The face identification device 120, is specifically used for:
Shot according to the acquisition parameters, obtain the target facial image.
Based on the mobile terminal described by above-mentioned Figure 1A-Figure 1B, lock control is solved available for one kind as described below is performed
Method, it is specific as follows:
The ambient light sensor 160 obtains ambient brightness value;
The AP110 determines that the first light filling parameter and second is mended when the ambient brightness value is less than predetermined luminance threshold value
Optical parameter;
The light compensating lamp 130 carries out light filling according to the first light filling parameter to face;
The screen 140 carries out light filling according to the second light filling parameter to the face;
The face identification device 120 is shot, and obtains target facial image, and the target facial image is used for face
Identification.
As can be seen that the solution lock control method described in the embodiment of the present invention, can obtain ambient brightness value, in environment
When brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined, according to the first light filling state modulator
Light compensating lamp and the second light filling state modulator screen, to carry out light filling to face, and shot, obtain target facial image,
The target facial image is used for recognition of face, so as under noctovision environment, be carried out by light compensating lamp and screen to face
Light filling, man face image acquiring quality is improved, there is utilization to lift recognition of face efficiency.
Based on the mobile terminal described by Figure 1A-Figure 1B, Fig. 1 C are referred to, for a kind of unblock provided in an embodiment of the present invention
The embodiment schematic flow sheet of control method.Solution lock control method described in the present embodiment, it may include following steps:
101st, ambient brightness value is obtained.
Wherein it is possible to ambient brightness value is obtained by ambient light sensor, or, preview graph can be obtained by camera
Picture, ambient brightness value is used as by the average brightness value of preview image.
102nd, when the ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling ginseng are determined
Number.
Wherein, above-mentioned predetermined luminance threshold value can voluntarily be set or system default by user, less than predetermined luminance threshold value,
Then explanation is in dark situation.Why screen light filling and light compensating lamp light filling are considered in the application, if being mainly in view of in Crape ring
Under border, screen is excessively bright or light compensating lamp is excessively bright, user may feel that it is inadaptable so that producing some natural physiological reactions, example
Such as, gone to block eyes with hand, or, close one's eyes, therefore, cause during facial image is gathered, some can be caused important
Face information is lost, so as to cause face identification rate not high, therefore, it is pre- that the first light filling parameter of the application may be at first
If scope, the second light filling parameter may be at the second preset range, wherein, above-mentioned first preset range, the second preset range can
With by system default, or, user is voluntarily set, and the first preset range, the second preset range are that eyes of user is adapted to
Scope.Certainly, above-mentioned first preset range and the second preset range can also be obtained by machine learning, obtain history face solution
Lock record, the successful unblock record under dark situation (ambient brightness value is less than above-mentioned predetermined luminance threshold value) is therefrom chosen, according to this
Successfully light filling parameter corresponding to unblock record determines the first preset range and the second preset range a bit.Above-mentioned unblock success, explanation
User's hand useless blocks or closed one's eyes, and therefore, illustrates that light filling parameter that kind is adapted to eyes of user.
Alternatively, in above-mentioned steps 102, the first light filling parameter and the second light filling parameter are determined, can be real as follows
Apply:
Determine that the ambient brightness value is corresponding described according to the mapping relations between default brightness value and light filling parameter
First light filling parameter and the second light filling parameter.
Wherein, the mapping relations between default brightness value and light filling parameter can be prestored in mobile terminal, this reflects
The relation of penetrating can be obtained by many experiments, and then, first mends according to corresponding to the mapping relations can determine ambient brightness value
Optical parameter and the second light filling parameter.
Wherein, above-mentioned mapping relations can be expressed as:F (x, y)=c, c are brightness value, and f represents mapping relations, and x represents the
One light filling parameter, y represent the second light filling parameter.
Alternatively, above-mentioned light filling parameter can be following at least one:Brightness, color, colour temperature, frequency etc..
Alternatively, the first light filling parameter can be following at least one:Flicker frequency, flashing times, flash color, flicker
Brightness, light compensating lamp operating current, light compensating lamp operating current, light compensating lamp operating power etc..
Alternatively, the second light filling parameter can be following at least one:Screen intensity, screen color temp, wallpaper etc..
Alternatively, in above-mentioned steps 102, the first light filling parameter and the second light filling parameter are determined, it may include following steps:
21st, target light filling parameter corresponding with the ambient brightness value is determined;
22nd, the second weights corresponding to the first weights corresponding to light compensating lamp light filling and screen light filling are obtained;
23rd, first light filling is determined according to first weights, second weights and the target light filling parameter
Parameter and the second light filling parameter.
Wherein, above-mentioned first weights and the second weights can be empirical value, or, machine is passed through by the system of mobile terminal
The mode of study obtains, and the first weights and the second weights sum are equal to 1.Brightness value and light filling can be prestored in mobile terminal
Mapping relations between parameter, and then, target light filling parameter corresponding with ambient brightness value is determined according to the mapping relations, then
Target light filling parameter is divided in portion according to above-mentioned first weights and the second weights, obtains the first light filling parameter and second
Light filling parameter.Wherein, above-mentioned target light filling parameter can be following at least one:Operating current, operating voltage, operating power,
Operating brightness etc., certainly, it can also include all parameters in the first light filling parameter and the second light filling parameter, for example, work
If making electric current, light compensating lamp and screen can be distributed to.
103rd, according to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, with to people
Face carries out light filling, and is shot, and obtains target facial image.
Wherein it is possible to carry out light filling to face by the first light filling state modulator light compensating lamp, and can be mended by second
Optical parameter control screen carries out light filling, and certainly, light compensating lamp light filling and screen light filling are carried out simultaneously, in this way, so if light filling, no
Because light is too strong user can be allowed to feel uncomfortable, also, such light filling mode, it can equally lift facial image
Acquisition quality, and then, be advantageous to lifted recognition of face efficiency.
Alternatively, after above-mentioned steps 103, can also comprise the following steps:
A1, the target facial image matched with default face template;
A2, when the match is successful for the target facial image and the default face template, perform unblock operation.
Wherein, above-mentioned default face template can pre-save in memory, and it can perform the embodiment of the present invention
Typing before.And then target facial image can be matched with default face template, matching value therebetween is more than
During default recognition threshold, unblock operation is performed, when matching value therebetween is less than or equal to default recognition threshold, prompts to use
Family recognition of face failure, above-mentioned default recognition threshold can voluntarily be set by user or system default.
Alternatively, above-mentioned execution unblock operation, can be following at least one situation:For example, mobile terminal, which is in, puts out screen
Under state, unblock operation can light screen, and enter the homepage of mobile terminal, or specified page;At mobile terminal
Under bright screen state, unblock operation can be, into the homepage of mobile terminal, or specified page;Mobile terminal is a certain should
The unblock page, unblock operation can unblock be completed, into the page after unblock, for example, mobile terminal may be at propping up
The page is paid, unblock operation can be paid.Above-mentioned specified page can be following at least one:The page of some application,
Or the page that user voluntarily specifies.
Alternatively, in above-mentioned steps A1, the target facial image is matched with default face template, it may include such as
Lower step:
A11, the facial angle for determining the target facial image;
A12, determine default face template corresponding with the facial angle;
A13, the definition in the target facial image is met to the region of preset requirement as most clear area, and it is right
The most clear area carries out feature point extraction, obtains fisrt feature point set;
A14, the extraction target facial image circumference, obtain the first profile;
A15, the first profile matched with the second profile of the default face template, and by described first
Feature point set is matched with the default face template;
A16, in the second outline success of the first profile and the default face template and the fisrt feature
Point set and the default face template confirm that the match is successful when the match is successful;In the first profile and the default face mould
The second outline failure of plate, or, the fisrt feature point set and the default face template be when it fails to match, confirms
With failure.
Wherein, in the embodiment of the present invention, multiple face templates, each face template pair can be prestored in mobile terminal
An angle or angular range are answered, i.e., different face templates is corresponded to using different facial angles, after all, if people, just
Face, side face, obtained characteristic point and other be characterized in it is different, based on this, in the application, first determine target facial image
Facial angle, and choose it is corresponding with the facial angle preset face template, also, choose from target facial image most clear
If clear region, most clear area, the feature of collection is complete, therefore, is advantageous to lift recognition of face efficiency, on the other hand, by
In most clear area be subregion, it is understood that there may be contingency matches, or, identification region is less, therefore to target face figure
As carrying out contours extract, the first profile is obtained, in the matching process, the characteristic point of most clear area and default face template are entered
Row matching, meanwhile, when also the first profile is matched with default face template, and needs the both of which to match, just confirmation matches
Success, if both any one of it fails to match, it fails to match, in this way, while success rate is ensured, also ensure that
With speed and security.
Alternatively, above-mentioned definition can also be defined with feature point number, and after all, image is more clear, then it is included
Characteristic point is more, then, above-mentioned preset requirement is then:Feature point number is more than predetermined number threshold value, above-mentioned predetermined number threshold value
Can voluntarily it be set by user or system default, then above-mentioned steps A13 can be implemented as follows:Determine the face area
The region that feature point number is more than predetermined number threshold value in domain is the most clear area.
Alternatively, above-mentioned definition can be calculated with specific formula, be described in the related art, no longer superfluous herein
State, then, above-mentioned preset requirement is then:Definition values are more than default clarity threshold, and above-mentioned default clarity threshold can be by
User voluntarily sets or system default, then above-mentioned steps A13 can be implemented as follows:Determine clear in the human face region
The region that clear angle value is more than default clarity threshold is the most clear area.
In addition, features described above extraction can use following algorithm to realize:Harris Corner Detection Algorithms, scale invariant feature become
Change, SUSAN Corner Detection Algorithms etc., will not be repeated here.Contours extract in above-mentioned steps A14 can be following algorithm:
Hough transformation, haar or canny etc..
Alternatively, between above-mentioned steps A14 and step A15, can also comprise the following steps:
Image enhancement processing is carried out to the target facial image, and by the target face after image enhancement processing
Image is matched with default face template.
Wherein, image enhancement processing may include but be not limited only to:Image denoising (is gone for example, wavelet transformation carries out image
Make an uproar), image restoration (for example, Wiener filtering), noctovision enhancing algorithm (for example, histogram equalization, gray scale stretching etc.),
After carrying out image enhancement processing to target facial image, the quality of target facial image can get a promotion to a certain extent.
Alternatively, between above-mentioned steps A14 and step A15, can also comprise the following steps:
B1, image quality evaluation is carried out to the target facial image, obtain image quality evaluation values;
B2 carries out image increasing when described image quality evaluation value is less than predetermined quality threshold, to the target facial image
Manage strength.
Wherein, above-mentioned predetermined quality threshold can voluntarily be set or system default by user, can be first to target facial image
Image quality evaluation is carried out, an image quality evaluation values is obtained, judges the target face figure by the image quality evaluation values
The quality of picture is good or bad, when image quality evaluation values are more than or equal to predetermined quality threshold, it is believed that target face figure
Picture quality is good, when image quality evaluation values are less than predetermined quality threshold, it is believed that and target facial image is of poor quality, and then, can
Image enhancement processing is carried out to target facial image.
Wherein, in above-mentioned steps B1, figure can be carried out to target facial image using at least one image quality evaluation index
As quality evaluation, so as to obtain image quality evaluation values.
In specific matching, when evaluating target facial image, multiple images quality evaluation index, Mei Yitu can be included
As a quality evaluation index also corresponding weight, in this way, each image quality evaluation index carries out image quality evaluation to image
When, an evaluation result is can obtain, finally, is weighted, also just obtains final image quality evaluation values.Image matter
Amount evaluation index may include but be not limited only to:Average, standard deviation, entropy, definition, signal to noise ratio etc..
It should be noted that due to when use single evaluation index is evaluated picture quality, there is certain limitation
Property, therefore, picture quality can be evaluated using multiple images quality evaluation index, certainly, picture quality is evaluated
When, not image quality evaluation index is The more the better, because image quality evaluation index is more, the meter of image quality assessment process
It is higher to calculate complexity, it is better also to may not be certain image quality evaluation effect, therefore, higher situation is being required to image quality evaluation
Under, picture quality can be evaluated using 2~10 image quality evaluation indexs.Specifically, image quality evaluation is chosen to refer to
Target number and which index, according to depending on specific implementation situation.Certainly, specifically scene selection picture quality must be also combined to comment
Valency index, carry out carrying out the image quality index of image quality evaluation selection under dark situation under image quality evaluation and bright ring border
Can be different.
Alternatively, in the case of not high to image quality evaluation required precision, an image quality evaluation index can be used
Evaluated, for example, carrying out image quality evaluation values to pending image with entropy, it is believed that entropy is bigger, then illustrates picture quality
It is better, on the contrary, entropy is smaller, then illustrate that picture quality is poorer.
Alternatively, in the case of higher to image quality evaluation required precision, multiple images quality evaluation can be used
Index is evaluated image, and when multiple images quality evaluation index carries out image quality evaluation to image, it is more that this can be set
The weight of each image quality evaluation index in individual image quality evaluation index, can obtain multiple images quality evaluation value, according to
The plurality of image quality evaluation values and its corresponding weight can obtain final image quality evaluation values, for example, three image matter
Measuring evaluation index is respectively:A indexs, B indexs and C indexs, A weight is a1, and B weight is a2, and C weight is a3, is used
A, when B and C carries out image quality evaluation to a certain image, image quality evaluation values corresponding to A are b1, picture quality corresponding to B
Evaluation of estimate is b2, and image quality evaluation values corresponding to C are b3, then, last image quality evaluation values=a1b1+a2b2+
a3b3.Under normal circumstances, image quality evaluation values are bigger, illustrate that picture quality is better.
As can be seen that the solution lock control method described in the embodiment of the present invention, can obtain ambient brightness value, in environment
When brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined, according to the first light filling state modulator
Light compensating lamp and the second light filling state modulator screen, to carry out light filling to face, and shot, obtain target facial image,
The target facial image is used for recognition of face, so as under noctovision environment, be carried out by light compensating lamp and screen to face
Light filling, man face image acquiring quality is improved, there is utilization to lift recognition of face efficiency.
Consistent with the abovely, referring to Fig. 2, being a kind of embodiment stream for solving lock control method provided in an embodiment of the present invention
Journey schematic diagram.Solution lock control method described in the present embodiment, it may include following steps:
201st, face is shot, obtains the first image.
Wherein it is possible to first be shot to face, the first image is obtained, by first image to be carried out to current environment
Judge.
202nd, image segmentation is carried out to described first image, obtains human face region image.
Wherein it is possible to carry out image segmentation to the first image, the human face region image of face region can be obtained.
203rd, image quality evaluation is carried out to the human face region image, obtains image quality evaluation values.
Wherein, the quality of human face region image directly determines the success or not of recognition of face.
204th, when described image quality evaluation value is less than predetermined quality threshold, ambient brightness value is obtained.
Wherein, above-mentioned predetermined quality threshold can voluntarily be set or system default by user.If picture quality is poor,
Illustrate to be possible to environment dark, at this point it is possible to ambient brightness value be obtained, to prove whether current environment is really in dark situation.
205th, when the ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling ginseng are determined
Number.
206th, according to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, with to institute
State face and carry out light filling, and shot, obtain target facial image, the target facial image is used for recognition of face.
Wherein, the specific descriptions of above-mentioned steps 205- steps 206 can refer to pair of the solution lock control method described by Fig. 1 C
Step is answered, will not be repeated here.
Alternatively, between above-mentioned steps 205- steps 206, can also comprise the following steps:
C1, the characteristic parameter for obtaining described first image;
C2, determine acquisition parameters corresponding with the characteristic parameter;
So, above-mentioned steps 206, according to the first light filling state modulator light compensating lamp and the second light filling parameter control
Screen processed, to carry out light filling to face, and shot, obtain target facial image, can implement as follows:
According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to enter to face
Row light filling, and shot according to the acquisition parameters, obtain the target facial image.
Wherein, the characteristic parameter of the first image can include following at least one:Temperature, colour temperature, face accounting, weather feelings
Condition etc..For example, by analyzing the first image, it can be determined that current temperature, in another example, by entering to the first image
Row analysis, it can be determined that current colour temperature, in another example, by analyzing the first image, face accounting (face area can be obtained
The area ratio of the area in domain and the first image), in another example, it can judge that the same day is fine by analyzing the first image
My god, the rainy day, greasy weather etc..For example, if face accounting is excessive or too small, zoom processing can be carried out, that is, is focused.
It is possible to further the mapping relations between default storage characteristic parameter and acquisition parameters, and then, can be by this
Mapping relations determine acquisition parameters corresponding to characteristic parameter in above-mentioned steps C1.Above-mentioned acquisition parameters may include but not only limit
In:Exposure time, aperture size, exposal model, sensitivity ISO, white balance parameter etc..And then according to the first light filling parameter
Light compensating lamp and the second light filling state modulator screen are controlled, to carry out light filling to face, and is shot, obtained according to acquisition parameters
To target facial image, the target facial image so obtained is better.
As can be seen that the solution lock control method described in the embodiment of the present invention, can shoot to face, is obtained
One image, image segmentation is carried out to the first image, obtains human face region image, carrying out picture quality to human face region image comments
Valency, image quality evaluation values are obtained, when image quality evaluation values are less than predetermined quality threshold, ambient brightness value is obtained, in ring
When border brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined, obtains the feature of the first image
Parameter, it is determined that acquisition parameters corresponding with characteristic parameter, according to the first light filling state modulator light compensating lamp and the second light filling parameter
Screen is controlled, to carry out light filling to face, and is shot according to acquisition parameters, obtains target facial image, the target face
Image is used for recognition of face, so as under noctovision environment, carry out light filling, lifting to face by light compensating lamp and screen
Man face image acquiring quality, have using lifting recognition of face efficiency.
Referring to Fig. 3, Fig. 3 is a kind of mobile terminal provided in an embodiment of the present invention, including:Application processor AP and storage
Device;And one or more programs, one or more of programs are stored in the memory, and it is configured to by institute
AP execution is stated, described program includes being used for the instruction for performing following steps:
Obtain ambient brightness value;
When the ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined;
According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to enter to face
Row light filling, and shot, target facial image is obtained, the target facial image is used for recognition of face.
In a possible example, in terms of the first light filling parameter of the determination and the second light filling parameter, described program
Including the instruction for performing following steps:
Determine that the ambient brightness value is corresponding described according to the mapping relations between default brightness value and light filling parameter
First light filling parameter and the second light filling parameter.
In a possible example, in terms of the first light filling parameter of the determination and the second light filling parameter, described program
Including the instruction for performing following steps:
It is determined that target light filling parameter corresponding with the ambient brightness value;
Obtain the second weights corresponding to the first weights corresponding to light compensating lamp light filling and screen light filling;
The first light filling parameter is determined according to first weights, second weights and the target light filling parameter
With the second light filling parameter.
In a possible example, the instruction that described program also includes being used to perform following steps is carried out to the face
Shooting, obtains the first image;
Image segmentation is carried out to described first image, obtains human face region image;
Image quality evaluation is carried out to the human face region image, obtains image quality evaluation values;
When described image quality evaluation value is less than predetermined quality threshold, described the step of obtaining ambient brightness value is performed.
In a possible example, the instruction that described program also includes being used to perform following steps obtains first figure
The characteristic parameter of picture;
It is determined that acquisition parameters corresponding with the characteristic parameter;
Described according to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, with right
Face carries out light filling, and is shot, and in terms of obtaining target facial image, described program includes being used for the finger for performing following steps
Order:
According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to enter to face
Row light filling, and shot according to the acquisition parameters, obtain the target facial image.
Fig. 4 A are referred to, Fig. 4 A are a kind of structural representations for solution lock control device that the present embodiment provides.The solution lock control
Device processed includes first acquisition unit 401, the first determining unit 402 and shooting unit 403, wherein,
First acquisition unit 401, for obtaining ambient brightness value;
First determining unit 402, for when the ambient brightness value is less than predetermined luminance threshold value, determining that the first light filling is joined
Number and the second light filling parameter;
Shooting unit 403, for according to the first light filling state modulator light compensating lamp and the second light filling parameter control
Screen processed, to carry out light filling to face, and shot, obtain target facial image, the target facial image is used for face
Identification.
Alternatively, first determining unit 402 is specifically used for:
Determine that the ambient brightness value is corresponding described according to the mapping relations between default brightness value and light filling parameter
First light filling parameter and the second light filling parameter.
Alternatively, if Fig. 4 B, Fig. 4 B are the specific thin of the first determining unit 402 of the solution lock control device described by Fig. 4 A
Nodule structure, first determining unit 402 may include:First determining module 4021, the determining module of acquisition module 4022 and second
4023, it is specific as follows:
First determining module 4021, for determining target light filling parameter corresponding with the ambient brightness value;
Acquisition module 4022, for obtaining the second power corresponding to the first weights corresponding to light compensating lamp light filling and screen light filling
Value;
Second determining module 4023, for being joined according to first weights, second weights and the target light filling
Number determines the first light filling parameter and the second light filling parameter.
Alternatively, such as Fig. 4 C, the modification structures of solution lock control devices of Fig. 4 C described by Fig. 4 A, it is compared with Fig. 4 A
Compared with may also include:Cutting unit 404 and evaluation unit 405, it is specific as follows:
The shooting unit 403, it is additionally operable to shoot the face, obtains the first image;
Cutting unit 404, for carrying out image segmentation to described first image, obtain human face region image;
Evaluation unit 405, for carrying out image quality evaluation to the human face region image, obtain image quality evaluation
Value;When described image quality evaluation value is less than predetermined quality threshold, the acquisition environment is performed by the first acquisition unit
The step of brightness value.
Alternatively, such as Fig. 4 D, the modification structures of solution lock control devices of Fig. 4 D described by Fig. 4 A, it is compared with Fig. 4 A
Compared with may also include:The determining unit 407 of second acquisition unit 406 and second, is used for
Second acquisition unit 406, for obtaining the characteristic parameter of described first image;
Second determining unit 407, for determining acquisition parameters corresponding with the characteristic parameter;
As can be seen that the solution lock control device described in the embodiment of the present invention, can obtain ambient brightness value, in environment
When brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined, according to the first light filling state modulator
Light compensating lamp and the second light filling state modulator screen, to carry out light filling to face, and shot, obtain target facial image,
The target facial image is used for recognition of face, so as under noctovision environment, be carried out by light compensating lamp and screen to face
Light filling, man face image acquiring quality is improved, there is utilization to lift recognition of face efficiency.
It is understood that the function of each program module of the solution lock control device of the present embodiment can be real according to the above method
The method specific implementation in example is applied, its specific implementation process is referred to the associated description of above method embodiment, herein no longer
Repeat.
The embodiment of the present invention additionally provides another mobile terminal, as shown in figure 5, for convenience of description, illustrate only with
The related part of the embodiment of the present invention, particular technique details do not disclose, refer to present invention method part.The movement
Terminal can be to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS
Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that mobile terminal is mobile phone as an example:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng
Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, sensor
950th, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, application processor AP980 and
The grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 does not form the restriction to mobile phone,
It can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
Input block 930 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with
And the key signals input that function control is relevant.Specifically, input block 930 may include touching display screen 933, face identification device
931 and other input equipments 932.Face identification device 931 can refer to said structure, and concrete structure composition can refer to above-mentioned retouch
State, do not repeat excessively herein.Input block 930 can also include other input equipments 932.Specifically, other input equipments 932
Physical button, function key (such as volume control button, switch key etc.), trace ball, mouse, operation can be included but is not limited to
One or more in bar etc..
Wherein, the AP980, for performing following steps:
Obtain ambient brightness value;
When the ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined;
According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to enter to face
Row light filling, and shot, target facial image is obtained, the target facial image is used for recognition of face.
AP980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, passes through fortune
Row performs the software program and/or module being stored in memory 920, and calls the data being stored in memory 920,
The various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, AP980 may include one or
Multiple processing units, the processing unit can be artificial intelligent chip, quantum chip;Preferably, AP980 can integrate application processor
And modem processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into AP980
In.
In addition, memory 920 can include high-speed random access memory, nonvolatile memory, example can also be included
Such as at least one disk memory, flush memory device or other volatile solid-state parts.
RF circuits 910 can be used for the reception and transmission of information.Generally, RF circuits 910 include but is not limited to antenna, at least one
Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition,
RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile
Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is more
Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division
Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service
(Short Messaging Service, SMS) etc..
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include environmental sensor and proximity transducer, wherein, environmental sensor can be according to the bright of ambient light
Secretly adjust the brightness of touching display screen, proximity transducer can close touching display screen and/or the back of the body when mobile phone is moved in one's ear
Light.As one kind of motion sensor, accelerometer sensor can detect in all directions the size of (generally three axles) acceleration,
Size and the direction of gravity are can detect that when static, application (such as horizontal/vertical screen switching, related trip available for identification mobile phone posture
Play, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;The gyro that can also configure as mobile phone
The other sensors such as instrument, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data received conversion can be transferred to loudspeaker 961, sound is converted to by loudspeaker 961 by road 960
Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960
It is changed to voice data, then after voice data is played into AP980 processing, through RF circuits 910 to be sent to such as another mobile phone, or
Voice data is played to memory 920 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5 is shown
WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Become in the essential scope of invention and omit.
Mobile phone also includes the power supply 990 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply pipe
Reason system and AP980 are logically contiguous, so as to realize the work(such as management charging, electric discharge and power managed by power-supply management system
Energy.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In embodiment shown in earlier figures 1C or Fig. 2, each step method flow can based on the mobile phone structure realize.
In embodiment shown in earlier figures 3, Fig. 4 A~Fig. 4 D, each unit function can based on the mobile phone structure realize.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity
The computer program that subdata exchanges, it is any as described in above-mentioned embodiment of the method that the computer program make it that computer performs
A kind of part or all of step for solving lock control method.
The embodiment of the present invention also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform side as described above
The part or all of step of any solution lock control method described in method embodiment.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and is used as independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or
Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention
Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory
It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and
Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention;
Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications
There is change part, in summary, this specification content should not be construed as limiting the invention.
Claims (14)
- A kind of 1. mobile terminal, it is characterised in that including application processor AP, and the ambient light sensing being connected with the AP Device, light compensating lamp, screen, face identification device, wherein,The ambient light sensor, for obtaining ambient brightness value;The AP, for when the ambient brightness value is less than predetermined luminance threshold value, determining the first light filling parameter and the second light filling Parameter;The light compensating lamp, for carrying out light filling to face according to the first light filling parameter;The screen, for carrying out light filling to the face according to the second light filling parameter;The face identification device, for being shot, target facial image is obtained, the target facial image is known for face Not.
- 2. mobile terminal according to claim 1, it is characterised in that in the first light filling parameter of the determination and the second light filling In terms of parameter, the AP is specifically used for:The ambient brightness value corresponding described first is determined according to the mapping relations between default brightness value and light filling parameter Light filling parameter and the second light filling parameter.
- 3. mobile terminal according to claim 1, it is characterised in that in the first light filling parameter of the determination and the second light filling In terms of parameter, the AP is specifically used for:It is determined that target light filling parameter corresponding with the ambient brightness value;Obtain the second weights corresponding to the first weights corresponding to the light compensating lamp light filling and the screen light filling;The first light filling parameter and institute are determined according to first weights, second weights and the target light filling parameter State the second light filling parameter.
- 4. according to the mobile terminal described in any one of claims 1 to 3, it is characterised in that the face identification device is additionally operable to:The face is shot, obtains the first image;The AP, also particularly useful for:Image segmentation is carried out to described first image, obtains human face region image;Image matter is carried out to the human face region image Amount evaluation, obtains image quality evaluation values, when described image quality evaluation value is less than predetermined quality threshold, by the ambient light Sensor performs the step of acquisition ambient brightness value.
- 5. mobile terminal according to claim 4, it is characterised in that the AP also particularly useful for:Obtain the characteristic parameter of described first image;It is determined that acquisition parameters corresponding with the characteristic parameter;The face identification device, is specifically used for:Shot according to the acquisition parameters, obtain the target facial image.
- 6. one kind solution lock control method, it is characterised in that applied to including application processor AP, and the ring being connected with the AP Border optical sensor, light compensating lamp, screen, the mobile terminal of face identification device, methods described include:The ambient light sensor obtains ambient brightness value;The AP determines the first light filling parameter and the second light filling parameter when the ambient brightness value is less than predetermined luminance threshold value;The light compensating lamp carries out light filling according to the first light filling parameter to face;The screen carries out light filling according to the second light filling parameter to the face;The face identification device is shot, and obtains target facial image, and the target facial image is used for recognition of face.
- 7. one kind solution lock control method, it is characterised in that including:Obtain ambient brightness value;When the ambient brightness value is less than predetermined luminance threshold value, the first light filling parameter and the second light filling parameter are determined;According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to be mended to face Light, and shot, target facial image is obtained, the target facial image is used for recognition of face.
- 8. according to the method for claim 7, it is characterised in that the first light filling parameter of the determination and the second light filling parameter, Including:The ambient brightness value corresponding described first is determined according to the mapping relations between default brightness value and light filling parameter Light filling parameter and the second light filling parameter.
- 9. according to the method for claim 7, it is characterised in that the first light filling parameter of the determination and the second light filling parameter, Including:It is determined that target light filling parameter corresponding with the ambient brightness value;Obtain the second weights corresponding to the first weights corresponding to light compensating lamp light filling and screen light filling;The first light filling parameter and institute are determined according to first weights, second weights and the target light filling parameter State the second light filling parameter.
- 10. according to the method described in any one of claim 7 to 9, it is characterised in that methods described also includes:The face is shot, obtains the first image;Image segmentation is carried out to described first image, obtains human face region image;Image quality evaluation is carried out to the human face region image, obtains image quality evaluation values;When described image quality evaluation value is less than predetermined quality threshold, described the step of obtaining ambient brightness value is performed.
- 11. according to the method for claim 10, it is characterised in that methods described also includes:Obtain the characteristic parameter of described first image;It is determined that acquisition parameters corresponding with the characteristic parameter;It is described according to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to enter to face Row light filling, and shot, target facial image is obtained, including:According to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, to be mended to face Light, and shot according to the acquisition parameters, obtain the target facial image.
- 12. one kind solution lock control device, it is characterised in that including:First acquisition unit, for obtaining ambient brightness value;First determining unit, for when the ambient brightness value is less than predetermined luminance threshold value, determining the first light filling parameter and Two light filling parameters;Shooting unit, for according to the first light filling state modulator light compensating lamp and the second light filling state modulator screen, To carry out light filling to face, and shot, obtain target facial image, the target facial image is used for recognition of face.
- A kind of 13. mobile terminal, it is characterised in that including:Application processor AP and memory;And one or more programs, One or more of programs are stored in the memory, and are configured to be performed by the AP, and described program includes Instruction for such as any one of claim 7-11 methods.
- A kind of 14. computer-readable recording medium, it is characterised in that it is used to store computer program, wherein, the computer Program causes computer to perform the method as described in claim any one of 7-11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710891482.8A CN107679482B (en) | 2017-09-27 | 2017-09-27 | Unlocking control method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710891482.8A CN107679482B (en) | 2017-09-27 | 2017-09-27 | Unlocking control method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107679482A true CN107679482A (en) | 2018-02-09 |
CN107679482B CN107679482B (en) | 2021-04-09 |
Family
ID=61138431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710891482.8A Expired - Fee Related CN107679482B (en) | 2017-09-27 | 2017-09-27 | Unlocking control method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107679482B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108319837A (en) * | 2018-02-13 | 2018-07-24 | 广东欧珀移动通信有限公司 | Electronic equipment, face template input method and Related product |
CN108391011A (en) * | 2018-03-07 | 2018-08-10 | 维沃移动通信有限公司 | A kind of face identification method and mobile terminal |
CN108496173A (en) * | 2018-04-12 | 2018-09-04 | 深圳阜时科技有限公司 | Electronic equipment and its face recognition method |
CN108513706A (en) * | 2018-04-12 | 2018-09-07 | 深圳阜时科技有限公司 | Electronic equipment and its face recognition method |
CN108764044A (en) * | 2018-04-25 | 2018-11-06 | 维沃移动通信有限公司 | A kind of light compensation method, device and mobile terminal |
CN108830061A (en) * | 2018-05-25 | 2018-11-16 | 努比亚技术有限公司 | Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face |
CN108965849A (en) * | 2018-07-27 | 2018-12-07 | 北京小米移动软件有限公司 | Image processing method, apparatus and system |
CN109214361A (en) * | 2018-10-18 | 2019-01-15 | 康明飞(北京)科技有限公司 | A kind of face identification method and device and ticket verification method and device |
CN109302569A (en) * | 2018-09-27 | 2019-02-01 | 维沃移动通信有限公司 | A kind of image imaging method and device of mobile terminal |
CN109543628A (en) * | 2018-11-27 | 2019-03-29 | 北京旷视科技有限公司 | A kind of face unlock, bottom library input method, device and electronic equipment |
CN109816628A (en) * | 2018-12-20 | 2019-05-28 | 深圳云天励飞技术有限公司 | Face evaluation method and Related product |
CN109862278A (en) * | 2019-04-19 | 2019-06-07 | 努比亚技术有限公司 | Light compensation method, device and the computer readable storage medium of recognition of face |
CN110046488A (en) * | 2019-04-19 | 2019-07-23 | 努比亚技术有限公司 | Unlocking method, mobile terminal and computer readable storage medium |
WO2020000196A1 (en) * | 2018-06-26 | 2020-01-02 | 深圳齐心集团股份有限公司 | Face recognition method and apparatus, and access control attendance machine |
CN112784827A (en) * | 2021-01-18 | 2021-05-11 | 西安闻泰电子科技有限公司 | Face unlocking method and device, electronic equipment and storage medium |
CN115278099A (en) * | 2022-06-29 | 2022-11-01 | 广东小天才科技有限公司 | Light supplement lamp control method, terminal device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970411A (en) * | 2012-10-24 | 2013-03-13 | 康佳集团股份有限公司 | Smart phone screen locking and unlocking control method based on face detection and smart phone |
CN104065862A (en) * | 2013-03-18 | 2014-09-24 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104424467A (en) * | 2013-08-21 | 2015-03-18 | 中移电子商务有限公司 | Face image acquisition method and apparatus, and terminal |
CN104506772A (en) * | 2014-12-22 | 2015-04-08 | 小米科技有限责任公司 | Method and device for regulating shooting parameters |
CN106303280A (en) * | 2016-09-09 | 2017-01-04 | 广东欧珀移动通信有限公司 | One is taken pictures light compensation method, device and terminal |
CN106407950A (en) * | 2016-09-30 | 2017-02-15 | 维沃移动通信有限公司 | Facial information identification method and mobile terminal |
CN106529258A (en) * | 2016-11-30 | 2017-03-22 | 赵云龙 | Security management method and system for mobile equipment |
CN107071272A (en) * | 2017-02-17 | 2017-08-18 | 奇酷互联网络科技(深圳)有限公司 | Control method, device and the terminal of camera light compensating lamp brightness |
-
2017
- 2017-09-27 CN CN201710891482.8A patent/CN107679482B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970411A (en) * | 2012-10-24 | 2013-03-13 | 康佳集团股份有限公司 | Smart phone screen locking and unlocking control method based on face detection and smart phone |
CN104065862A (en) * | 2013-03-18 | 2014-09-24 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104424467A (en) * | 2013-08-21 | 2015-03-18 | 中移电子商务有限公司 | Face image acquisition method and apparatus, and terminal |
CN104506772A (en) * | 2014-12-22 | 2015-04-08 | 小米科技有限责任公司 | Method and device for regulating shooting parameters |
CN106303280A (en) * | 2016-09-09 | 2017-01-04 | 广东欧珀移动通信有限公司 | One is taken pictures light compensation method, device and terminal |
CN106407950A (en) * | 2016-09-30 | 2017-02-15 | 维沃移动通信有限公司 | Facial information identification method and mobile terminal |
CN106529258A (en) * | 2016-11-30 | 2017-03-22 | 赵云龙 | Security management method and system for mobile equipment |
CN107071272A (en) * | 2017-02-17 | 2017-08-18 | 奇酷互联网络科技(深圳)有限公司 | Control method, device and the terminal of camera light compensating lamp brightness |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108319837A (en) * | 2018-02-13 | 2018-07-24 | 广东欧珀移动通信有限公司 | Electronic equipment, face template input method and Related product |
CN108391011A (en) * | 2018-03-07 | 2018-08-10 | 维沃移动通信有限公司 | A kind of face identification method and mobile terminal |
WO2019196075A1 (en) * | 2018-04-12 | 2019-10-17 | 深圳阜时科技有限公司 | Electronic device and facial recognition method therefor |
CN108496173A (en) * | 2018-04-12 | 2018-09-04 | 深圳阜时科技有限公司 | Electronic equipment and its face recognition method |
CN108513706A (en) * | 2018-04-12 | 2018-09-07 | 深圳阜时科技有限公司 | Electronic equipment and its face recognition method |
WO2019196074A1 (en) * | 2018-04-12 | 2019-10-17 | 深圳阜时科技有限公司 | Electronic device and facial recognition method therefor |
CN108764044A (en) * | 2018-04-25 | 2018-11-06 | 维沃移动通信有限公司 | A kind of light compensation method, device and mobile terminal |
CN108830061A (en) * | 2018-05-25 | 2018-11-16 | 努比亚技术有限公司 | Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face |
WO2020000196A1 (en) * | 2018-06-26 | 2020-01-02 | 深圳齐心集团股份有限公司 | Face recognition method and apparatus, and access control attendance machine |
CN108965849A (en) * | 2018-07-27 | 2018-12-07 | 北京小米移动软件有限公司 | Image processing method, apparatus and system |
CN108965849B (en) * | 2018-07-27 | 2021-05-04 | 北京小米移动软件有限公司 | Image processing method, device and system |
CN109302569A (en) * | 2018-09-27 | 2019-02-01 | 维沃移动通信有限公司 | A kind of image imaging method and device of mobile terminal |
CN109214361A (en) * | 2018-10-18 | 2019-01-15 | 康明飞(北京)科技有限公司 | A kind of face identification method and device and ticket verification method and device |
CN109543628A (en) * | 2018-11-27 | 2019-03-29 | 北京旷视科技有限公司 | A kind of face unlock, bottom library input method, device and electronic equipment |
CN109816628A (en) * | 2018-12-20 | 2019-05-28 | 深圳云天励飞技术有限公司 | Face evaluation method and Related product |
CN110046488A (en) * | 2019-04-19 | 2019-07-23 | 努比亚技术有限公司 | Unlocking method, mobile terminal and computer readable storage medium |
CN109862278A (en) * | 2019-04-19 | 2019-06-07 | 努比亚技术有限公司 | Light compensation method, device and the computer readable storage medium of recognition of face |
CN109862278B (en) * | 2019-04-19 | 2022-08-16 | 努比亚技术有限公司 | Light supplementing method and device for face recognition and computer readable storage medium |
CN110046488B (en) * | 2019-04-19 | 2024-04-26 | 努比亚技术有限公司 | Unlocking method, mobile terminal and computer readable storage medium |
CN112784827A (en) * | 2021-01-18 | 2021-05-11 | 西安闻泰电子科技有限公司 | Face unlocking method and device, electronic equipment and storage medium |
CN112784827B (en) * | 2021-01-18 | 2024-05-28 | 西安闻泰电子科技有限公司 | Face unlocking method and device, electronic equipment and storage medium |
CN115278099A (en) * | 2022-06-29 | 2022-11-01 | 广东小天才科技有限公司 | Light supplement lamp control method, terminal device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107679482B (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107679482A (en) | Solve lock control method and Related product | |
CN107480496A (en) | Solve lock control method and Related product | |
CN107590461B (en) | Face recognition method and related product | |
CN107423699B (en) | Biopsy method and Related product | |
CN107832675A (en) | Processing method of taking pictures and Related product | |
CN107679481A (en) | Solve lock control method and Related product | |
CN107657218B (en) | Face recognition method and related product | |
CN107862265A (en) | Image processing method and related product | |
CN107609514A (en) | Face identification method and Related product | |
CN107463818A (en) | Solve lock control method and Related product | |
CN107292285A (en) | Living iris detection method and Related product | |
CN109241908A (en) | Face identification method and relevant apparatus | |
CN107633499A (en) | Image processing method and related product | |
CN107506687A (en) | Biopsy method and Related product | |
CN106558025A (en) | A kind for the treatment of method and apparatus of picture | |
CN107451455A (en) | Solve lock control method and Related product | |
CN107480488A (en) | Solve lock control method and Related product | |
CN107506696A (en) | Anti-fake processing method and related product | |
CN107403147A (en) | Living iris detection method and Related product | |
CN109117725A (en) | Face identification method and device | |
CN107734129A (en) | Solve lock control method and Related product | |
CN107451446A (en) | Solve lock control method and Related product | |
CN107451454B (en) | Unlocking control method and related product | |
CN107862266A (en) | Image processing method and related product | |
CN107613550A (en) | Solve lock control method and Related product |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210409 |