CN113449572A - Face unlocking method and system in dim light scene, storage medium and computer equipment thereof - Google Patents

Face unlocking method and system in dim light scene, storage medium and computer equipment thereof Download PDF

Info

Publication number
CN113449572A
CN113449572A CN202010235020.2A CN202010235020A CN113449572A CN 113449572 A CN113449572 A CN 113449572A CN 202010235020 A CN202010235020 A CN 202010235020A CN 113449572 A CN113449572 A CN 113449572A
Authority
CN
China
Prior art keywords
face
dim light
image information
unlocking
image
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.)
Withdrawn
Application number
CN202010235020.2A
Other languages
Chinese (zh)
Inventor
辛晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Ousiqi Software Co ltd
Original Assignee
Xi'an Ousiqi Software 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 Xi'an Ousiqi Software Co ltd filed Critical Xi'an Ousiqi Software Co ltd
Priority to CN202010235020.2A priority Critical patent/CN113449572A/en
Publication of CN113449572A publication Critical patent/CN113449572A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/75Circuitry for compensating brightness variation in the scene by influencing optical camera components

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention is suitable for the technical field of face unlocking of intelligent terminals, and provides a face unlocking method for a dim light scene, which comprises the following steps: acquiring image information shot by a camera, and judging whether the image information meets a dim light condition or not; if the dim light condition is met, acquiring at least two continuous frames of IR images; enhancing the IR image to obtain an IR face image, and comparing a face with the IR face image to realize unlocking; and if the image information does not accord with the dim light condition, comparing the human face according to the image information to realize unlocking. A face unlocking system for a dim light scene, a storage medium for storing a computer program for executing the method and a computer device for implementing the method are also provided. Therefore, the invention can fully utilize the advantage of good dark light sensitivity of the IR camera to solve the problem of face unlocking failure in a dark light scene; the cost is low, the safety is realized, and the experience is good.

Description

Face unlocking method and system in dim light scene, storage medium and computer equipment thereof
Technical Field
The invention relates to the technical field of face unlocking of intelligent terminals, in particular to a face unlocking method and system in a dim light scene, a storage medium and computer equipment thereof.
Background
The face unlocking of the front camera of the mobile phone requires collecting enough pixel information to carry out face comparison; in the prior art, a scheme of a single color camera and a screen for supplementing light or structured light is adopted. The disadvantages of the prior art are as follows: 1, a single color camera and a screen are used for supplementing light, so that the eyes are dazzled under dark light, and the experience is poor; 2, structured light solutions are costly.
As can be seen, the conventional method has many problems in practical use, and therefore, needs to be improved.
Disclosure of Invention
In view of the above drawbacks, an object of the present invention is to provide a method, a system, a storage medium, and a computer device for unlocking a face in a dim light scene, which can solve the problem of face unlocking failure in the dim light scene by fully utilizing the advantage of good dim light sensitivity of an IR (Infrared) camera; the cost is low, the safety is realized, and the experience is good.
In order to achieve the above object, the present invention provides a face unlocking method in a dim light scene, comprising the steps of:
acquiring image information shot by a camera, and judging whether the image information meets a dim light condition or not;
if the dim light condition is met, acquiring at least two continuous frames of IR images;
performing fusion enhancement on the IR image to obtain an IR face image, and performing face comparison on the IR face image to realize unlocking;
and if the image information does not accord with the dim light condition, comparing the human face according to the image information to realize unlocking.
According to the face unlocking method of the dim light scene, the steps of acquiring the image information shot by the camera and judging whether the image information meets the dim light condition or not comprise:
acquiring the image information shot by the color camera in real time or at regular time;
and judging whether the brightness in the image information is greater than a preset brightness threshold value, if not, the image information accords with the dim light condition.
Further, the step of obtaining the image information captured by the camera and determining whether the image information meets the dim light condition further includes:
and if the dark light condition is met, closing the color camera.
According to the face unlocking method of the dim light scene, if the dim light condition is met, the step of acquiring at least two continuous frames of IR images comprises the following steps:
and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames.
Still provide the people's face unblock system of dim light scene, including:
the judging unit is used for acquiring image information shot by the camera and judging whether the image information meets the dim light condition or not;
the IR image acquisition unit is used for acquiring at least two continuous frames of IR images if the dim light condition is met;
the fusion and infrared comparison unit is used for performing fusion enhancement on the IR images to obtain IR face images, and the IR face images are compared by faces to realize unlocking;
and the face comparison unit is used for comparing the face according to the image information to realize unlocking if the dark light condition is not met.
The judging unit includes:
the shooting subunit is used for acquiring the image information shot by the color camera in real time or at regular time;
and the judging subunit is used for judging whether the brightness in the image information is greater than a preset brightness threshold value, and if not, the image information meets the dim light condition.
Further, the method also comprises the following steps:
and the camera shooting closing unit is used for closing the color camera if the dark light condition is met.
The IR map acquisition unit is specifically configured to:
and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames.
In addition, a storage medium and a computer device are provided, wherein the storage medium is used for storing a computer program for executing the face unlocking method of the dim light scene.
The computer device comprises a storage medium, a processor and a computer program which is stored on the storage medium and can run on the processor, wherein the processor executes the computer program to realize the face unlocking method of the dim light scene.
The face unlocking method for the dim light scene fully utilizes the advantage of good dim light sensitivity of the IR camera to solve the problem of face unlocking failure in the dim light scene; the scheme does not depend on the requirement of a high-resolution IR camera and has controllable cost. The scheme does not increase infrared led power, and is safe and good in experience.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for unlocking a human face in a dim light scene according to a preferred embodiment of the present invention;
fig. 2 is a block diagram of a structure of a face unlocking system in a dim light scene according to a preferred embodiment of the present invention;
fig. 3 is a schematic block diagram of a specific flow of a face unlocking method in a dim light scene according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that references in the specification to "one embodiment," "an example embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not intended to refer to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Moreover, where certain terms are used throughout the description and following claims to refer to particular components or features, those skilled in the art will understand that manufacturers may refer to a component or feature by different names or terms. This specification and the claims that follow do not intend to distinguish between components or features that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. In addition, the term "connected" as used herein includes any direct and indirect electrical connection. Indirect electrical connection means include connection by other means.
Fig. 2 is a schematic block diagram illustrating a structure of a face unlocking system 100 in a dark scene according to a preferred embodiment of the present invention, which includes a determining unit 10, an IR image obtaining unit 20, a fusion and infrared comparison unit 30, and a face comparison unit 40, where:
the judging unit 10 is configured to obtain image information captured by a camera, and judge whether the image information meets a dim light condition; the IR map acquiring unit 20 is configured to acquire at least two consecutive frames of IR maps if the dim light condition is met; the fusion and infrared comparison unit 30 is used for fusion enhancing the IR image to obtain an IR face image, and the face compares the IR face image to realize unlocking; the face comparison unit 40 is configured to perform face comparison according to the image information to unlock the mobile terminal if the dark light condition is not met. That is, in the present embodiment, it is determined whether the captured image information satisfies the dim light condition, that is, it is determined whether the captured image is captured in a dim light environment, if so, more than two frames of IR images are further captured, the IR images of more than two consecutive frames are fused and enhanced, and finally, the fused IR images are subjected to face comparison to achieve unlocking; if the shot image does not meet the dim light condition, the face comparison is directly carried out according to the obtained image information to realize unlocking; the advantage of good dark light sensitivity of the IR camera is fully utilized to solve the problem of face unlocking failure in a dark light scene; the cost is low, the safety is realized, and the experience is good.
Preferably, the determining unit 10 includes an ingesting subunit and a determining subunit, wherein: the shooting subunit is used for acquiring the image information shot by the color camera in real time or at regular time; the judging subunit is configured to judge whether the brightness in the image information is greater than a preset brightness threshold, and if not, the image information meets the dim light condition. Specifically, the brightness information of the surrounding environment is determined by detecting the image information recorded in the lens frame of the color camera, and preferably, a brightness threshold is set, and by comparing the detected brightness recorded in the lens frame of the color camera with the brightness threshold, if the brightness is greater than the brightness threshold, it is determined that the image information does not conform to the dim condition, and if the brightness is less than the brightness threshold, it is determined that the image information conforms to the dim condition. The image information of the present embodiment is preferably a color image taken by a color camera.
Further, in another embodiment, the apparatus further includes a camera shutdown unit, and the camera shutdown unit is configured to shut down the color camera if the dark light condition is met. When the surrounding environment is detected and judged to be in the dim light condition, the color camera is closed through the camera closing unit, so that power consumption waste is avoided, and the running performance is improved.
The IR map acquiring unit 20 of this embodiment is specifically configured to: and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames. The intelligent terminal that this embodiment carried specifically including colored camera and infrared camera, preferred preceding arranging in on the intelligent terminal is gone up people's face identification unblock, is in the dim light condition when outside ambient brightness, then closes colored camera calls simultaneously infrared camera picks up two at least continuous frames of IR pictures, prefers to pick up many IR pictures in succession so that further fuse the reinforcing, promotes the image effect to improve the speed of people's face ratio unblock.
Preferably, the present embodiment further includes an extracting and registering unit, where the extracting and registering unit is configured to extract feature points in the IR map, and perform feature point registration processing on all the IR maps. The feature points are extracted from each IR image respectively, and then the feature points of all the IR images are subjected to registration processing, so that the subsequent fusion enhancement processing of all the IR images is facilitated.
In this embodiment, the fusion and infrared comparison unit 30 includes a fusion enhancer unit and an infrared human face comparison subunit, where:
the fusion enhancer unit is used for fusing at least two IR images according to the registration processing of the IR images so as to obtain the IR face image with enhanced image effect; a plurality of IR images are fused to form an enhanced IR face image so as to facilitate subsequent face comparison; and the infrared face comparison sub-unit is used for carrying out face comparison on the IR face image so as to realize unlocking. Under the dark light environment, the accuracy of infrared face comparison is higher, and unblock efficiency is faster.
Furthermore, the infrared human face comparison subunit further comprises a first human face comparison module and a first judgment unlocking module; wherein:
the first face comparison module is used for comparing the IR face image with first face information stored in advance; the first unlocking judgment module is used for judging whether the matching degree of the IR face image and the first face information reaches a preset first matching threshold value or not, and unlocking if the matching degree of the IR face image and the first face information reaches the preset first matching threshold value. The first face information is unlocking comparison information prestored by a user, the IR face images obtained after fusion and increase are used for being compared with the first face information, whether the matching degree between the first face information and the IR face images reaches a preset matching threshold value or not is detected and judged, and unlocking can be carried out only when the matching degree between the first face information and the IR face images reaches the preset matching threshold value.
Preferably, the face comparison unit further comprises a second face comparison module and a second judgment unlocking module, wherein:
the second face comparison module is used for comparing the image information with second face information stored in advance; and the second judgment unlocking module is used for judging whether the matching degree of the image information and the second face information reaches a preset second matching threshold value or not, and unlocking if the matching degree of the image information and the second face information reaches the preset second matching threshold value. The second face information is unlocking comparison information prestored by a user, the IR face images obtained after fusion and addition are used for being compared with the second face information, whether the matching degree between the IR face images and the second face information reaches a preset matching threshold value or not is detected and judged, and unlocking can be carried out only when the matching degree between the IR face images and the second face information reaches the preset matching threshold value.
Fig. 1 is a flowchart illustrating steps of a method for unlocking a human face in a dim light scene according to a preferred embodiment of the present invention, including the steps of:
s101: acquiring image information shot by a camera, and judging whether the image information meets a dim light condition or not; whether the shot image is shot in a dark light environment is judged by judging whether the shot image information meets a dark light condition.
S102: if the dim light condition is met, acquiring at least two continuous frames of IR images; when the detection judges that the image is in a dark light condition, continuous multi-frame IR images are taken.
S103: and performing fusion enhancement on the IR images to obtain IR face images, and performing face comparison on the IR face images to realize unlocking. And performing fusion enhancement on the IR images of more than two continuous frames, and finally performing face comparison on the fused IR images to realize unlocking.
S104: and if the image information does not accord with the dim light condition, comparing the human face according to the image information to realize unlocking. If the shot image does not meet the dim light condition, the face comparison is directly carried out according to the obtained image information to realize unlocking; the advantage of good dark light sensitivity of the IR camera is fully utilized to solve the problem of face unlocking failure in a dark light scene; the cost is low, the safety is realized, and the experience is good.
The step S101 includes:
acquiring the image information shot by the color camera in real time or at regular time;
and judging whether the brightness in the image information is greater than a preset brightness threshold value, if not, the image information accords with the dim light condition. The image information may be a dynamic recorded image or a static captured image, and a brightness threshold is preferably set, and by comparing the detected brightness of the color camera recorded in the lens frame with the brightness threshold, if the detected brightness is greater than the brightness threshold, it is determined that the image information does not meet the dim light condition, and if the detected brightness is less than the brightness threshold, it is determined that the image information meets the dim light condition. The image information of the present embodiment is preferably a color image taken by a color camera.
Further, after the step S102, the method further includes:
and if the dark light condition is met, closing the color camera. When the surrounding environment is detected and judged to be in the dim light condition, the color camera is closed through the camera closing unit, so that power consumption waste is avoided, and the running performance is improved.
The step S102 specifically includes:
and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames. When the external ambient brightness is in a dim light condition, the color camera is closed, the infrared camera is called to shoot at least two frames of continuous IR images, and preferably multiple IR images are shot continuously so as to further perform fusion enhancement, improve the image effect and improve the speed of comparing and unlocking the human face.
The step S103 further includes:
and extracting characteristic points in the IR image, and carrying out characteristic point registration processing on all the IR images. The feature points are extracted from each IR image respectively, and then the feature points of all the IR images are subjected to registration processing, so that the subsequent fusion enhancement processing of all the IR images is facilitated.
The step S103 includes:
fusing at least two IR images according to the registration processing of the IR images to obtain the IR face image with enhanced image effect;
and carrying out face comparison on the IR face image to realize unlocking.
Preferably, the step S103 further includes:
performing face comparison on the IR face image and first preset stored face information;
and judging whether the matching degree of the IR face image and the first face information reaches a preset first matching threshold value or not, and unlocking if the matching degree of the IR face image and the first face information reaches the preset first matching threshold value. The first face information is unlocking comparison information prestored by a user, the IR face images obtained after fusion and increase are used for being compared with the first face information, whether the matching degree between the first face information and the IR face images reaches a preset matching threshold value or not is detected and judged, and unlocking can be carried out only when the matching degree between the first face information and the IR face images reaches the preset matching threshold value.
More preferably, the step S104 further includes:
comparing the image information with second preset stored face information;
and judging whether the matching degree of the image information and the second face information reaches a preset second matching threshold value, and unlocking if the matching degree of the image information and the second face information reaches the preset second matching threshold value. The second face information is unlocking comparison information prestored by a user, the IR face images obtained after fusion and addition are used for being compared with the second face information, whether the matching degree between the IR face images and the second face information reaches a preset matching threshold value or not is detected and judged, and unlocking can be carried out only when the matching degree between the IR face images and the second face information reaches the preset matching threshold value.
Fig. 3 shows a flow of specific steps of the method of the present invention, which includes the following steps:
1. and the front color camera acquires image information, judges whether the image information is in a dark light condition, if not, the step of color face comparison is carried out, and if the image information is in a dark light scene, the step of calling the IR camera to continuously shoot a plurality of frames is carried out.
2. And carrying out feature point registration on the multi-frame IR image.
3. And fusing the multi-frame IR images according to the registration to achieve the effect of image enhancement.
4. And carrying out face comparison on the enhanced IR image.
The method is preferably suitable for intelligent mobile terminals such as mobile phones, and the use experience of users is guaranteed while the cost is reduced through the dim light unlocking scheme of the front color camera and the IR camera of the mobile phone.
The invention also provides a storage medium for storing a computer program of the face unlocking method of the dim light scene shown in fig. 1. Such as computer program instructions, which when executed by a computer, may invoke or otherwise provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on fixed or removable storage media and/or transmitted via a data stream over a broadcast or other signal-bearing medium and/or stored on a storage medium of a computer device operating in accordance with the program instructions. Here, according to an embodiment of the present application, the computer device of the face unlocking system for a dim light scene preferably includes a storage medium for storing a computer program and a processor for executing the computer program, wherein when the computer program is executed by the processor, the computer device is triggered to execute the method and/or the technical solution based on the foregoing embodiments.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
The method according to the invention can be implemented on a computer as a computer-implemented method, or in dedicated hardware, or in a combination of both. Executable code for the method according to the invention or parts thereof may be stored on a computer program product. Examples of computer program products include memory devices, optical storage devices, integrated circuits, servers, online software, and so forth. Preferably, the computer program product comprises non-transitory program code means stored on a computer readable medium for performing the method according to the invention when said program product is executed on a computer.
In a preferred embodiment, the computer program comprises computer program code means adapted to perform all the steps of the method according to the invention when the computer program is run on a computer. Preferably, the computer program is embodied on a computer readable medium.
In summary, the method for unlocking the face in the dim light scene obtains the image information captured by the camera and judges whether the image information meets the dim light condition; if the dim light condition is met, acquiring at least two continuous frames of IR images; enhancing the IR image to obtain an IR face image, and comparing a face with the IR face image to realize unlocking; and if the image information does not accord with the dim light condition, comparing the human face according to the image information to realize unlocking. A face unlocking system for a dim light scene, a storage medium for storing a computer program for executing the method and a computer device for implementing the method are also provided. The advantage of good dark light sensitivity of the IR camera is fully utilized to solve the problem of face unlocking failure in a dark light scene; the scheme does not depend on the requirement of a high-resolution IR camera and has controllable cost. The scheme does not increase infrared led power, and is safe and good in experience.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
A1, a method for unlocking a human face in a dim light scene, comprising the steps of:
acquiring image information shot by a camera, and judging whether the image information meets a dim light condition or not;
if the dim light condition is met, acquiring at least two continuous frames of IR images;
performing fusion enhancement on the IR image to obtain an IR face image, and performing face comparison on the IR face image to realize unlocking;
and if the image information does not accord with the dim light condition, comparing the human face according to the image information to realize unlocking.
A2, according to the method for unlocking the human face in the dim light scene A1, the step of acquiring the image information shot by the camera and judging whether the image information meets the dim light condition comprises the following steps:
acquiring the image information shot by the color camera in real time or at regular time;
and judging whether the brightness in the image information is greater than a preset brightness threshold value, if not, the image information accords with the dim light condition.
A3, according to the method for unlocking a human face in a dim light scene, disclosed in the A2, the step of acquiring image information captured by a camera and judging whether the image information meets the dim light condition further comprises the following steps:
and if the dark light condition is met, closing the color camera.
A4, the method for unlocking a human face in a dim light scene according to the method A1, wherein if the dim light condition is met, the step of acquiring at least two continuous frames of IR images comprises:
and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames.
A5, the method for unlocking a human face in a dim light scene according to A1, wherein the step of fusion enhancement of the IR image to obtain an IR human face image, and the step of comparing the human face with the IR human face image to realize unlocking further comprises:
and extracting characteristic points in the IR image, and carrying out characteristic point registration processing on all the IR images.
A6, the method for unlocking a human face in a dim light scene according to the A5, wherein the step of fusing and enhancing the IR image to obtain an IR human face image, and the step of comparing the human face with the IR human face image to realize unlocking comprises the following steps:
fusing at least two IR images according to the registration processing of the IR images to obtain the IR face image with enhanced image effect;
and carrying out face comparison on the IR face image to realize unlocking.
A7, the method for unlocking a human face in a dim-light scene according to the A1, wherein the step of fusing and enhancing the IR image to obtain an IR human face image, and the step of comparing the human face with the IR human face image to realize unlocking further comprises:
performing face comparison on the IR face image and first preset stored face information;
and judging whether the matching degree of the IR face image and the first face information reaches a preset first matching threshold value or not, and unlocking if the matching degree of the IR face image and the first face information reaches the preset first matching threshold value.
A8, according to the method for unlocking a human face in a dim light scene A1, if the dim light condition is not met, the step of comparing the human face according to the image information to realize unlocking further comprises:
comparing the image information with second preset stored face information;
and judging whether the matching degree of the image information and the second face information reaches a preset second matching threshold value, and unlocking if the matching degree of the image information and the second face information reaches the preset second matching threshold value.
B9, a face unlocking system for dim light scenes, comprising:
the judging unit is used for acquiring image information shot by the camera and judging whether the image information meets the dim light condition or not;
the IR image acquisition unit is used for acquiring at least two continuous frames of IR images if the dim light condition is met;
the fusion and infrared comparison unit is used for performing fusion enhancement on the IR images to obtain IR face images, and the IR face images are compared by faces to realize unlocking;
and the face comparison unit is used for comparing the face according to the image information to realize unlocking if the dark light condition is not met.
B10, the face unlocking system according to the dim light scene of B9, the judging unit includes:
the shooting subunit is used for acquiring the image information shot by the color camera in real time or at regular time;
and the judging subunit is used for judging whether the brightness in the image information is greater than a preset brightness threshold value, and if not, the image information meets the dim light condition.
B11, the system for unlocking a human face in a dim light scene according to B10, further comprising:
and the camera shooting closing unit is used for closing the color camera if the dark light condition is met.
B12, according to the dark scene human face unlocking system of B9, the IR picture acquisition unit is specifically used for:
and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames.
B13, the system for unlocking a human face in a dim light scene according to B9, further comprising:
and the extraction and registration unit is used for extracting the characteristic points in the IR image and carrying out characteristic point registration processing on all the IR images.
B14, the face unlocking system for the dim light scene according to B13, wherein the fusion and infrared comparison unit comprises:
a fusion enhancer unit for fusing at least two IR images according to the registration processing of the IR images to obtain the IR face image with enhanced image effect;
and the infrared face comparison subunit is used for carrying out face comparison on the IR face image so as to realize unlocking.
B15, the face unlocking system for dim light scene according to B9, the infrared face ratio sub-unit further comprises:
the first face comparison module is used for comparing the IR face image with the preset and stored first face information;
and the first unlocking judgment module is used for judging whether the matching degree of the IR face image and the first face information reaches a preset first matching threshold value or not, and unlocking if the matching degree of the IR face image and the first face information reaches the preset first matching threshold value.
B16, the face unlocking system for dim light scene according to B9, the face alignment unit further comprising:
the second face comparison module is used for comparing the image information with second face information which is stored in advance;
and the second judgment unlocking module is used for judging whether the matching degree of the image information and the second face information reaches a preset second matching threshold value or not, and unlocking if the matching degree of the image information and the second face information reaches the preset second matching threshold value.
C17, a storage medium storing a computer program for executing the method for unlocking a human face for a dim light scene according to any one of claims a1 to a 8.
D18, a computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, the processor implementing the method for unlocking a face of a dim light scene according to any one of claims a1 to a8 when executing the computer program.

Claims (10)

1. A face unlocking method for a dim light scene is characterized by comprising the following steps:
acquiring image information shot by a camera, and judging whether the image information meets a dim light condition or not;
if the dim light condition is met, acquiring at least two continuous frames of IR images;
performing fusion enhancement on the IR image to obtain an IR face image, and performing face comparison on the IR face image to realize unlocking;
and if the image information does not accord with the dim light condition, comparing the human face according to the image information to realize unlocking.
2. The method for unlocking the face in the dim light scene according to claim 1, wherein the step of acquiring the image information captured by the camera and determining whether the image information meets the dim light condition comprises:
acquiring the image information shot by the color camera in real time or at regular time;
and judging whether the brightness in the image information is greater than a preset brightness threshold value, if not, the image information accords with the dim light condition.
3. The method for unlocking a face in a dim light scene according to claim 2, wherein the step of obtaining image information captured by a camera and determining whether the image information meets a dim light condition further comprises:
and if the dark light condition is met, closing the color camera.
4. The method for unlocking a human face in a dim light scene according to claim 1, wherein the step of acquiring at least two consecutive frames of IR images if the dim light condition is met comprises:
and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames.
5. A face unlocking system for a dim light scene is characterized by comprising:
the judging unit is used for acquiring image information shot by the camera and judging whether the image information meets the dim light condition or not;
the IR image acquisition unit is used for acquiring at least two continuous frames of IR images if the dim light condition is met;
the fusion and infrared comparison unit is used for performing fusion enhancement on the IR images to obtain IR face images, and the IR face images are compared by faces to realize unlocking;
and the face comparison unit is used for comparing the face according to the image information to realize unlocking if the dark light condition is not met.
6. The system for unlocking a human face in a dim light scene according to claim 5, wherein the judging unit comprises:
the shooting subunit is used for acquiring the image information shot by the color camera in real time or at regular time;
and the judging subunit is used for judging whether the brightness in the image information is greater than a preset brightness threshold value, and if not, the image information meets the dim light condition.
7. The system for unlocking a face of a dim light scene according to claim 6, further comprising:
and the camera shooting closing unit is used for closing the color camera if the dark light condition is met.
8. The system according to claim 5, wherein the IR image capturing unit is specifically configured to:
and if the dark light condition is met, calling an infrared camera to continuously shoot the IR images of at least two frames.
9. A storage medium storing a computer program for executing the method for unlocking a human face in a dim light scene according to any one of claims 1 to 4.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method for unlocking a face of a dim light scene according to any one of claims 1 to 4 when executing the computer program.
CN202010235020.2A 2020-03-27 2020-03-27 Face unlocking method and system in dim light scene, storage medium and computer equipment thereof Withdrawn CN113449572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010235020.2A CN113449572A (en) 2020-03-27 2020-03-27 Face unlocking method and system in dim light scene, storage medium and computer equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010235020.2A CN113449572A (en) 2020-03-27 2020-03-27 Face unlocking method and system in dim light scene, storage medium and computer equipment thereof

Publications (1)

Publication Number Publication Date
CN113449572A true CN113449572A (en) 2021-09-28

Family

ID=77808174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010235020.2A Withdrawn CN113449572A (en) 2020-03-27 2020-03-27 Face unlocking method and system in dim light scene, storage medium and computer equipment thereof

Country Status (1)

Country Link
CN (1) CN113449572A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334234A (en) * 2022-07-01 2022-11-11 北京讯通安添通讯科技有限公司 Method and device for supplementing image information by taking pictures in dark environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334234A (en) * 2022-07-01 2022-11-11 北京讯通安添通讯科技有限公司 Method and device for supplementing image information by taking pictures in dark environment
CN115334234B (en) * 2022-07-01 2024-03-29 北京讯通安添通讯科技有限公司 Method and device for taking photo supplementary image information in dim light environment

Similar Documents

Publication Publication Date Title
US7580587B2 (en) Device and method for correcting image including person area
EP3719694A1 (en) Neural network model-based human face living body detection
US20200356742A1 (en) Image recognition method and apparatus
US9930525B2 (en) Method and system for eyeprint recognition unlocking based on environment-filtering frames
CN107172354B (en) Video processing method and device, electronic equipment and storage medium
CN107040726B (en) Double-camera synchronous exposure method and system
CN116582741A (en) Shooting method and equipment
CN108513069B (en) Image processing method, image processing device, storage medium and electronic equipment
EP3823267B1 (en) Static video recognition
KR20100055946A (en) Method and apparatus for generating thumbnail of moving picture
JP3490910B2 (en) Face area detection device
CN109089041A (en) Recognition methods, device, electronic equipment and the storage medium of photographed scene
CN116320771B (en) Shooting method and electronic equipment
CN112422798A (en) Photographing method and device, electronic equipment and storage medium
CN106204743B (en) Control method and device for augmented reality function and mobile terminal
CN111582118A (en) Face recognition method and device
CN109961403B (en) Photo adjusting method and device, storage medium and electronic equipment
CN109977846B (en) Living body detection method and system based on near-infrared monocular photography
CN108259767B (en) Image processing method, image processing device, storage medium and electronic equipment
CN113449572A (en) Face unlocking method and system in dim light scene, storage medium and computer equipment thereof
CN101859370A (en) Imaging system and imaging method thereof
CN108492266B (en) Image processing method, image processing device, storage medium and electronic equipment
CN106650583A (en) Face detection method, face detection device and terminal equipment
CN107491718A (en) The method that human hand Face Detection is carried out under different lightness environment
CN110110742B (en) Multi-feature fusion method and device, electronic equipment and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210928

WW01 Invention patent application withdrawn after publication