CN110674718B - Face recognition method and electronic equipment - Google Patents

Face recognition method and electronic equipment Download PDF

Info

Publication number
CN110674718B
CN110674718B CN201910876865.7A CN201910876865A CN110674718B CN 110674718 B CN110674718 B CN 110674718B CN 201910876865 A CN201910876865 A CN 201910876865A CN 110674718 B CN110674718 B CN 110674718B
Authority
CN
China
Prior art keywords
face
image
target area
intensity
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.)
Active
Application number
CN201910876865.7A
Other languages
Chinese (zh)
Other versions
CN110674718A (en
Inventor
王丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910876865.7A priority Critical patent/CN110674718B/en
Publication of CN110674718A publication Critical patent/CN110674718A/en
Application granted granted Critical
Publication of CN110674718B publication Critical patent/CN110674718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • 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/172Classification, e.g. identification
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the invention provides a face recognition method and electronic equipment, wherein the method comprises the following steps: the method comprises the steps that a light supplementing module capable of emitting strip-shaped light beams is used for conducting line-by-line light supplementing scanning on a target face, in the face light supplementing scanning process, first image characteristic information corresponding to a target area is obtained by controlling light supplementing intensity of the target area and a non-target area in the target face, wherein image definition of the first image characteristic information meets the requirement of lowest local definition; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.

Description

Face recognition method and electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a face recognition method and an electronic device.
Background
At present, with the rapid development of mobile communication technology, electronic devices (such as mobile terminals like smart phones) have become indispensable electronic consumer products in people's daily life, and with the increasing popularization of smart phones, and meanwhile, the functions of smart phones are continuously upgraded and optimized, so that smart phones have been integrated into various aspects of life, and users often use smart phones in various places and places.
The face recognition technology is widely applied to electronic equipment, but the application of the face recognition also faces some problems at present, for example, in a dark environment, the electronic equipment cannot recognize facial features of a person, so that the electronic equipment cannot perform face recognition based on face image feature information in the face recognition process. At present, some electronic devices improve the definition of face image feature information by increasing screen brightness in the dark to perform face recognition, but the suddenly increased brightness stimulates eyes of users, which affects the use experience of users.
Therefore, the existing electronic device cannot consider both face recognition and good user experience in a dark environment, and therefore, a face recognition method which ensures face recognition accuracy in a dark environment and does not damage light sensitive parts of a user is needed to be provided.
Disclosure of Invention
The embodiment of the invention aims to provide a face recognition method and electronic equipment, and solves the problem that the existing electronic equipment cannot simultaneously realize face recognition and good user experience in a dark environment. In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a face recognition method, which is applied to an electronic device, where the electronic device is provided with a light supplement module capable of emitting a bar-shaped light beam, and the method includes:
acquiring first image characteristic information corresponding to a target area in a target face, wherein the first image characteristic information is obtained by utilizing the light supplementing module to scan the target face line by line according to first light supplementing intensity and meets a first preset definition requirement;
scanning the target face line by line according to a second supplementary lighting intensity by using the supplementary lighting module to obtain a second face image, wherein the second supplementary lighting intensity is obtained by reducing the supplementary lighting intensity of the target area;
and if the image definition of the non-target area in the second face image meets a second preset definition requirement, generating a face recognition image based on the first image characteristic information and second image characteristic information corresponding to the non-target area, and executing face recognition operation based on the face recognition image.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device is provided with a light supplement module capable of emitting a bar-shaped light beam, and the light supplement module includes:
the target area image feature acquisition module is used for acquiring first image feature information corresponding to a target area in a target face, wherein the first image feature information is obtained by utilizing the light supplement module to scan the target face line by line according to first light supplement intensity and meets a first preset definition requirement;
the second face image acquisition module is used for scanning the target face line by line according to a second light supplement intensity by using the light supplement module to acquire a second face image, wherein the second light supplement intensity is obtained by reducing the light supplement intensity of the target area;
and the face recognition module is used for generating a face recognition image based on the first image characteristic information and second image characteristic information corresponding to the non-target area if the image definition of the non-target area in the second face image meets a second preset definition requirement, and executing face recognition operation based on the face recognition image.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the face recognition method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the face recognition method according to the first aspect.
The embodiment of the invention provides a face recognition method and electronic equipment, wherein the method comprises the following steps: the method comprises the steps that a light supplementing module capable of emitting strip-shaped light beams is used for conducting line-by-line light supplementing scanning on a target face, in the face light supplementing scanning process, first image characteristic information corresponding to a target area is obtained by controlling light supplementing intensity of the target area and a non-target area in the target face, wherein image definition of the first image characteristic information meets the requirement of lowest local definition; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a first face recognition method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a second face recognition method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a third method for face recognition according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a fourth flow chart of a face recognition method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a fifth method for face recognition according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a first module composition of an electronic device according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a second module composition of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a face recognition method and electronic equipment, wherein a light supplementing module capable of emitting a bar-shaped light beam is used for performing line-by-line light supplementing scanning on a target face, in the process of the face light supplementing scanning, first image characteristic information corresponding to a target area is obtained by controlling the light supplementing intensity of the target area and a non-target area in the target face, and the image definition of the first image characteristic information meets the requirement of the lowest local definition; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
Fig. 1 is a schematic flowchart of a first flowchart of a face recognition method according to an embodiment of the present invention, where the method in fig. 1 can be executed by an electronic device, particularly by a program module disposed in the electronic device, where the electronic device is provided with a light supplement module capable of emitting a bar beam, and as shown in fig. 1, the method at least includes the following steps:
s101, first image characteristic information corresponding to a target area in a target face is obtained, wherein the first image characteristic information is obtained by utilizing a light supplementing module to scan the target face line by line according to first light supplementing intensity and meets a first preset definition requirement;
wherein the first predetermined resolution requirement comprises: aiming at the minimum definition requirement of the target area in the face recognition process, as long as the definition of the image feature information of the target area used in the face recognition image meets the minimum definition requirement, therefore, when the definition of the image of the target area meets a first preset definition requirement by gradually increasing the first fill-in light intensity, the image feature information corresponding to the target area is saved so as to be used for subsequent face recognition;
specifically, during specific implementation, a light sensitive part in a target human face is determined as a target area, and a non-light sensitive part in the target human face is determined as a non-target area; the light sensitive part can be automatically set by a system in advance, for example, the eye part can be automatically set as the light sensitive part in consideration of the fact that the eye part is easy to be stimulated due to too strong light; the light sensitive part can also be selected and set by a user according to actual requirements, the light sensitive part is determined according to a received human face part setting request of the user, and the light sensitive part is determined as a target area, for example, the user sets the human face part needing to be protected as the light sensitive part, and if the human face part is injured or the surface of the human face is coated with special medicines, the human face part can be set as the light sensitive part, so that certain stimulation or injury to the human face part caused by over-strong light is avoided, the aim of protecting the human face part is further fulfilled, the flexibility of setting the target area can be improved, and the individualized requirements of different users are met;
s102, scanning the target face line by line according to a second supplementary lighting intensity by using a supplementary lighting module to obtain a second face image, wherein the second supplementary lighting intensity is obtained by reducing the supplementary lighting intensity of the target area;
specifically, after first image characteristic information of a target area meeting a first preset definition requirement is stored, second image characteristic information of a non-target area meeting a second preset definition requirement needs to be stored continuously, wherein in order to further protect the light sensitive portion, recognizable image characteristic information of the light sensitive portion is obtained, and fill-in light intensities of bar-shaped light beams corresponding to different scanning lines can be different when a face is scanned line by the fill-in light module, so that the fill-in light intensity of the non-target area can be increased by reducing the fill-in light intensity of the target area, that is, when a second face image is obtained by line scanning by the fill-in light module, the fill-in light intensity of the scanning line corresponding to the non-target area is greater than the fill-in light intensity of the scanning line corresponding to the target area, that the face is scanned line by using different fill-in light intensities of different face areas, so as to obtain the second image characteristic information of the non-target area meeting the second preset definition requirement on the premise that the light sensitive portion is protected;
it should be noted that, for the second fill-in light intensity, the fill-in light intensity of the target region and the fill-in light intensity of the non-target region are involved, where the fill-in light intensity of the scanning line corresponding to the target region and the fill-in light intensity of the scanning line corresponding to the non-target region may be different, that is, the second fill-in light intensity is obtained by performing regional adjustment on the fill-in light intensity by using the fill-in light module, and therefore, the second fill-in light intensity may be referred to as a regional fill-in light intensity;
s103, if the image definition of the non-target area in the second face image meets a second preset definition requirement, generating a face recognition image based on the first image characteristic information and second image characteristic information corresponding to the non-target area, and executing face recognition operation based on the face recognition image;
wherein the second predetermined resolution requirement comprises: aiming at the definition requirement of a non-target area in the face recognition process, a second definition threshold corresponding to a second preset definition requirement is larger than a first definition threshold corresponding to a first preset definition requirement, so that when the image definition of the target area just meets the first preset definition requirement, the image definition of the non-target area in a first face image does not meet the second preset definition requirement, the light supplement intensity of the non-target area needs to be increased to obtain and store second image characteristic information of the non-target area meeting the second preset definition requirement, and meanwhile, the light supplement intensity of the target area is reduced to protect the target area;
it should be noted that, in order to protect the target area, the fill-in light intensity of the target area is reduced, so that when the definition of the image feature information of the non-target area meets the second preset definition requirement, the definition of the image feature information of the target area may not meet the first preset definition requirement, but the first image feature information meeting the first preset definition requirement is obtained in step S101, so that the face recognition can be successfully completed by combining the second image feature information and the first image feature information, and then after the face recognition passes, corresponding control operations can be performed, for example, after the face recognition passes, the electronic device is unlocked, and for example, after the face recognition passes, an online payment operation is performed;
specifically, after second image feature information meeting a second preset definition requirement is acquired, face recognition can be directly performed based on the second image feature information without storing the second image feature information; or storing the second image characteristic information, and then performing face recognition based on the second image characteristic information. In the process of storing the second image feature information, similarly, the second image feature information meeting the second preset definition requirement may be stored, and the second face image may also be stored, where the second face image includes: storing second image characteristic information meeting a second preset definition requirement and image characteristic information of the target area, namely simultaneously storing the second image characteristic information meeting the second preset definition requirement and the image characteristic information of the target area, wherein when a second face image is obtained, in order to protect the target area, the light supplement intensity of the target area is reduced, so that the definition of the image characteristic information of the target area may not meet the image definition requirement corresponding to the target area;
in specific implementation, in the final process of unlocking the terminal based on face recognition, only the combination of the first image feature information of the target region meeting the corresponding definition requirement and the second image feature information of the non-target region meeting the corresponding definition requirement needs to be determined as the face image data for face recognition, so that the face image data is input into a face recognition algorithm, and therefore, in order to simplify the process of generating the face recognition image, only the first image feature information of the target region in the first face image and the second image feature information of the non-target region in the second face image can be saved;
the method comprises the steps of obtaining first image characteristic information of a target area meeting a low definition requirement and second image characteristic information of a non-target area meeting a high definition requirement in stages in the steps, and combining the first image characteristic information and the second image characteristic information to obtain a face recognition image;
specifically, aiming at the condition of only storing the first image characteristic information and the second image characteristic information, the first image characteristic information and the second image characteristic information are directly spliced to obtain a finally used face recognition image; correspondingly, for the condition of storing the first face image and the second face image, no matter the first face image or the second face image contains part of image characteristic information meeting the definition requirement and part of image characteristic information not meeting the definition requirement, therefore, the first image characteristic information of the target area meeting the definition requirement in the first face image and the second image characteristic information of the non-target area meeting the definition requirement in the second face image can be extracted and spliced to obtain the finally used face recognition image.
In the embodiment of the invention, a light supplementing module capable of emitting a bar-shaped light beam is used for performing line-by-line light supplementing scanning on a target face, and in the light supplementing scanning process of the face, first image characteristic information corresponding to a target area is obtained by controlling the light supplementing intensity of the target area and a non-target area in the target face, wherein the image definition of the first image characteristic information meets the requirement of lowest local definition; and then, the target area is protected by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
Specifically, a mode of controlling the light supplement intensity in different areas according to the target face is adopted, meanwhile, when the target area is ensured to meet the corresponding lower definition requirement, the image characteristic information of the target area is saved, the light supplement intensity of the target area is reduced, the light supplement intensity of the non-target area is improved, when the non-target area is ensured to meet the corresponding higher definition requirement, the image characteristic information of the non-target area is saved, namely the image characteristic information of the target area meeting the lower definition condition and the image characteristic information of the non-target area meeting the higher definition condition are obtained in different stages, and therefore the scanning intensity and the duration time of the light sensitive area are reduced.
Further, in order to obtain a first face image, considering that in order to protect a light-sensitive portion, a first fill light intensity to be used initially may be relatively low, and therefore, the fill light module performs a line-by-line scan on a face with the first fill light intensity to obtain a first face image, where an image definition of a target area in the first face image may not meet a minimum definition requirement, at this time, the first fill light intensity may be gradually increased, and the increased first fill light intensity is used for a next face scan to obtain the first face image, so as to gradually improve the image definition of the target area, as shown in fig. 2, before obtaining first image feature information corresponding to the target area in the target face in the above S101, the method further includes:
s104, scanning the target face line by line according to first supplementary lighting intensity by using a supplementary lighting module to obtain a first face image, wherein the first supplementary lighting intensity is smaller than a preset intensity threshold value;
the preset intensity threshold value can be a light supplement intensity upper limit value which can not protect light sensitive parts in the face and can ensure that the definition of the image of the light sensitive parts meets the minimum requirement, therefore, the adjusted first light supplement intensity is smaller than the preset intensity threshold value, namely when the light supplement module is used for scanning the face of a user line by line with the light supplement intensity smaller than the preset intensity threshold value, the light sensitive parts can not be stimulated and damaged, and image characteristic information of a target area meeting the minimum definition requirement can be obtained;
s105, judging whether the image definition of the target area in the acquired first face image meets a first preset definition requirement or not;
the light beams emitted by the light supplementing module are strip-shaped light beams, and can be scanned line by line according to a preset scanning frequency during face light supplementing, so that light supplementing intensity between different scanning lines can be controlled to be different, light supplementing intensity corresponding to any scanning line can be freely adjusted, and the face can be scanned line by line with smaller light supplementing intensity to obtain a first face image aiming at the condition that the definition requirements of image characteristic information at different parts of the face are different, for example, if the definition requirement of a light sensitive part is lower than that of other face parts, the light supplementing module can be used for scanning the face line by line with smaller light supplementing intensity to obtain a first face image; the first fill-in light intensity used by the fill-in light module is smaller than a preset intensity threshold value, but the definition of the image characteristics of the target area obtained by scanning under the first fill-in light intensity can meet the requirement of the minimum definition of the target area, and the first fill-in light intensity can not cause stimulation or damage to light sensitive parts in the face;
if yes, executing S106, and saving first image characteristic information corresponding to the target area; after second image characteristic information meeting a second definition requirement is collected subsequently, the first image characteristic information is directly obtained, and then face recognition is carried out by combining the first image characteristic information and the second image characteristic information;
the first preset definition requirement can correspond to a first definition threshold, and if the image definition of the target area is just equal to the first definition threshold, the first image feature information corresponding to the target area can be accurately identified by a face identification algorithm, and the image definition of the target area is determined to meet the minimum definition requirement for the target area;
if not, executing S107, increasing intervals according to the preset supplementary lighting intensity, and increasing the supplementary lighting intensity of the supplementary lighting module for each scanning line; determining the increased fill-in light intensity as a first fill-in light intensity used for obtaining the first face image by next scanning;
specifically, after a first face image is acquired at a certain first fill-in light intensity each time, whether the first face image meets the corresponding definition requirement is judged, so that whether the fill-in light intensity needs to be increased again is determined as the first fill-in light intensity for acquiring the first face image in the next scanning;
specifically, when it is determined that the image definition of the target area does not meet the first preset definition requirement, it is indicated that the first image feature information corresponding to the target area cannot be accurately identified by the face recognition algorithm, and therefore, the fill-in light intensity needs to be continuously increased to obtain a new first fill-in light intensity, and next face scanning is performed with the new first fill-in light intensity to obtain a new first face image, that is, the step of S104 is returned to, so that the definition of the image feature information of the target area in the first face image is improved until the first face image containing the image feature information of the target area that just meets the first preset definition requirement is obtained;
the light supplement intensity of the bar-shaped light beams emitted by the light supplement module in the electronic equipment is higher, and the definition of image features in the scanned face image is higher, so that when the definition of the image corresponding to a target area in the first face image does not meet the first preset definition requirement, the light supplement intensity of the light supplement module can be increased at preset light supplement intensity increasing intervals and preset time increasing intervals, and the face image data obtained by scanning the bar-shaped light beams with the increased light supplement intensity is acquired. Specifically, with the increase of the first supplementary lighting intensity, the image definition of the target area in the first face image is higher and higher until the image definition just meets a first preset definition requirement, the first image characteristic information corresponding to the target area is stored, the supplementary lighting intensity of the target area is stopped to be increased, and the supplementary lighting intensity of the target area is continuously reduced when the second face image is subsequently acquired.
Further, when the method is specifically implemented, in order to shorten scanning time for obtaining first image characteristic information meeting a first preset definition requirement, and further improve face recognition efficiency, first supplementary lighting intensity for obtaining a first face image through first face scanning can be determined according to background light intensity of an environment where a target user is located currently, and a preset light intensity increasing interval is determined according to the background light intensity, so that the first supplementary lighting intensity is adjusted rapidly to enable image characteristic information of a target area to meet the required supplementary lighting intensity meeting the minimum definition requirement, and further the image definition of the target area in the obtained first face image meets the first preset definition requirement rapidly.
Further, in the process of acquiring the second face image, considering that the requirement on the definition of the non-target region is higher than the requirement on the definition of the target region, the first face image acquired with the first fill-in light intensity can ensure that the image characteristic information of the target region meets the corresponding definition requirement, but cannot ensure that the image characteristic information of the non-target region meets the corresponding definition requirement, wherein because the image characteristic information of the target region meeting the lower definition requirement has been acquired, the image characteristic information of the non-target region meeting the higher definition requirement also needs to be acquired at this time, therefore, the fill-in light intensity of the target region can be reduced and the fill-in light intensity of the non-target region can be increased, and the adjusted fill-in light intensity is used as the second fill-in light intensity of the second face image acquired next time, so as to gradually improve the definition of the image of the non-target region, which not only can more clear second image characteristic information be obtained, but also can protect light-sensitive portions, as shown in fig. 3, in the above S102, the image acquisition is performed according to the second fill-in light intensity, and the second face image scanning process further includes the step-by step, and the step of the second face image acquisition process of the second face image, and the face image acquisition process includes the following steps:
s108, judging whether the image definition of a non-target area in the acquired second face image meets a second preset definition requirement or not;
specifically, after a second face image is acquired at a certain second fill-in light intensity each time, whether the corresponding definition requirement is met is judged first, so that whether the second fill-in light intensity needs to be adjusted again is determined to be used as a second fill-in light intensity for acquiring the second face image in the next scanning;
if yes, S103 is executed, a face recognition image is generated based on the first image feature information and second image feature information corresponding to the non-target area, and face recognition operation is executed based on the face recognition image;
specifically, when it is determined that the image definition of the non-target region meets a second preset definition requirement, it is indicated that second image feature information corresponding to the non-target region can be accurately identified by a face recognition algorithm, and therefore, the second image feature information can be stored for subsequent face recognition;
if not, executing S109, and adjusting the supplementary lighting intensity of each scanning line by the supplementary lighting module according to a preset supplementary lighting intensity adjusting mode; and determining the adjusted fill-in light intensity corresponding to each scanning line as a second fill-in light intensity used for obtaining the second face image for the next scanning.
Specifically, when it is determined that the image sharpness of the non-target region does not meet the second preset sharpness requirement, it is indicated that the second image feature information corresponding to the non-target region cannot be accurately recognized by the face recognition algorithm, and therefore, the fill-in light intensity needs to be continuously adjusted, that is, the fill-in light intensity of the non-target region is increased and the fill-in light intensity of the target region is reduced to obtain a new second fill-in light intensity, and next face scanning is performed with the new second fill-in light intensity to obtain a new second face image, that is, the step of S102 is returned to, so as to improve the sharpness of the image feature information of the non-target region in the second face image until the second face image containing the image feature information of the non-target region that just meets the second preset sharpness requirement is obtained;
the second preset definition requirement may correspond to a second definition threshold, where the second definition threshold is greater than the first definition threshold, and if the image definition of the non-target region is exactly equal to the second definition threshold, it indicates that the second image feature information corresponding to the non-target region can be accurately identified by the face recognition algorithm, and it is determined that the image definition of the non-target region meets the lowest definition requirement for the non-target region;
specifically, when it is determined that the image definition of the non-target region meets a second preset definition requirement, it is indicated that second image feature information corresponding to the non-target region can be accurately identified by a face unlocking identification algorithm, and therefore the second image feature information can be stored for subsequent face unlocking identification;
the definition of the image feature information corresponding to all scanning lines in the non-target region needs to meet the second preset definition requirement, the second preset definition requirement is higher than the first preset definition requirement, the second supplementary lighting intensity is adjusted by taking the first supplementary lighting intensity used for the stored first face image as an initial reference, namely the second supplementary lighting intensity used for obtaining the second face image by first progressive scanning is: and adjusting the first fill-in light intensity used for obtaining the first face image through the last scanning, so that the fill-in light intensity corresponding to the non-target area in the second fill-in light intensity used for storing the second face image is greater than the first fill-in light intensity, and the fill-in light intensity corresponding to the target area in the second fill-in light intensity used for storing the second face image is less than the first fill-in light intensity.
The image characteristic information corresponding to the target area is stored, so that when the second face image is obtained, only the image characteristic information of the non-target area needs to be ensured to meet the requirement of corresponding image definition, and further, when the second face image is obtained, the light supplement intensity of a scanning line corresponding to the target area can be reduced to be very low, and more effective safety protection on the light sensitive part is realized.
Wherein, to the adjustment process of second light filling intensity, because the light filling region that the scanning line at different people' S face positions corresponds is probably different, effectively protects the photosensitive position of light on the basis of ensureing to acquire clear second image characteristic information, and based on this, above-mentioned S109, according to the mode that target area light filling intensity reduces and non-target area light filling intensity increases, adjusts the light filling intensity of light filling module to each scanning line, specifically includes:
step one, determining at least one first scanning line corresponding to a target area and/or at least one second scanning line corresponding to a non-target area according to a predetermined corresponding relation between a face part identifier and a scanning line identifier;
the correspondence records face part identifiers corresponding to the scanning lines, so that at least one of the identifier of the scanning line corresponding to the target area and the identifier of the scanning line corresponding to the non-target area can be determined by combining the correspondence; in specific implementation, only at least one first scanning line corresponding to the target area may be determined, and the remaining scanning lines may be determined as at least one second scanning line corresponding to the non-target area, or only at least one second scanning line corresponding to the non-target area may be determined, and the remaining scanning lines may be determined as first scanning lines corresponding to the target area, or at least one first scanning line corresponding to the target area and at least one second scanning line corresponding to the non-target area may be determined at the same time; considering that the number of scanning lines corresponding to the target area is usually small, it is preferable to determine only at least one first scanning line corresponding to the target area, and determine the remaining scanning lines as at least one second scanning line corresponding to the non-target area;
reducing the light supplement intensity of the light supplement module aiming at the at least one first scanning line, and increasing the light supplement intensity of the light supplement module aiming at the at least one second scanning line;
specifically, after the identification of the scanning line corresponding to the target area and the identification of the scanning line corresponding to the non-target area are determined, the light supplement intensity of the scanning line corresponding to the target area is reduced, so that stimulation and damage of light intensity to the sensitive portion of the optical fiber in the face are reduced, and meanwhile, the light supplement intensity of the scanning line corresponding to the non-target area is increased, so that image feature information of the non-target area in the second face image is improved.
Further, in the determining process of the correspondence between the face part identifier and the scanning line identifier, considering that when the fill light intensity of each scanning line is adjusted to obtain the second fill light intensity, the identifier of the scanning line corresponding to the target area and the identifier of the scanning line corresponding to the non-target area need to be obtained, and then the fill light intensity of the scanning lines corresponding to different face parts needs to be correspondingly adjusted, so before acquiring the first face image and the second face image, the correspondence between the face part identifier and the scanning line identifier needs to be determined in advance, based on this, a process of determining the correspondence is added on the basis of fig. 3, as shown in fig. 4, in the above S104, the process of scanning the target face line by line according to the first fill light intensity further includes:
s110, scanning the target face line by line according to a third supplementary lighting intensity by using a supplementary lighting module to obtain a third face image, wherein the third supplementary lighting intensity is less than or equal to the first supplementary lighting intensity;
before the face is scanned according to the first supplementary lighting intensity to obtain a first face image, under the condition that the collected face image contains a preset face part and the terminal and the face are relatively static, determining the corresponding relation between the face part identifier and the scanning line identifier, and then starting to collect a second face image; the definition of the image characteristic information is not required in the process of determining the corresponding relation, so that the third fill-in light intensity used for starting to be used is small in order to effectively protect the eye part, then, in the process of acquiring the first face image, the third fill-in light intensity is used as an initial reference for adjustment, namely, the first fill-in light intensity used for obtaining the first face image by first progressive scanning can be equal to the third fill-in light intensity, and after the image definition of a target area in the first face image is determined not to meet a first preset definition requirement, the first fill-in light intensity is gradually increased, so that the first fill-in light intensity used for obtaining the first face image by scanning is greater than or equal to the third fill-in light intensity;
specifically, when a request for face recognition is detected, that is, an inertial sensor of the electronic device detects the request for face recognition, and meanwhile, a photosensitive element of the electronic device detects that the brightness of the current environment is lower than a preset brightness threshold, a light supplementing module in the electronic device scans a target face at a certain fixed frequency and a fixed line number with a third light supplementing intensity, and obtains a third face image with a preset frame number, where the frame number of the third face image is greater than a first preset frame number, so that it can be judged whether an image obtained by scanning the target face by the light supplementing module meets a condition for obtaining image feature information required for face recognition, that is, whether the first face image can be collected so as to obtain first image feature information meeting a definition requirement;
s111, determining the corresponding relation between each face position identification and the scanning line identification in the target face according to multiple frames of third face images obtained by scanning within a preset time period;
when the third face image is obtained by line-by-line scanning, the image feature information corresponding to each scanning line is recorded, so that the face part identification corresponding to each scanning line in the third face image, namely which position in which face part the ith scanning line corresponds to, can be obtained by combining the image feature information corresponding to each scanning line for each third face image;
in addition, when the terminal and the face move relatively, the scanning line identifiers corresponding to the same position in the same face part may be different in different third face images, so that the corresponding relationship between the face part identifiers and the scanning line identifiers needs to be determined by combining the third face image acquired under the condition that the terminal and the face are relatively static;
specifically, after the correspondence between the face position identifiers of each person and the scanning line identifiers is determined, when the fill light intensity of each scanning line is adjusted to obtain the second fill light intensity, the identifiers of the scanning lines corresponding to the target area and the identifiers of the scanning lines corresponding to the non-target area can be obtained based on the correspondence, and then the fill light intensity of each scanning line is subjected to partition adjustment in a targeted manner.
Considering that each face part has a certain area and the width of the bar-shaped light beam emitted by the light supplementing module is smaller, each face part corresponds to a plurality of scanning lines, at this time, if the different positions in the same face part are not identified, in the corresponding relationship, the same face part identifier corresponds to a plurality of scanning line identifiers, that is, the face part identifiers corresponding to different scanning lines may be the same;
in specific implementation, in order to ensure the one-to-one correspondence between the scanning lines and the face part identifiers, different positions in the same face part can be subdivided into a plurality of face part identifiers, so that different scanning lines correspond to different face part identifiers; therefore, the same face part can be differentiated into a plurality of face part identifications, different positions of the same face part correspond to different face part identifications, correspondingly, in the corresponding relation, each face part identification corresponds to one scanning line identification, namely, the face part identifications corresponding to different scanning lines are different;
taking an eye part as an example, different positions in the eye part correspond to different eye part identifiers, each eye part identifier corresponds to a scanning line identifier, and the different eye part identifiers can be numbered according to a scanning order from top to bottom; for example, the scan lines corresponding to the eye portion include: the 5 th, 6 th, 7 th and 8 th scanning lines correspond to the human face parts corresponding to the eye parts from the upper position to the lower position, and the marks are respectively as follows: eye-1, eye-2, eye-3 and eye-4.
Specifically, in order to ensure the accuracy of the correspondence between the determined face position identifier and the scan line identifier, it is required to ensure that the acquired third face image meets a certain precondition, if the acquired face image includes a preset face position and the terminal is relatively still with respect to the face, based on this, in S110, the correspondence between each face position identifier and the scan line identifier in the target face is determined according to multiple frames of third face images acquired by scanning within a preset time period, which specifically includes:
judging whether the acquisition condition aiming at the first face image is met or not according to multiple frames of third face images which are scanned and acquired within a preset time period;
wherein, the above-mentioned collection condition to the first face image includes: the collected third face image comprises a preset face part, and the terminal and the face are relatively static;
if yes, executing, and determining the corresponding relation between each face part identifier and the scanning line identifier in the target face according to the multiple frames of third face images;
specifically, if it is determined that a certain number of third face images in multiple frames of third face images satisfy the acquisition condition for the first face image, that is, it is determined that the acquired third face images include the preset face part and the terminal is relatively static with respect to the face, the corresponding relationship between each face part identifier and the scan line identifier can be determined, and then the acquisition of the first face image and the second face image is continued, so as to obtain the image feature information of the target region satisfying the first definition requirement and the image feature information of the non-target region satisfying the second definition requirement.
Further, to the process of determining whether the acquisition condition of the first face image is satisfied, it is necessary to identify whether the acquired third face image includes a preset face portion and the terminal is relatively still with the face, and based on this, the above S110 determines whether the acquisition condition of the first face image is satisfied according to the multi-frame third face image scanned and acquired within the preset time period, and specifically includes:
selecting a preset number of third face images which are newly scanned and obtained from a plurality of frames of third face images;
specifically, considering that the probability that the third face image acquired at the beginning does not meet the requirement is relatively high, whether the third face image contains the preset face part or not and the terminal is relatively static with the face can be judged by selecting the third face image with the preset number acquired by the latest scanning, the frame number of the selected third face image is greater than the second preset frame number, and the latest scanned third face image can represent the final acquisition state, so that the second preset frame number is less than or equal to the first preset frame number;
judging whether a preset face part in the target face is included according to the selected third face image;
the preset face part can be a key face part necessary for face recognition, and can also be all face parts, and the face recognition unlocking operation can be accurately executed only when the key face part or all face parts are included in face recognition image data;
if the target face image contains a preset face part in the target face, executing a third step, and judging whether the target face and the electronic equipment are relatively static according to the selected third face image;
specifically, after the preset face part is determined to be included, whether the face and the terminal are relatively static needs to be further determined, and the accuracy of the finally determined corresponding relation can be ensured only if the face and the terminal are relatively static;
if the target face is relatively static with the electronic equipment, executing the fourth step, and determining that the acquisition condition aiming at the first face image is met;
specifically, after it is determined that the third face image includes the preset face part and the terminal is relatively static with respect to the face, the corresponding relationship between the face part identifiers of the persons and the scan line identifiers can be accurately determined.
In a specific embodiment, the electronic device detects that the mobile phone is lifted or a user clicks a power key, and the light sensitive element of the electronic device detects that the brightness of the environment is smaller than a preset brightness threshold of the electronic device, so that the light supplementing module scans the target face with a third light supplementing intensity and scanning conditions of 20 hz and 50 lines, that is, 20 frames of face images are obtained every second;
then, based on the 20 collected frames of face images, judging whether a preset face part is included and the terminal and the face are relatively static, wherein when the 20 frames of face images are collected, image feature information corresponding to each scanning line is recorded, and in order to improve the accuracy of determination of the corresponding relationship, when the corresponding relationship is determined, the latest obtained preset number of face images are also selected as a basis, specifically, for each frame of face images of the latest collected preset number, the face part identification corresponding to each scanning line in the frame of face images, namely, which position in which face part the ith scanning line corresponds to, can be obtained by combining the image feature information corresponding to each scanning line; for example, it can be known that the 5 th, 6 th, 7 th and 8 th scanning lines in the multiple lines of bar-shaped light beams emitted by the light supplementing module are respectively: eye-1, eye-2, eye-3 and eye-4.
In specific implementation, 10 newly acquired face images, namely, the face images acquired in the last 500 milliseconds are acquired, whether the 10 face images contain preset face parts is judged, if yes, whether the electronic device and the target face are relatively static is judged continuously based on image characteristic information corresponding to each scanning line recorded in the 10 face images, if yes, the scanning result of the current face image meets the acquisition condition aiming at the first face image, the corresponding relation between each face part identifier and the scanning line identifier in the target face can be further determined, and the acquisition process of the first face image is continued.
Specifically, in the third step, in a process of determining whether the terminal and the face are relatively static, whether the target face and the electronic device are relatively static is determined according to the selected third face image, which specifically includes:
aiming at each face part identification, judging whether the difference value between the maximum scanning line number and the minimum scanning line number corresponding to the face part identification is smaller than a preset line number threshold value or not according to the selected third face image;
specifically, if the identification deviation of a plurality of scanning lines corresponding to the same face part identification is very small in a plurality of third face images, it indicates that the face of the user and the electronic device are relatively static;
if so, determining whether the target face and the electronic equipment are relatively static;
if the judgment result is negative, the scanning and the acquisition of the third face image are continued until whether the third face image comprises the preset face part or not and the terminal and the face are relatively static are determined.
Wherein, for the case that different positions in the same face part are not identified, in the above corresponding relationship, the same face part identifier corresponds to multiple scan line identifiers, at this time, even in the same third face image, for the same face part identifier, there is a fixed difference between the maximum scan line number and the minimum scan line number, for example, still taking the eye part as an example, if the number of lines of the scan line corresponding to the eye part is 4, the fixed difference is 4, in order to eliminate the influence of the fixed difference, a preset line number threshold may be set, that is, the preset line number threshold is set to be larger;
correspondingly, for the case of subdividing different positions in the same face into a plurality of face part identifiers, in the correspondence relationship, the face part identifiers correspond to the scanning line identifiers one to one, and at this time, in the same third face image, for the same face part identifier, a unique scanning line number corresponds to the same face part identifier, so that, in the plurality of third face images, for the same face part identifier, there is no fixed difference between the maximum scanning line number and the minimum scanning line number, and correspondingly, the preset line number threshold may be set according to the maximum allowable offset line number, for example, if the maximum allowable offset line number is 2, the preset line number threshold is set to 2; correspondingly, for the situation that different positions in the same face part are not identified and distinguished, if the fixed difference is 4, the preset line number threshold is set to be 6.
In a specific embodiment, as shown in fig. 5, a fifth flowchart of a face recognition method provided in an embodiment of the present invention is given, where the face recognition method specifically includes:
s501, after a terminal unlocking request based on face recognition is detected, the current environment brightness of the environment where a target user is located is obtained;
s502, judging whether light supplement is needed when the terminal is unlocked based on face recognition according to the acquired current environment brightness;
if not, S503, obtaining the face recognition image data, and executing face unlocking operation based on the face recognition image data;
if yes, S504 is executed, and the light supplement module is used for scanning the target face line by line according to the third light supplement intensity to obtain a third face image;
s505, judging whether a preset face part in the target face is included according to the newly scanned third face images with the preset number;
if the preset face part in the target face is not included, returning to the step of S504 to ensure that a third face image including the preset face part in the target face is acquired;
if the preset face part in the target face is included, executing S506, and judging whether the target face and the electronic equipment are relatively static according to the selected third face image;
if the target face and the electronic device are not relatively static, returning to the step of S504 to ensure that a third face image with the face and the terminal relatively static while a preset face part in the target face is obtained;
if the target face is relatively static with the electronic equipment, executing S507, and determining the corresponding relation between face part identifiers and scanning line identifiers in the target face according to the selected third face image;
s508, scanning the target face line by line according to the first light supplement intensity by using a light supplement module to obtain a first face image;
s509, judging whether the image definition of the target area in the first face image meets a first preset definition requirement or not;
if yes, executing S510, and saving first image characteristic information corresponding to the target area;
if not, executing S511, increasing the light supplement intensity of the light supplement module for each scanning line according to a preset light intensity increase interval, and determining the increased light supplement intensity as a first light supplement intensity for obtaining the first face image for the next scanning; returning to the step of S508 to improve the sharpness of the image feature information of the target region in the first face image until the first face image containing the image feature information of the target region that just meets the first preset sharpness requirement is obtained;
s512, scanning the target face line by line according to the second supplementary lighting intensity by using a supplementary lighting module to obtain a second face image;
s513, judging whether the image definition of the target area in the second face image meets a second preset definition requirement or not;
if yes, executing S514, generating a face recognition image based on the first image feature information and second image feature information corresponding to the non-target area, and executing face recognition operation based on the face recognition image;
if not, executing S515, and adjusting the supplementary lighting intensity of each scanning line by the supplementary lighting module according to the mode that the supplementary lighting intensity of the target area is reduced and the supplementary lighting intensity of the non-target area is increased; determining the adjusted light supplement intensity corresponding to each scanning line as a second light supplement intensity used for obtaining a second face image for next scanning; and returning to the step of S512 to improve the definition of the image characteristic information of the non-target area in the second face image until the second face image containing the image characteristic information of the non-target area which just meets the requirement of second preset definition is obtained;
according to the face recognition method in the embodiment of the invention, a light supplementing module capable of emitting a bar-shaped light beam is used for performing line-by-line light supplementing scanning on a target face, in the process of face light supplementing scanning, first image characteristic information corresponding to a target area is obtained firstly by controlling the light supplementing intensity of the target area and a non-target area in the target face, wherein the image definition of the first image characteristic information meets the requirement of the lowest local definition; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
Based on the same technical concept, the embodiment of the present invention further provides an electronic device, where the electronic device is provided with a light supplement module capable of emitting a light bar, and fig. 6 is a schematic diagram of a first module of the electronic device according to the embodiment of the present invention, and the electronic device is configured to execute the face recognition method described in fig. 1 to 5, and as shown in fig. 6, the electronic device includes:
the image feature acquisition module 601 is configured to acquire first image feature information corresponding to a target area in a target face, where the first image feature information is obtained by performing line-by-line scanning on the target face according to a first fill-in light intensity by using the fill-in light module and meets a first preset definition requirement;
a second face image obtaining module 602, configured to perform progressive scanning on the target face by using the light supplement module according to a second light supplement intensity, so as to obtain a second face image, where the second light supplement intensity is obtained according to a reduction in the light supplement intensity of the target area;
a face recognition module 603, configured to generate a face recognition image based on the first image feature information and second image feature information corresponding to the non-target region if the image sharpness of the non-target region in the second face image meets a second preset sharpness requirement, and execute a face recognition operation based on the face recognition image.
The electronic equipment in the embodiment of the invention utilizes a light supplementing module capable of emitting a bar-shaped light beam to perform line-by-line light supplementing scanning on a target face, and first image characteristic information corresponding to a target area is obtained by controlling the light supplementing intensity of the target area and a non-target area in the target face in the light supplementing scanning process of the face, wherein the image definition of the first image characteristic information meets the requirement of lowest local definition; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
Optionally, as shown in fig. 7, the electronic device further includes: a first face image obtaining module 604 and a first fill light intensity adjusting module 605;
a first face image obtaining module 604, configured to perform progressive scanning on a target face according to a first fill-in light intensity by using the fill-in light module, and obtain a first face image, where the first fill-in light intensity is smaller than a preset intensity threshold; and (c) a second step of,
if the image definition of a target area in the first face image meets a first preset definition requirement, storing first image characteristic information corresponding to the target area;
a first supplementary lighting module obtaining module 605, configured to increase a supplementary lighting intensity of the supplementary lighting module for each scanning line according to a preset supplementary lighting intensity increase interval if the image definition of the target area in the first face image does not meet a first preset definition requirement; and determining the increased fill-in light intensity as a first fill-in light intensity used for obtaining the first face image for the next scanning.
Optionally, in fig. 7, the electronic device further includes: a second fill light intensity adjusting module 606, configured to:
determining at least one first scanning line corresponding to the target area and/or at least one second scanning line corresponding to the non-target area according to the corresponding relation between the predetermined face part identification and the scanning line identification;
and reducing the light supplement intensity of the light supplement module for the at least one first scanning line, and increasing the light supplement intensity of the light supplement module for the at least one second scanning line.
Optionally, in fig. 7, the electronic device further includes: a correspondence determining module 607, configured to:
scanning the target face line by line according to a third supplementary lighting intensity by using the supplementary lighting module to obtain a third face image, wherein the third supplementary lighting intensity is less than or equal to the first supplementary lighting intensity;
and determining the corresponding relation between each face part identifier and the scanning line identifier in the target face according to multiple frames of the third face images scanned and obtained in a preset time period.
According to the electronic equipment in the embodiment of the invention, a light supplementing module capable of emitting a bar-shaped light beam is used for performing line-by-line light supplementing scanning on a target face, in the process of the face light supplementing scanning, first image characteristic information corresponding to a target area is obtained firstly by controlling the light supplementing intensity of the target area and a non-target area in the target face, wherein the image definition of the first image characteristic information meets the requirement of the lowest local definition; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
The electronic device provided by the embodiment of the invention can realize each process in the embodiment corresponding to the face recognition method, and is not described again to avoid repetition.
It should be noted that the electronic device provided in the embodiment of the present invention and the face recognition method provided in the embodiment of the present invention are based on the same inventive concept, and therefore specific implementation of the embodiment may refer to implementation of the face recognition method, and repeated details are not described herein.
Based on the same technical concept, the embodiment of the present invention further provides an electronic device, which is configured to execute the face recognition method, where fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing the embodiments of the present invention, and the electronic device 100 shown in fig. 8 includes, but is not limited to: the system comprises a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 105, a user input unit 107, an interface unit 108, a memory 109, a processor 110, a power supply 111, a supplementary lighting module 112 and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 110 is configured to:
acquiring first image characteristic information corresponding to a target area in a target face, wherein the first image characteristic information is obtained by utilizing the light supplementing module to scan the target face line by line according to first light supplementing intensity and meets a first preset definition requirement;
scanning the target face line by line according to a second supplementary lighting intensity by using the supplementary lighting module to obtain a second face image, wherein the second supplementary lighting intensity is obtained by reducing the supplementary lighting intensity of the target area;
and if the image definition of the non-target area in the second face image meets a second preset definition requirement, generating a face recognition image based on the first image characteristic information and second image characteristic information corresponding to the non-target area, and executing face recognition operation based on the face recognition image.
The embodiment of the invention provides electronic equipment, which is characterized in that a light supplementing module capable of emitting strip-shaped light beams is utilized to carry out line-by-line light supplementing scanning on a target face, in the process of the light supplementing scanning on the face, first image characteristic information corresponding to a target area is obtained by controlling the light supplementing intensity of the target area and a non-target area in the target face, wherein the image definition of the first image characteristic information meets the requirement of the lowest local definition; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
Wherein, the processor 110 is further configured to:
scanning a target face line by line according to a first supplementary lighting intensity by using the supplementary lighting module to obtain a first face image, wherein the first supplementary lighting intensity is smaller than a preset intensity threshold value;
if the image definition of a target area in the first face image meets a first preset definition requirement, storing first image characteristic information corresponding to the target area;
if the image definition of the target area in the first face image does not meet a first preset definition requirement, increasing intervals according to preset supplementary lighting intensity, and increasing the supplementary lighting intensity of the supplementary lighting module for each scanning line; and determining the increased fill-in light intensity as a first fill-in light intensity used for obtaining the first face image for the next scanning.
Wherein, the processor 110 is further configured to:
if the image definition of the non-target area in the second face image does not meet a second preset definition requirement, adjusting the supplementary lighting intensity of each scanning line by the supplementary lighting module according to a preset supplementary lighting intensity adjusting mode;
and determining the adjusted light supplement intensity corresponding to each scanning line respectively as a second light supplement intensity for obtaining the second face image for the next scanning.
Wherein, the processor 110 is further configured to:
according to the mode that the light intensity of the target area is reduced and the light intensity of the non-target area is increased, the light supplement module adjusts the light supplement intensity of each scanning line, and the method comprises the following steps:
determining at least one first scanning line corresponding to the target area and/or at least one second scanning line corresponding to the non-target area according to the corresponding relation between the predetermined face part identification and the scanning line identification;
and reducing the light supplement intensity of the light supplement module for at least one first scanning line, and increasing the light supplement intensity of the light supplement module for at least one second scanning line.
Wherein, the processor 110 is further configured to:
utilize the light filling module to carry out line by line scanning according to first light filling intensity to target people face, before acquireing first people face image, still include:
scanning the target face line by line according to a third supplementary lighting intensity by using a supplementary lighting module to obtain a third face image, wherein the third supplementary lighting intensity is less than or equal to the first supplementary lighting intensity;
and determining the corresponding relation between each face part identifier and the scanning line identifier in the target face according to a plurality of frames of the third face images scanned and acquired within a preset time period.
In the electronic device 100 in the embodiment of the present invention, a light supplement module capable of emitting a bar-shaped light beam is used to perform line-by-line light supplement scanning on a target face, and in the process of the face light supplement scanning, first image characteristic information corresponding to a target area is obtained by controlling light supplement intensities of a target area and a non-target area in the target face, wherein an image definition of the first image characteristic information meets a minimum local definition requirement; and then the protection of the target area is realized by reducing the fill light intensity of the target area, when the definition of the image of the non-target area meets the requirement of face recognition, the face recognition is carried out based on the first image characteristic information and the second image characteristic information corresponding to the non-target area, so that the stimulation and damage to the target area in the face caused by the over-strong fill light intensity can be reduced, and the user experience is improved on the basis of ensuring the success rate of the face recognition.
It should be noted that the electronic device 100 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing embodiment of the face recognition method, and for avoiding repetition, details are not described here again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 8, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and an external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power source 111 (such as a battery) for supplying power to each component, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
The electronic device 100 may further include a light supplement module 112, where the light supplement module 112 is the above-mentioned device for emitting a bar-shaped light beam to scan a target face, the light supplement module 112 is logically connected to the processor, and when a light supplement requirement is detected, the processor controls the light supplement module to scan the target face.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the above-mentioned embodiment of the face recognition method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Further, corresponding to the face recognition method provided in the foregoing embodiment, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, and when the computer program is executed by the processor 110, the steps of the foregoing face recognition method embodiment are implemented, and the same technical effects can be achieved, and are not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this embodiment of the present invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this embodiment of the present invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the embodiments of the present invention have been described in connection with the drawings, the present invention is not limited to the above-described embodiments, which are intended to be illustrative rather than restrictive, and various modifications and changes may be made by those skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (7)

1. The face recognition method is applied to electronic equipment, wherein the electronic equipment is provided with a light supplement module capable of emitting bar-shaped light beams, and the method comprises the following steps:
acquiring first image characteristic information corresponding to a target area in a target face, wherein the first image characteristic information is obtained by utilizing the light supplementing module to scan the target face line by line according to first light supplementing intensity and meets a first preset definition requirement;
scanning the target face line by line according to a second supplementary lighting intensity by using the supplementary lighting module to obtain a second face image, wherein the second supplementary lighting intensity is obtained by reducing the supplementary lighting intensity of the target area;
if the image definition of a non-target area in the second face image meets a second preset definition requirement, generating a face recognition image based on the first image feature information and second image feature information corresponding to the non-target area, and executing face recognition operation based on the face recognition image;
after the step of utilizing the light supplement module to perform line-by-line scanning on the target face according to the second light supplement intensity to acquire the second face image, the method further includes:
if the image definition of the non-target area in the second face image does not meet a second preset definition requirement, determining at least one first scanning line corresponding to the target area and/or at least one second scanning line corresponding to the non-target area according to a predetermined corresponding relation between the face part identifier and the scanning line identifier;
reducing the fill-in light intensity of the fill-in light module for the at least one first scanning line, and increasing the fill-in light intensity of the fill-in light module for the at least one second scanning line;
and determining the adjusted light supplement intensity corresponding to each scanning line respectively as a second light supplement intensity for obtaining the second face image for the next scanning.
2. The method according to claim 1, before acquiring the first image feature information corresponding to the target region in the target human face, further comprising:
scanning a target face line by line according to a first supplementary lighting intensity by using the supplementary lighting module to obtain a first face image, wherein the first supplementary lighting intensity is smaller than a preset intensity threshold value;
if the image definition of a target area in the first face image meets a first preset definition requirement, storing first image characteristic information corresponding to the target area;
if the image definition of the target area in the first face image does not meet a first preset definition requirement, increasing intervals according to preset supplementary lighting intensity, and increasing the supplementary lighting intensity of the supplementary lighting module for each scanning line; and determining the increased fill-in light intensity as a first fill-in light intensity used for obtaining the first face image for the next scanning.
3. The method according to claim 2, before the performing line-by-line scanning on the target face with the fill-in light module according to the first fill-in light intensity to obtain the first face image, further comprising:
scanning the target face line by line according to a third supplementary lighting intensity by using the supplementary lighting module to obtain a third face image, wherein the third supplementary lighting intensity is less than or equal to the first supplementary lighting intensity;
and determining the corresponding relation between each face part identifier and the scanning line identifier in the target face according to multiple frames of the third face images scanned and obtained in a preset time period.
4. The utility model provides an electronic equipment, its characterized in that, electronic equipment is provided with the light filling module that can emit the bar light beam, electronic equipment includes:
the image feature acquisition module is used for acquiring first image feature information corresponding to a target area in a target face, wherein the first image feature information is obtained by utilizing the light supplement module to scan the target face line by line according to first light supplement intensity and meets a first preset definition requirement;
the second face image acquisition module is used for scanning the target face line by line according to a second supplementary lighting intensity by using the supplementary lighting module to acquire a second face image, wherein the second supplementary lighting intensity is obtained by reducing the supplementary lighting intensity of the target area;
the face recognition module is used for generating a face recognition image based on the first image characteristic information and second image characteristic information corresponding to the non-target area if the image definition of the non-target area in the second face image meets a second preset definition requirement, and executing face recognition operation based on the face recognition image;
the second supplementary lighting intensity adjusting module is used for:
if the image definition of the non-target area in the second face image does not meet a second preset definition requirement, determining at least one first scanning line corresponding to the target area and/or at least one second scanning line corresponding to the non-target area according to a predetermined corresponding relation between the face part identifier and the scanning line identifier;
reducing the fill-in light intensity of the fill-in light module for the at least one first scanning line, and increasing the fill-in light intensity of the fill-in light module for the at least one second scanning line;
and determining the adjusted light supplement intensity corresponding to each scanning line as a second light supplement intensity used for obtaining the second face image for the next scanning.
5. The electronic device of claim 4, further comprising: the device comprises a first face image acquisition module and a first fill-in light intensity adjustment module;
the first face image acquisition module is used for scanning a target face line by line according to a first supplementary lighting intensity by using the supplementary lighting module to acquire a first face image, wherein the first supplementary lighting intensity is smaller than a preset intensity threshold value; and the number of the first and second groups,
if the image definition of a target area in the first face image meets a first preset definition requirement, storing first image characteristic information corresponding to the target area;
the first supplemental lighting intensity adjusting module is configured to increase a supplemental lighting intensity of the supplemental lighting module for each scanning line according to a preset supplemental lighting intensity increase interval if the image definition of the target area in the first face image does not meet a first preset definition requirement; and determining the increased fill-in light intensity as a first fill-in light intensity used for obtaining the first face image for the next scanning.
6. The electronic device of claim 4, further comprising: a correspondence determination module to:
scanning the target face line by line according to a third supplementary lighting intensity by using the supplementary lighting module to obtain a third face image, wherein the third supplementary lighting intensity is less than or equal to the first supplementary lighting intensity;
and determining the corresponding relation between each face part identifier and the scanning line identifier in the target face according to a plurality of frames of the third face images scanned and acquired within a preset time period.
7. An electronic device, comprising: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the face recognition method according to any one of claims 1 to 3.
CN201910876865.7A 2019-09-17 2019-09-17 Face recognition method and electronic equipment Active CN110674718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910876865.7A CN110674718B (en) 2019-09-17 2019-09-17 Face recognition method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910876865.7A CN110674718B (en) 2019-09-17 2019-09-17 Face recognition method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110674718A CN110674718A (en) 2020-01-10
CN110674718B true CN110674718B (en) 2023-04-18

Family

ID=69078069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910876865.7A Active CN110674718B (en) 2019-09-17 2019-09-17 Face recognition method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110674718B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269978B (en) * 2020-10-22 2022-11-15 蚂蚁胜信(上海)信息技术有限公司 Image acquisition method and device
CN112863010B (en) * 2020-12-29 2022-08-05 宁波友好智能安防科技有限公司 Video image processing system of anti-theft lock
CN114531541B (en) * 2022-01-10 2023-06-02 荣耀终端有限公司 Control method and device for camera module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006085834A1 (en) * 2005-01-28 2006-08-17 Microvision, Inc. Method and apparatus for illuminating a field-of-view and capturing an image
CN1825161A (en) * 2003-01-08 2006-08-30 王青山 Zone multi-line scanning type laser projector
EP2682671A2 (en) * 2012-07-04 2014-01-08 Automotive Lighting Reutlingen GmbH Light module

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974010B (en) * 2013-02-04 2017-09-29 联想(北京)有限公司 The method and electronic equipment of a kind of light filling
CN104113688B (en) * 2014-06-26 2019-01-15 联想(北京)有限公司 A kind of image processing method and its electronic equipment
DE102016104383A1 (en) * 2016-03-10 2017-09-14 Osram Opto Semiconductors Gmbh Method and optoelectronic lighting device for illuminating a face of a person and camera and mobile terminal
CN106407950A (en) * 2016-09-30 2017-02-15 维沃移动通信有限公司 Facial information identification method and mobile terminal
CN107977924A (en) * 2016-10-21 2018-05-01 杭州海康威视数字技术股份有限公司 A kind of image processing method based on dual sensor imaging, system
CN107341466B (en) * 2017-06-30 2020-01-10 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium
CN207460349U (en) * 2017-12-04 2018-06-05 阿里巴巴集团控股有限公司 Image capture device and eyes image collecting device
CN108038444A (en) * 2017-12-11 2018-05-15 北京小米移动软件有限公司 Image-recognizing method and device
CN108229450A (en) * 2018-03-07 2018-06-29 北京上古视觉科技有限公司 The method and living creature characteristic recognition system of light filling are carried out based on screen display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825161A (en) * 2003-01-08 2006-08-30 王青山 Zone multi-line scanning type laser projector
WO2006085834A1 (en) * 2005-01-28 2006-08-17 Microvision, Inc. Method and apparatus for illuminating a field-of-view and capturing an image
EP2682671A2 (en) * 2012-07-04 2014-01-08 Automotive Lighting Reutlingen GmbH Light module

Also Published As

Publication number Publication date
CN110674718A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN108427876B (en) Fingerprint identification method and mobile terminal
CN107844730B (en) Graphic code scanning method and mobile terminal
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN110674718B (en) Face recognition method and electronic equipment
CN107645609B (en) Brightness adjusting method and mobile terminal
CN108429888B (en) Light supplementing method and mobile terminal
CN108427873B (en) Biological feature identification method and mobile terminal
CN107832689B (en) Fingerprint identification method and mobile terminal
CN110969981A (en) Screen display parameter adjusting method and electronic equipment
CN108040209B (en) Shooting method and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN108681413B (en) Control method of display module and mobile terminal
CN110532820B (en) Graphic code display and scanning method and terminal
CN110784915B (en) Power consumption control method of electronic equipment and electronic equipment
CN108460599B (en) Mobile payment method and mobile terminal
CN109727212B (en) Image processing method and mobile terminal
CN109379539A (en) A kind of screen light compensation method and terminal
CN108551525B (en) State determination method of movement track and mobile terminal
CN108984145B (en) Brightness adjusting method and electronic equipment
CN109343811B (en) Display adjustment method and terminal equipment
CN108989710B (en) Infrared supplementary lighting module failure detection method, terminal device and computer readable storage medium
CN113194280B (en) Security level generation method and device for security area, storage device and electronic device
CN108196663B (en) Face recognition method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN111261128B (en) Screen brightness adjusting method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant