CN107734129A - Solve lock control method and Related product - Google Patents

Solve lock control method and Related product Download PDF

Info

Publication number
CN107734129A
CN107734129A CN201710889860.9A CN201710889860A CN107734129A CN 107734129 A CN107734129 A CN 107734129A CN 201710889860 A CN201710889860 A CN 201710889860A CN 107734129 A CN107734129 A CN 107734129A
Authority
CN
China
Prior art keywords
face
facial image
target area
region
shot
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.)
Pending
Application number
CN201710889860.9A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710889860.9A priority Critical patent/CN107734129A/en
Publication of CN107734129A publication Critical patent/CN107734129A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Software Systems (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the invention discloses one kind solution lock control method and Related product, wherein, method includes:Face is shot, obtains the first facial image;Determine in first facial image positioned at the target area of face;Using the target area as focusing, shot, obtain the second facial image, second facial image unlocks for face, and the high resolution of second facial image is in first facial image.The embodiment of the present invention can first clap the facial image of a low resolution, then, by a certain region that face is obtained in the facial image of the low resolution, and focused based on the region, a high-resolution facial image is obtained, in this way, the acquisition quality of facial image can be lifted, so as to improve recognition of face success rate.

Description

Solve lock control method and Related product
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 the face identification device being connected with the AP, wherein,
The face identification device, for being shot to face, obtain the first facial image;
The AP, for determine in first facial image positioned at the target area of face;
The face identification device, it is additionally operable to, using the target area as focusing, be shot, obtains the second face Image, second facial image unlock for face, and the high resolution of second facial image is in the first face figure Picture.
Second aspect, the embodiments of the invention provide one kind to solve lock control method, applied to including application processor AP, with And the mobile terminal with the AP face identification devices being connected, methods described include:
The face identification device is shot to face, obtains the first facial image;
The AP determine in first facial image positioned at the target area of face;
The face identification device is shot using the target area as focusing, obtains the second facial image, institute State the second facial image to unlock for face, the high resolution of second facial image is in first facial image.
The third aspect, the embodiments of the invention provide one kind to solve lock control method, including:
Face is shot, obtains the first facial image;
Determine in first facial image positioned at the target area of face;
Using the target area as focusing, shot, obtain the second facial image, second facial image is used Unlocked in face, the high resolution of second facial image is in first facial image.
Fourth aspect, the embodiments of the invention provide one kind to solve lock control device, including:
First shooting unit, for being shot to face, obtain the first facial image;
First determining unit, for determine in first facial image positioned at the target area of face;
Second shooting unit, for using the target area as focusing, being shot, the second facial image is obtained, Second facial image unlocks for face, and the high resolution of second facial image is in first facial image.
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, shoot to face, Obtain the first facial image, determine in the first facial image positioned at the target area of face, using target area as focusing, Shot, obtain the second facial image, the second facial image unlocks for face, and the high resolution of the second facial image is in the One facial image, it is thus possible to first clap the facial image of a low resolution, then, pass through the facial image of the low resolution It is middle to obtain a certain region of face, and focused based on the region, a high-resolution facial image is obtained, in this way, can To lift the acquisition quality of facial image, so as to improve recognition of face success rate.
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 the structural representations of the determining module of the first determining unit described by Fig. 4 B provided in an embodiment of the present invention Figure;
Fig. 4 D are a kind of another structural representations for solving lock control device provided in an embodiment of the present invention;
Fig. 4 E 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.Above-mentioned camera module 21 can be front camera or rear 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, wherein, the AP110 connects face identification device by bus 150 120。
Based on the mobile terminal described by Figure 1A-Figure 1B, can be used for implementing function such as:
The face identification device 120, for being shot to face, obtain the first facial image;
The AP110, for determine in first facial image positioned at the target area of face;
The face identification device 120, it is additionally operable to, using the target area as focusing, be shot, obtain second Facial image, second facial image unlock for face, and the high resolution of second facial image is in described the first Face image.
One it is possible show Shi Lizhong, it is described determine in first facial image positioned at the target area of face Aspect, the AP110 are specifically used for:
Image segmentation is carried out to first facial image, obtains human face region;
Determine that definition meets that the region of preset requirement is the target area in the human face region.
One it is possible show Shi Lizhong, determine that definition in the human face region meets the region of preset requirement described In terms of the target area, the AP110 is specifically used for:
The human face region is divided into multiple regions;
Feature point extraction is carried out to each region in the multiple region respectively, obtains multigroup characteristic point;
Selected characteristic is counted out most one groups from multigroup characteristic point, and the feature is counted out most one The target area is used as corresponding to group.
Possible show that Shi Lizhong, the AP110 are additionally operable at one:
Face accounting is determined according to first facial image;
Zoom processing is carried out according to the face accounting, obtains target focal length;
Shot described using the target area as focusing, in terms of obtaining the second facial image, the face Identification device 120 is specifically used for:
Based on the target focal length, and using the target area as focusing, shot, obtain second face Image.
One it is possible show Shi Lizhong, the AP110 also particularly useful for:
Current environment parameter is determined according to first facial image;
It is determined that light filling parameter corresponding with the current environment parameter;
Shot described using the target area as focusing, in terms of obtaining the second facial image, the face Identification device 120 is specifically used for:
Using the target area as focusing, and shot by the light filling parameter, obtain second people Face 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 face identification device 120 is shot to face, obtains the first facial image;
The AP110 determine in first facial image positioned at the target area of face;
The face identification device 120 is shot using the target area as focusing, obtains the second face figure Picture, second facial image unlock for face, and the high resolution of second facial image is in first facial image.
As can be seen that the solution lock control method described in the embodiment of the present invention, shoots to face, obtain the first Face image, determine in the first facial image positioned at the target area of face, using target area as focusing, shot, The second facial image is obtained, the second facial image unlocks for face, and the high resolution of the second facial image is in the first face figure Picture, it is thus possible to the facial image of a low resolution first be clapped, then, by obtaining people in the facial image of the low resolution The a certain region of face, and focused based on the region, a high-resolution facial image is obtained, in this way, people can be lifted The acquisition quality of face image, so as to improve recognition of face success rate.
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, face is shot, obtains the first facial image.
Wherein, above-mentioned first facial image can be low-resolution image, it is intended that determining pair in human face region Burnt position, high-resolution is shot and human face region clearly the second facial image to facilitate.
Alternatively, above-mentioned steps 101 can be realized by dual camera, the infrared camera in the embodiment of the present invention with can It can be registered good to see light video camera head, i.e., both visual angles can be directed to Same Scene, or, one of camera regards Angle includes the angular field of view of another camera.Dual camera only can be shot by infrared camera to face, be obtained First facial image (infrared image), because infrared camera is imaged by temperature sensor, thus, its image can be obscured more, But live body on the one hand can be identified by this way, live body position on the other hand can be determined, further, it is determined that face Region, to choose a region from human face region, as the focusing position of visible image capturing head, so that, it is seen that light video camera head Clearly facial image can be taken.
102nd, determine in first facial image positioned at the target area of face.
Wherein, human face region is not only included in the first facial image, also comprising other background areas, it is generally the case that right If Jiao, focusing and its peripheral region can be relatively clear, therefore, this point made full use of in the embodiment of the present invention, Therefore, human face region is determined from the first facial image, it is such using some region in human face region as focusing position Words, obtained human face region can be than more visible.
Alternatively, in above-mentioned steps 102, from it is described determine in first facial image positioned at the target area of face Domain, it may include following steps:
21st, binary conversion treatment is carried out to first facial image, obtains binary image;
22nd, the binary image is smoothed, obtains the first image;
23rd, image segmentation is carried out to described first image, obtains the human face region, and chosen from the human face region Any region is as the target area.
Wherein, if the first facial image, due to its low resolution, its image itself is that comparison is fuzzy, in addition, its More gray level can be included, therefore, in order to reduce computation complexity, binary conversion treatment can be carried out to infrared face image, Obtain a binary image, if binary image, it includes the gray level of two grades, and certainly, it is distributed in first In facial image, therefore, in order to reduce the mutability between pixel, binary image is carried out in the embodiment of the present invention smooth Processing, obtains the first image, such first image, and change can be very smooth between neighborhood territory pixel point, certainly, can show more More detail features, if carrying out image segmentation to the first image, its profile also can be very clear, therefore, can be very big Complete human face region can be extracted in degree.
Alternatively, in above-mentioned steps 102, determine in first facial image positioned at the target area of face, can wrap Include following steps:
A1, image segmentation is carried out to first facial image, obtain human face region;
A2, determine that definition meets that the region of preset requirement is the target area in the human face region.
Wherein, face is not only included in the first facial image, also comprising background, therefore, image segmentation can be carried out to it, Human face region therein is obtained, the region that preset requirement is met it is possible to further choose definition in the human face region is mesh Region is marked, for example, the human face region is divided into multiple regions, carrying out picture quality to each region in the plurality of region comments Valency, multiple images quality evaluation value is obtained, choose region corresponding to maximum image quality evaluation value as target area.
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 102 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 target 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 102 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 target area.
Alternatively, in above-mentioned steps A2, determine that definition meets that the region of preset requirement is described in the human face region Target area, it may include following steps:
A21, the human face region is divided into multiple regions;
A22, feature point extraction is carried out to each region in the multiple region respectively, obtain multigroup characteristic point;
A23, selected characteristic is counted out most one groups from multigroup characteristic point, and the feature is counted out at most One group corresponding to be used as the target area.
Wherein it is possible to human face region is divided into multiple regions, the area equation in each region in the plurality of region, or Person, area.Feature point extraction can be carried out to each region in multiple regions respectively, it is thus possible to obtain multigroup feature Point.The extraction of features described above point can use following algorithm to realize:Harris Corner Detection Algorithms, Scale invariant features transform (Scale Invariant Feature Transform, SIFT), SUSAN Corner Detection Algorithms etc., will not be repeated here.Can be from more Selected characteristic is counted out most one groups in group characteristic point, and is obtained this feature and counted out region conduct corresponding to most one groups Target area.Certainly, on the one hand the selected characteristic, which is counted out, at most illustrates that the detail feature that it is included is more, on the other hand also say The bright area image quality is preferable.
103rd, using the target area as focusing, shot, obtain the second facial image, the second face figure Unlocked as being used for face, the high resolution of second facial image is in first facial image.
Wherein, due in the short time user can be maintained at a posture, therefore, focusing is used as using the target area Words, it is that clearly, in this way, obtaining clearly the second facial image, second facial image unlocks for face that can cause face If, recognition of face success rate can be lifted.
Alternatively, after above-mentioned steps 103, may include steps of:
B1, target facial image in second facial image is determined, the target facial image is known for face Not.
Wherein it is possible to carry out image segmentation to the second facial image, that is, the background parts in the second facial image are removed, are obtained To target facial image, the target facial image is used for recognition of face.
Alternatively, after above-mentioned steps B1, can also comprise the following steps:
B2, the target facial image matched with default face template.
B3, 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, its can perform above-mentioned steps 101 it Preceding typing.And then target facial image can be matched with default face template, matching value therebetween is more than in advance If during recognition threshold, performing unblock operation, when matching value therebetween is less than or equal to default recognition threshold, user is prompted Recognition of face fails, and 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 B2, the target facial image is matched with default face template, it may include such as Lower step:
B21, the facial angle for determining the target facial image;
B22, determine default face template corresponding with the facial angle;
B23, the most clear area for determining the target facial image, and characteristic point is carried out to the most clear area and carried Take, obtain fisrt feature point set;
B24, the extraction target facial image circumference, obtain the first profile;
B25, 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;
B26, 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.
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 B24 can be following algorithm: Hough transformation, haar or canny etc..
Alternatively, between above-mentioned steps B24 and step B25, 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 B24 and step B25, can also comprise the following steps:
C1, image quality evaluation is carried out to the target facial image, obtain image quality evaluation values;
C2 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 C1, 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.
Alternatively, between above-mentioned steps 101 and above-mentioned steps 103, can also comprise the following steps:
D1, current environment parameter determined according to first facial image;
D2, determine light filling parameter corresponding with the current environment parameter;
So, above-mentioned steps 103, using the target area as focusing, shot, obtain the second facial image, It can implement as follows:
Using the target area as focusing, and shot by the light filling parameter, obtain second people Face image.
Wherein, by above-mentioned first facial image, ambient parameter can be reflected to a certain extent, ambient parameter can Think following at least one:Ambient brightness, environment colour temperature, environment light source number, environment scene etc., for example, ambient brightness can To be the mean flow rate of the first facial image, in another example, environment scene can be sea, desert, sky etc., by the first Face image can reflect.Above-mentioned light filling parameter can include the light filling parameter of flash lamp, or, the light filling ginseng of screen Number, or, the light filling parameter of breath light.Wherein, the light filling parameter of flash lamp can be following at least one:Flicker frequency, dodge Bright number, flash color, flashes brightness, flash lamp operation electric current, flash lamp operation electric current, flash lamp operation power etc..Screen The light filling parameter of curtain can be following at least one:Screen intensity, screen color temp, wallpaper etc., the light filling parameter of breath light can Think following at least one:Respiratory rate, respiration rate, color is breathed, breathe brightness, breath light operating current, breath light work Make electric current, breath light operating power etc..Light filling parameter corresponding with ambient parameter can be predefined in mobile terminal, is entered And in shooting, light filling is carried out to face according to hardware corresponding to these light filling state modulators.The facial image so obtained Better quality, there is utilization to lift recognition of face success rate.
As can be seen that the solution lock control method described in the embodiment of the present invention, shoots to face, obtain the first Face image, determine in the first facial image positioned at the target area of face, using target area as focusing, shot, The second facial image is obtained, the second facial image unlocks for face, and the high resolution of the second facial image is in the first face figure Picture, it is thus possible to the facial image of a low resolution first be clapped, then, by obtaining people in the facial image of the low resolution The a certain region of face, and focused based on the region, a high-resolution facial image is obtained, in this way, people can be lifted The acquisition quality of face image, so as to improve recognition of face success rate.
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, applied to the mobile terminal comprising dual camera, described pair is taken the photograph Picture head includes the first camera and second camera, and it may include following steps:
201st, face is shot, obtains the first facial image.
202nd, determine in first facial image positioned at the target area of face.
Wherein, the specific descriptions of above-mentioned steps 201- steps 202 can refer to pair of the solution lock control method described by Fig. 1 C Step is answered, will not be repeated here.
203rd, face accounting is determined according to first facial image.
Wherein, the first facial image is after target area is determined, then can determine face accounting, i.e., human face region with Area ratio between first facial image, if it is smaller, illustrates user distance camera farther out, if its is larger, illustrates to use Family is nearer apart from camera, and then, zoom processing can be carried out according to the face accounting so that face there can be one suitably Accounting, be advantageous to lift recognition of face success rate.
204th, zoom processing is carried out according to the face accounting, obtains target focal length.
Wherein, the corresponding relation between face accounting and focal length is prestored in mobile terminal, can according to the corresponding relation To determine target focal length corresponding to the face accounting of above-mentioned steps 203.
205th, based on the target focal length, and using the target area as focusing, shot, obtain described second Facial image, second facial image unlock for face, and the high resolution of second facial image is in described the first Face image.
Wherein it is possible to above-mentioned target focal length is based on, and target area is shot as focusing, obtains the second people Face image, such man face image acquiring quality is high, and therefore, recognition of face success rate is also high.
As can be seen that solution lock control method and Related product described in the embodiment of the present invention, shoot to face, Obtain the first facial image, determine in the first facial image positioned at the target area of face, determined according to the first facial image Face accounting, according to face accounting carry out zoom processing, obtain target focal length, based on target focal length, and using target area as Focusing, shot, obtain the second facial image, the high resolution of the second facial image is in the first facial image, so as to can First to clap the facial image of a low resolution, then, by a certain area that face is obtained in the facial image of the low resolution Domain, and focused based on the region, a high-resolution facial image is obtained, in this way, adopting for facial image can be lifted Collect quality, so as to improve recognition of face success rate.
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:
Face is shot, obtains the first facial image;
Determine in first facial image positioned at the target area of face;
Using the target area as focusing, shot, obtain the second facial image, second facial image is used Unlocked in face, the high resolution of second facial image is in first facial image.
In a possible example, it is described determine in first facial image positioned at the target area side of face Face, described program include being used for the instruction for performing following steps:
Image segmentation is carried out to first facial image, obtains human face region;
Determine that definition meets that the region of preset requirement is the target area in the human face region.
In a possible example, definition meets that the region of preset requirement is in the determination human face region In terms of the target area, described program includes being used for the instruction for performing following steps:
The human face region is divided into multiple regions;
Feature point extraction is carried out to each region in the multiple region respectively, obtains multigroup characteristic point;
Selected characteristic is counted out most one groups from multigroup characteristic point, and the feature is counted out most one The target area is used as corresponding to group.
In a possible example, described program also includes being used for the instruction for performing following steps:
Face accounting is determined according to first facial image;
Zoom processing is carried out according to the face accounting, obtains target focal length;
Shot described using the target area as focusing, in terms of obtaining the second facial image, described program Including the instruction for performing following steps:
Based on the target focal length, and using the target area as focusing, shot, obtain second face Image.
In a possible example, described program also includes being used for the instruction for performing following steps:
Current environment parameter is determined according to first facial image;
It is determined that light filling parameter corresponding with the current environment parameter;
Shot described using the target area as focusing, in terms of obtaining the second facial image, described program Including the instruction for performing following steps:
Using the target area as focusing, and shot by the light filling parameter, obtain second people Face 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 shooting unit 401, the first determining unit 402 and second shooting unit 403, wherein,
First shooting unit 401, for being shot to face, obtain the first facial image;
First determining unit 402, for determine in first facial image positioned at the target area of face;
Second shooting unit 403, for using the target area as focusing, being shot, obtain the second face figure Picture, second facial image unlock for face, and the high resolution of second facial image is in first facial image.
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:Split module 4021 and determining module 4022, it is specific as follows:
Split module 4021, for carrying out image segmentation to first facial image, obtain human face region;
Determining module 4022, for determining that definition meets that the region of preset requirement is the target in the human face region Region.
Alternatively, if Fig. 4 C, Fig. 4 C are the specific thin of the determining module 4022 of the first determining unit 402 described by Fig. 4 B Nodule structure, the determining module 4022 may include:Division module 501, extraction module 502 and selection module 503, it is specific as follows:
Division module 501, for the human face region to be divided into multiple regions;
Extraction module 502, for carrying out feature point extraction to each region in the multiple region respectively, obtain multigroup spy Sign point;
Choose module 503, for from multigroup characteristic point selected characteristic count out most one groups, and by the spy Sign, which is counted out, is used as the target area corresponding to most one groups.
Alternatively, such as Fig. 4 D, the modification structures of face identification devices of Fig. 4 D described by Fig. 4 A, it is compared with Fig. 4 A Compared with may also include:Second determining unit 404 and zoom unit 405, it is specific as follows:
Second determining unit 404, for determining face accounting according to first facial image;
Zoom unit 405, for carrying out zoom processing according to the face accounting, obtain target focal length;
The second shooting unit 403 is specifically used for:
Based on the target focal length, and using the target area as focusing, shot, obtain second face Image.
Alternatively, such as Fig. 4 E, the modification structures of face identification devices of Fig. 4 E described by Fig. 4 A, it is compared with Fig. 4 A Compared with may also include:3rd determining unit 406 and light filling unit 407, it is specific as follows:
3rd determining unit 406, for determining current environment parameter according to first facial image;
Light filling unit 407, for determining light filling parameter corresponding with the current environment parameter;
It is described to be shot using the target area as focusing, the second facial image is obtained, including:
Using the target area as focusing, and shot by the light filling parameter, obtain second people Face image.
The second shooting unit 403 is specifically used for:
The face is shot by least one camera in the dual camera, obtains shooting image, and Image segmentation is carried out to the shooting image, obtains human face region corresponding to the face.
As can be seen that the solution lock control device described in the embodiment of the present invention, shoots to face, obtain the first Face image, determine in the first facial image positioned at the target area of face, using target area as focusing, shot, The second facial image is obtained, the second facial image unlocks for face, and the high resolution of the second facial image is in the first face figure Picture, it is thus possible to the facial image of a low resolution first be clapped, then, by obtaining people in the facial image of the low resolution The a certain region of face, and focused based on the region, a high-resolution facial image is obtained, in this way, people can be lifted The acquisition quality of face image, so as to improve recognition of face success rate.
It is understood that the function of each program module of the face identification 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, is referred to said structure, and concrete structure composition can refer to Description is stated, is not repeated excessively herein.Input block 930 can also include other input equipments 932.Specifically, other inputs are set Standby 932 can include but is not limited to physical button, function key (such as volume control button, switch key etc.), trace ball, mouse One or more in mark, action bars etc..
Wherein, the AP980, for performing following steps:
Face is shot by the dual camera, and determines human face region corresponding to the face, the face Region includes first area and second area;
It is used as focusing to the first area by first camera to shoot, obtains the first facial image;
It is used as focusing to the second area by the second camera to shoot, obtains the second facial image;
First facial image and second facial image are synthesized, obtain target facial image, the mesh Facial image is marked to unlock for 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 E, 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)

  1. A kind of 1. mobile terminal, it is characterised in that including application processor AP, and the recognition of face dress being connected with the AP Put, wherein,
    The face identification device, for being shot to face, obtain the first facial image;
    The AP, for determine in first facial image positioned at the target area of face;
    The face identification device, it is additionally operable to, using the target area as focusing, be shot, obtains the second face figure Picture, second facial image unlock for face, and the high resolution of second facial image is in first facial image.
  2. 2. mobile terminal according to claim 1, it is characterised in that the position in determination first facial image In terms of the target area of face, the AP is specifically used for:
    Image segmentation is carried out to first facial image, obtains human face region;
    Determine that definition meets that the region of preset requirement is the target area in the human face region.
  3. 3. mobile terminal according to claim 2, it is characterised in that definition expires in the determination human face region In terms of the region of sufficient preset requirement is the target area, the AP is specifically used for:
    The human face region is divided into multiple regions;
    Feature point extraction is carried out to each region in the multiple region respectively, obtains multigroup characteristic point;
    Selected characteristic is counted out most one groups from multigroup characteristic point, and the feature is counted out most one groups pairs The region answered is as the target area.
  4. 4. according to the mobile terminal described in any one of claims 1 to 3, it is characterised in that the AP is additionally operable to:
    Face accounting is determined according to first facial image;
    Zoom processing is carried out according to the face accounting, obtains target focal length;
    Shot described using the target area as focusing, in terms of obtaining the second facial image, the recognition of face Device is specifically used for:
    Based on the target focal length, and using the target area as focusing, shot, obtain the second face figure Picture.
  5. 5. according to the mobile terminal described in any one of claims 1 to 3, it is characterised in that the AP also particularly useful for:
    Current environment parameter is determined according to first facial image;
    It is determined that light filling parameter corresponding with the current environment parameter;
    Shot described using the target area as focusing, in terms of obtaining the second facial image, the recognition of face Device is specifically used for:
    Using the target area as focusing, and shot by the light filling parameter, obtain the second face figure Picture.
  6. 6. one kind solution lock control method, it is characterised in that applied to including application processor AP, and the people being connected with the AP The mobile terminal of face identification device, methods described include:
    The face identification device is shot to face, obtains the first facial image;
    The AP determine in first facial image positioned at the target area of face;
    The face identification device is shot using the target area as focusing, obtains the second facial image, and described Two facial images unlock for face, and the high resolution of second facial image is in first facial image.
  7. 7. one kind solution lock control method, it is characterised in that including:
    Face is shot, obtains the first facial image;
    Determine in first facial image positioned at the target area of face;
    Using the target area as focusing, shot, obtain the second facial image, second facial image is used for people Face unlocks, and the high resolution of second facial image is in first facial image.
  8. 8. according to the method for claim 7, it is characterised in that described to determine to be located at face in first facial image Target area, including:
    Image segmentation is carried out to first facial image, obtains human face region;
    Determine that definition meets the region of preset requirement as the target area in the human face region.
  9. 9. according to the method for claim 8, it is characterised in that described to determine that definition meets default in the human face region It is required that region be the target area, including:
    The human face region is divided into multiple regions;
    Feature point extraction is carried out to each region in the multiple region respectively, obtains multigroup characteristic point;
    Selected characteristic is counted out most one groups from multigroup characteristic point, and the feature is counted out most one groups pairs The region answered is as the target area.
  10. 10. according to the method described in any one of claim 7 to 9, it is characterised in that methods described also includes:
    Face accounting is determined according to first facial image;
    Zoom processing is carried out according to the face accounting, obtains target focal length;
    It is described to be shot using the target area as focusing, the second facial image is obtained, including:
    Based on the target focal length, and using the target area as focusing, shot, obtain the second face figure Picture.
  11. 11. according to the method described in any one of claim 7 to 9, it is characterised in that methods described also includes:
    Current environment parameter is determined according to first facial image;
    It is determined that light filling parameter corresponding with the current environment parameter;
    It is described to be shot using the target area as focusing, the second facial image is obtained, including:
    Using the target area as focusing, and shot by the light filling parameter, obtain the second face figure Picture.
  12. 12. one kind solution lock control device, it is characterised in that including:
    First shooting unit, for being shot to face, obtain the first facial image;
    First determining unit, for determine in first facial image positioned at the target area of face;
    Second shooting unit, for using the target area as focusing, being shot, the second facial image is obtained, it is described Second facial image unlocks for face, and the high resolution of second facial image is in first facial image.
  13. 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.
  14. 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.
CN201710889860.9A 2017-09-27 2017-09-27 Solve lock control method and Related product Pending CN107734129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710889860.9A CN107734129A (en) 2017-09-27 2017-09-27 Solve lock control method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710889860.9A CN107734129A (en) 2017-09-27 2017-09-27 Solve lock control method and Related product

Publications (1)

Publication Number Publication Date
CN107734129A true CN107734129A (en) 2018-02-23

Family

ID=61208175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710889860.9A Pending CN107734129A (en) 2017-09-27 2017-09-27 Solve lock control method and Related product

Country Status (1)

Country Link
CN (1) CN107734129A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492364A (en) * 2018-09-25 2019-03-19 罗源县凤山镇企业服务中心 A kind of the intelligent unlocking method and terminal of mobile terminal
CN109801412A (en) * 2018-12-27 2019-05-24 深圳云天励飞技术有限公司 Gate inhibition's unlocking method and relevant apparatus
CN110119684A (en) * 2019-04-11 2019-08-13 华为技术有限公司 Image-recognizing method and electronic equipment
CN111984347A (en) * 2019-05-21 2020-11-24 北京小米移动软件有限公司 Interaction processing method, device, equipment and storage medium
CN113223088A (en) * 2020-01-21 2021-08-06 上海依图信息技术有限公司 Method for selecting camera erection point position by robot and robot
CN113545028A (en) * 2019-09-25 2021-10-22 谷歌有限责任公司 Gain control for face authentication
US12046072B2 (en) 2019-10-10 2024-07-23 Google Llc Camera synchronization and image tagging for face authentication

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452181A (en) * 2007-12-03 2009-06-10 鸿富锦精密工业(深圳)有限公司 Automatic focusing system and method OF electronic device
US20140193088A1 (en) * 2010-11-11 2014-07-10 DigitalOptics Corporation Europe Limited Rapid Auto-Focus Using Classifier Chains, Mems And Multiple Object Focusing
CN106412422A (en) * 2016-09-05 2017-02-15 广东欧珀移动通信有限公司 Focusing method, focusing device and terminal
CN106446873A (en) * 2016-11-03 2017-02-22 北京旷视科技有限公司 Face detection method and device
CN106682620A (en) * 2016-12-28 2017-05-17 北京旷视科技有限公司 Human face image acquisition method and device
CN106878614A (en) * 2017-01-17 2017-06-20 深圳市金立通信设备有限公司 A kind of image pickup method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452181A (en) * 2007-12-03 2009-06-10 鸿富锦精密工业(深圳)有限公司 Automatic focusing system and method OF electronic device
US20140193088A1 (en) * 2010-11-11 2014-07-10 DigitalOptics Corporation Europe Limited Rapid Auto-Focus Using Classifier Chains, Mems And Multiple Object Focusing
CN106412422A (en) * 2016-09-05 2017-02-15 广东欧珀移动通信有限公司 Focusing method, focusing device and terminal
CN106446873A (en) * 2016-11-03 2017-02-22 北京旷视科技有限公司 Face detection method and device
CN106682620A (en) * 2016-12-28 2017-05-17 北京旷视科技有限公司 Human face image acquisition method and device
CN106878614A (en) * 2017-01-17 2017-06-20 深圳市金立通信设备有限公司 A kind of image pickup method and terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492364A (en) * 2018-09-25 2019-03-19 罗源县凤山镇企业服务中心 A kind of the intelligent unlocking method and terminal of mobile terminal
CN109801412A (en) * 2018-12-27 2019-05-24 深圳云天励飞技术有限公司 Gate inhibition's unlocking method and relevant apparatus
CN109801412B (en) * 2018-12-27 2022-04-15 深圳云天励飞技术有限公司 Door access unlocking method and related device
CN110119684A (en) * 2019-04-11 2019-08-13 华为技术有限公司 Image-recognizing method and electronic equipment
WO2020207328A1 (en) * 2019-04-11 2020-10-15 华为技术有限公司 Image recognition method and electronic device
CN111984347A (en) * 2019-05-21 2020-11-24 北京小米移动软件有限公司 Interaction processing method, device, equipment and storage medium
CN113545028A (en) * 2019-09-25 2021-10-22 谷歌有限责任公司 Gain control for face authentication
CN113545028B (en) * 2019-09-25 2023-05-09 谷歌有限责任公司 Gain control for facial authentication
US11687635B2 (en) 2019-09-25 2023-06-27 Google PLLC Automatic exposure and gain control for face authentication
US12046072B2 (en) 2019-10-10 2024-07-23 Google Llc Camera synchronization and image tagging for face authentication
CN113223088A (en) * 2020-01-21 2021-08-06 上海依图信息技术有限公司 Method for selecting camera erection point position by robot and robot

Similar Documents

Publication Publication Date Title
CN107679482A (en) Solve lock control method and Related product
CN107734129A (en) Solve lock control method and Related product
CN107590461A (en) Face identification method and Related product
CN107832675A (en) Processing method of taking pictures and Related product
CN107679481A (en) Solve lock control method and Related product
CN107862265A (en) Image processing method and related product
CN107423699B (en) Biopsy method and Related product
CN107609514A (en) Face identification method and Related product
CN107463818A (en) Solve lock control method and Related product
CN107480496A (en) Solve lock control method and Related product
CN107292285A (en) Living iris detection method and Related product
CN107657218B (en) Face recognition method and related product
CN107506696A (en) Anti-fake processing method and related product
CN109241908A (en) Face identification method and relevant apparatus
CN107633499A (en) Image processing method and related product
CN109117725A (en) Face identification method and device
CN107403147A (en) Living iris detection method and Related product
CN106558025A (en) A kind for the treatment of method and apparatus of picture
CN107463883A (en) Biometric discrimination method and Related product
CN107480488A (en) Solve lock control method and Related product
CN107451446A (en) Solve lock control method and Related product
CN107451454A (en) Solve lock control method and Related product
CN107862266A (en) Image processing method and related product
CN107633235A (en) Solve lock control 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180223

RJ01 Rejection of invention patent application after publication