CN107918768B - Optical fingerprint identification method and device and electronic equipment - Google Patents

Optical fingerprint identification method and device and electronic equipment Download PDF

Info

Publication number
CN107918768B
CN107918768B CN201711215306.9A CN201711215306A CN107918768B CN 107918768 B CN107918768 B CN 107918768B CN 201711215306 A CN201711215306 A CN 201711215306A CN 107918768 B CN107918768 B CN 107918768B
Authority
CN
China
Prior art keywords
illumination intensity
optical fingerprint
fingerprint identification
intensity
preset
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
CN201711215306.9A
Other languages
Chinese (zh)
Other versions
CN107918768A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711215306.9A priority Critical patent/CN107918768B/en
Publication of CN107918768A publication Critical patent/CN107918768A/en
Application granted granted Critical
Publication of CN107918768B publication Critical patent/CN107918768B/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/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • 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/12Fingerprints or palmprints
    • G06V40/1341Sensing with light passing through the finger

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The application provides an optical fingerprint identification method, an optical fingerprint identification device and electronic equipment, wherein the method comprises the following steps: detecting a first illumination intensity of the current environment, and comparing the first illumination intensity with a preset first threshold value; if the comparison result shows that the first illumination intensity is greater than the first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification; adjust the reference intensity of predetermineeing of light source in the optics fingerprint module to second illumination intensity and carry out optics fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.

Description

Optical fingerprint identification method and device and electronic equipment
Technical Field
The present application relates to the field of fingerprint identification technologies, and in particular, to an optical fingerprint identification method and apparatus, and an electronic device.
Background
The optical fingerprint technology generally adopts a terminal equipment screen as a luminous main body, the terminal equipment screen irradiates fingerprints through a light path, returned light rays return to an image sensor below the screen through the screen, and the terminal equipment analyzes and compares the returned images with a database to finally identify the fingerprints.
However, the successful application of optical fingerprints is closely related to the action of light, and the difficulty of optical fingerprint identification is high particularly in a strong light environment, especially under the direct sunlight.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the application provides an optical fingerprint identification method, an optical fingerprint identification device and electronic equipment, which can solve the problem that the fingerprint identification is affected due to the inconsistency of the obtained fingerprint images when the illumination intensity is changed in different environments.
The embodiment of the first aspect of the present application provides an optical fingerprint identification method, including: detecting a first illumination intensity of a current environment, and comparing the first illumination intensity with a preset first threshold value; if the first illumination intensity is larger than the first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification; and adjusting the preset reference intensity of the light source in the optical fingerprint module to be the second illumination intensity for optical fingerprint identification.
According to the optical fingerprint identification method provided by the embodiment of the first aspect of the application, the first illumination intensity of the current environment is detected, the first illumination intensity is compared with the preset first threshold value, and when the first illumination intensity is larger than the first threshold value, the first illumination intensity is calculated according to the preset first adjustment algorithm to obtain the second illumination intensity for optical fingerprint identification, so that the preset reference intensity of the light source in the optical fingerprint module is adjusted to the second illumination intensity for optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
The optical fingerprint identification device provided by the embodiment of the second aspect of the application comprises: the detection and comparison module is used for detecting a first illumination intensity of the current environment and comparing the first illumination intensity with a preset first threshold value; the first calculation acquisition module is used for calculating the first illumination intensity according to a preset first adjustment algorithm to acquire a second illumination intensity for optical fingerprint identification if the first illumination intensity is larger than the first threshold value through comparison; the first adjusting module is used for adjusting the preset reference intensity of the light source in the optical fingerprint module into the second illumination intensity to perform optical fingerprint identification.
The optical fingerprint identification device that this application second aspect embodiment provided, through the first illumination intensity that detects current environment to compare first illumination intensity with first threshold value of predetermineeing, calculate the second illumination intensity that obtains carrying out optical fingerprint identification according to first adjustment algorithm of predetermineeing when knowing first illumination intensity is greater than first threshold value relatively, thereby adjust the predetermined reference intensity of light source in the optical fingerprint module for second illumination intensity and carry out optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
A third aspect of the present application provides a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a terminal, enable the terminal to perform an optical fingerprinting method, the method including: detecting a first illumination intensity of a current environment, and comparing the first illumination intensity with a preset first threshold value; if the first illumination intensity is larger than a first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification; and adjusting the preset reference intensity of the light source in the optical fingerprint module to be the second illumination intensity for optical fingerprint identification.
The non-transitory computer readable storage medium provided in the embodiment of the third aspect of the present application, through detecting a first illumination intensity of a current environment, and comparing the first illumination intensity with a preset first threshold, when it is known that the first illumination intensity is greater than the first threshold through comparison, a second illumination intensity for performing optical fingerprint identification is obtained by calculating the first illumination intensity according to a preset first adjustment algorithm, so as to adjust a preset reference intensity of a light source in an optical fingerprint module to the second illumination intensity for performing optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
The fourth aspect of the present application also provides an electronic device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and the instructions, when executed by the processor, cause the processor to execute an optical fingerprint identification method, the method including: detecting a first illumination intensity of a current environment, and comparing the first illumination intensity with a preset first threshold value; if the first illumination intensity is larger than the first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification; and adjusting the preset reference intensity of the light source in the optical fingerprint module to be the second illumination intensity for optical fingerprint identification.
The electronic equipment that this application fourth aspect embodiment provided detects the first illumination intensity of current environment to compare first illumination intensity with first threshold value of predetermineeing, calculate according to first preset adjustment algorithm when learning that first illumination intensity is greater than first threshold value and acquire the second illumination intensity that carries out optical fingerprint identification, thereby adjust the reference intensity of predetermineeing of light source in the optical fingerprint module for second illumination intensity and carry out optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of an optical fingerprint identification method according to an embodiment of the present application;
FIG. 2 is an exemplary diagram of optical fingerprinting in accordance with an embodiment of the present application;
FIG. 3 is a flowchart illustrating an optical fingerprint recognition method according to another embodiment of the present application;
FIG. 4 is a schematic structural diagram of an optical fingerprint recognition apparatus according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an optical fingerprint identification apparatus according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an optical fingerprint identification device according to yet another embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating an optical fingerprint identification method according to an embodiment of the present application.
The embodiment of the application is applied to the electronic equipment who disposes the optics fingerprint module.
The execution main body in the embodiment of the present application may be, for example, a Central Processing Unit (CPU) of the electronic device in terms of hardware, and may be, for example, an MMI automation test service program in the electronic device in terms of software, which is not limited to this.
Specifically, referring to fig. 2, the optical fingerprint identification irradiates the fingerprint through the light path as a light-emitting main body through the light source in the fingerprint module, the returned light returns to the fingerprint module through the screen, and the fingerprint module is responsible for collecting the fingerprint image, and analyzes and compares with the database to finally identify the fingerprint.
Where the finger is initially scanned as it is placed on the screen, generally the darker areas represent more reflected light (ridges of the finger) and the lighter areas represent less reflected light (valleys of the finger). Before analyzing and comparing the collected fingerprint image with the database, a clear fingerprint image is ensured to be obtained.
However, in a strong light environment, especially under direct sunlight, the acquisition of the fingerprint image is greatly affected, so that the difficulty of optical fingerprint identification is high. Therefore, according to the optical fingerprint identification method, the light source intensity in the optical fingerprint module is adjusted to ensure the consistency of the acquired fingerprint image and improve the accuracy of fingerprint identification aiming at different illumination intensity environments. The method comprises the following specific steps:
referring to fig. 1, the method includes:
step 101, detecting a first illumination intensity of a current environment, and comparing the first illumination intensity with a preset first threshold value.
The first illumination intensity of the terminal device in the current environment can be detected through a light sensor, a light detection device and other devices. It should be noted that the stronger the ambient illumination intensity is, the more noise points of the acquired fingerprint image are, so that the influence on the optical fingerprint identification is larger, and especially, the optical fingerprint identification effect is worse under the condition that the infrared light is larger.
Furthermore, after the first illumination intensity of the current environment is obtained, the intensity needs to be determined, that is, the determination is performed by comparing with a preset first threshold, and whether the illumination intensity of the current environment affects the optical fingerprint identification or not. The first threshold value can be selectively set according to the actual application requirement.
And 102, if the comparison result shows that the first illumination intensity is greater than a preset first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification.
Step 103, adjust the preset reference intensity of the light source in the optical fingerprint module to the second illumination intensity for optical fingerprint identification.
Specifically, when knowing that first illumination intensity is greater than predetermined first threshold value relatively, confirming that the illumination intensity of environment influences the recognition effect promptly, need adjust light source intensity in the optical fingerprint module to guarantee fingerprint image's uniformity, improve the discernment accuracy.
The first adjusting algorithm can be selected and set according to actual application requirements.
As an example, the preset reference intensity of the light source in the optical fingerprint module is 600nit, and the second illumination intensity obtained by calculating the first illumination intensity according to the preset first adjustment algorithm is 550nit, so that the preset reference intensity 600nit needs to be adjusted to 550nit for optical fingerprint identification.
The preset reference intensity represents the optimal intensity for optical fingerprint identification, and can be acquired in various ways, as a possible implementation way, the preset reference intensity of the light source is set according to the optical fingerprint images acquired by the preset initial intensity of the light source under the illumination intensities of different environments, and the preset reference intensity of the light source is set according to the image quality of the optical fingerprint images, namely, the fingers are acquired under the illumination intensities of different environments through different light sources such as an O L ED display screen or one or more independent light source modules in the optical fingerprint module, so that a plurality of different fingerprint images are acquired, and then the preset initial intensity of the light source corresponding to the optimal fingerprint identification image is selected as the preset reference intensity of the light source by processing and analyzing the fingerprint images.
To sum up, the optical fingerprint identification method of the embodiment of the application compares the first illumination intensity with the preset first threshold value by detecting the first illumination intensity of the current environment, and calculates the first illumination intensity according to the preset first adjustment algorithm to obtain the second illumination intensity for optical fingerprint identification when the comparison shows that the first illumination intensity is greater than the first threshold value, so as to adjust the preset reference intensity of the light source in the optical fingerprint module to the second illumination intensity for optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
Based on above-mentioned embodiment, can understand that, to light source in the optical fingerprint module of optical fingerprint identification influence, under the circumstances that ambient light intensity influences greatly, can be to the adjustment that light source carries out relatively big point in the optical fingerprint module, under the circumstances that ambient light intensity influences not very much relatively, can be to the light source fine adjustment in the optical fingerprint module, it is as follows to combine figure 3 to carry out the detailed description:
fig. 3 is a flowchart illustrating an optical fingerprint recognition method according to another embodiment of the present application. As shown in fig. 3, the optical fingerprint recognition method includes:
step 201, detecting a first illumination intensity of a current environment.
Step 202, determining whether the first illumination intensity is greater than a preset first threshold.
Step 203, if the first illumination intensity is greater than the first threshold, calculating the first illumination intensity according to a preset first adjustment algorithm, acquiring a second illumination intensity for optical fingerprint identification, and adjusting a preset reference intensity of a light source in the optical fingerprint module to the second illumination intensity for optical fingerprint identification.
Step 204, if the first illumination intensity is less than or equal to the first threshold, determining whether the first illumination intensity is greater than a preset second threshold, wherein the second threshold is less than the first threshold.
Step 205, if the first illumination intensity is greater than the preset second threshold, calculating the first illumination intensity according to a preset second adjustment algorithm, obtaining a third illumination intensity for optical fingerprint identification, and adjusting the preset reference intensity of the light source in the optical fingerprint module to the third illumination intensity for optical fingerprint identification.
And step 206, if the first illumination intensity is less than or equal to the second threshold, performing optical fingerprint identification according to the preset reference intensity of the light source in the optical fingerprint module.
The second threshold is smaller than the first threshold, that is, when the first illumination intensity is greater than the first threshold, the illumination intensity of the current environment is large, and the optical fingerprint identification is seriously affected, so that the first illumination intensity needs to be calculated through a preset first adjustment algorithm to obtain the second illumination intensity, and the preset reference intensity of the light source in the optical fingerprint module is adjusted to the second illumination intensity to perform the optical fingerprint identification.
When the first illumination intensity is smaller than or equal to the first threshold value, the illumination intensity of the current environment is not very large, the optical fingerprint identification is influenced a little, or the illumination intensity is not influenced at all, therefore, the first illumination intensity is further compared with the preset second threshold value, the first illumination intensity is calculated according to the preset second adjustment algorithm when the first illumination intensity is larger than the preset second threshold value to obtain the third illumination intensity, and the preset reference intensity of the light source in the optical fingerprint module is adjusted to the third illumination intensity to carry out the optical fingerprint identification.
As an example, the preset reference intensity of the light source in the optical fingerprint module is 600nit, and the third illumination intensity obtained by calculating the first illumination intensity according to the preset second adjustment algorithm is 580nit, so that the preset reference intensity 600nit needs to be adjusted to 580nit for optical fingerprint identification.
That is to say, under the condition that the influence of the illumination intensity of the current environment is not great, the fingerprint identification method can carry out weak adjustment to ensure the consistency of the acquired fingerprint images, and further improve the accuracy of fingerprint identification.
In addition, when first illumination intensity is less than or equal to the second threshold value, the illumination intensity that represents the current environment does not have the influence to optical fingerprint identification, can directly carry out optical fingerprint identification according to the predetermined reference intensity of light source in the optical fingerprint module.
In summary, the optical fingerprint identification method according to the embodiment of the present application compares the first illumination intensity with a preset first threshold by detecting the first illumination intensity of the current environment, calculates the first illumination intensity according to a preset first adjustment algorithm if the first illumination intensity is greater than the first threshold, obtains a second illumination intensity for optical fingerprint identification, adjusts the preset reference intensity of the light source in the optical fingerprint module to the second illumination intensity for optical fingerprint identification, compares the first illumination intensity with a preset second threshold if the first illumination intensity is less than or equal to the first threshold, calculates the first illumination intensity according to the preset second adjustment algorithm if the first illumination intensity is greater than the preset second threshold, obtains a third illumination intensity for optical fingerprint identification, adjusts the preset reference intensity of the light source in the optical fingerprint module to the third illumination intensity for optical fingerprint identification, if first illumination intensity is less than or equal to the second threshold value, then carry out optics fingerprint identification according to the preset reference intensity of light source in the optics fingerprint module. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy. Meanwhile, the current environment intensity is further judged by setting a second threshold value to carry out adaptive adjustment, and the accuracy of optical fingerprint identification is further improved.
Fig. 4 is a schematic structural diagram of an optical fingerprint identification apparatus according to an embodiment of the present application.
Referring to fig. 4, the optical fingerprint recognition apparatus includes: a detection comparison module 401, a first calculation acquisition module 402, and a first adjustment module 403, wherein,
the detection comparing module 401 is configured to detect a first illumination intensity of the current environment, and compare the first illumination intensity with a preset first threshold.
A first calculation and acquisition module 402, configured to calculate the first illumination intensity according to a preset first adjustment algorithm if the first illumination intensity is larger than a first threshold value, and acquire a second illumination intensity for performing optical fingerprint identification.
The first adjusting module 403 is configured to adjust the preset reference intensity of the light source in the optical fingerprint module to the second illumination intensity for optical fingerprint identification.
Optionally, in some embodiments, referring to fig. 5, further comprising:
a second calculation and acquisition module 404, configured to calculate the first illumination intensity according to a preset second adjustment algorithm if the comparison result shows that the first illumination intensity is smaller than or equal to the first threshold and greater than a preset second threshold, where the second threshold is smaller than the first threshold, and acquire a third illumination intensity for performing optical fingerprint identification.
First adjustment module 405 for adjust the predetermined reference intensity of light source in the optics fingerprint module for third illumination intensity carries out optics fingerprint identification.
And the identification module 406 is configured to perform optical fingerprint identification according to the preset reference intensity of the light source in the optical fingerprint module if the comparison result shows that the first illumination intensity is smaller than or equal to the second threshold value.
Optionally, in some embodiments, referring to fig. 6, further comprising:
the collecting module 407 is configured to collect optical fingerprint images under different environmental illumination intensities according to a preset initial intensity of the light source.
A setting module 408 for setting a preset reference intensity of the light source according to the image quality of the optical fingerprint image.
Optionally, in some embodiments, the light source includes an O L ED display screen or a separate light source module in the optical fingerprint module.
It should be noted that the explanation of the embodiment of the optical fingerprint identification method in the foregoing embodiments of fig. 1 to 3 is also applicable to the optical fingerprint identification apparatus of the embodiment, and the implementation principle is similar, and is not repeated here.
To sum up, the optical fingerprint identification device of this application embodiment is through the first illumination intensity that detects current environment to compare first illumination intensity with first threshold value of predetermineeing, calculate the second illumination intensity that obtains carrying out optical fingerprint identification according to first adjustment algorithm of predetermineeing when knowing first illumination intensity is greater than first threshold value at the comparison, thereby adjust the predetermined reference strength of light source in the optical fingerprint module for second illumination intensity and carry out optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
In order to implement the foregoing embodiments, the present application further provides an electronic device, which includes a memory and a processor, where the memory stores computer readable instructions, and the instructions, when executed by the processor, cause the processor to execute the optical fingerprint identification method as described above, where the method includes: detecting a first illumination intensity of the current environment, and comparing the first illumination intensity with a preset first threshold value; if the comparison result shows that the first illumination intensity is greater than the first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification; adjust the reference intensity of predetermineeing of light source in the optics fingerprint module to second illumination intensity and carry out optics fingerprint identification.
To sum up, the electronic equipment of this application embodiment is through the first illumination intensity that detects current environment to compare first illumination intensity with first threshold value of predetermineeing, calculate according to first adjustment algorithm of predetermineeing when learning that first illumination intensity is greater than first threshold value and acquire the second illumination intensity that carries out optical fingerprint identification to first illumination intensity when comparing, thereby adjust the predetermined reference intensity of light source in the optical fingerprint module for second illumination intensity and carry out optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
To achieve the above embodiments, the present application also proposes a non-transitory computer-readable storage medium, in which instructions, when executed by a processor of a terminal, enable the terminal to perform an optical fingerprint recognition method, the method comprising: detecting a first illumination intensity of the current environment, and comparing the first illumination intensity with a preset first threshold value; if the comparison result shows that the first illumination intensity is greater than the first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification; adjust the reference intensity of predetermineeing of light source in the optics fingerprint module to second illumination intensity and carry out optics fingerprint identification.
To sum up, the non-transitory computer-readable storage medium according to the embodiment of the present application calculates the first illumination intensity according to the preset first adjustment algorithm to obtain the second illumination intensity for performing the optical fingerprint identification when the first illumination intensity is greater than the first threshold value by detecting the first illumination intensity of the current environment and comparing the first illumination intensity with the preset first threshold value, so as to adjust the preset reference intensity of the light source in the optical fingerprint module to the second illumination intensity for performing the optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
To achieve the above embodiments, the present application further proposes a computer program product, wherein when instructions of the computer program product are executed by a processor, the computer program product executes an optical fingerprint identification method, and the method comprises: detecting a first illumination intensity of the current environment, and comparing the first illumination intensity with a preset first threshold value; if the comparison result shows that the first illumination intensity is greater than the first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification; adjust the reference intensity of predetermineeing of light source in the optics fingerprint module to second illumination intensity and carry out optics fingerprint identification.
To sum up, the computer program product of the embodiment of the present application calculates the first illumination intensity according to the preset first adjustment algorithm to obtain the second illumination intensity for performing the optical fingerprint identification when the comparison result shows that the first illumination intensity is greater than the first threshold value by detecting the first illumination intensity of the current environment and comparing the first illumination intensity with the preset first threshold value, thereby adjusting the preset reference intensity of the light source in the optical fingerprint module to the second illumination intensity for performing the optical fingerprint identification. From this, can be to different illumination intensity environment, light source intensity in the adaptability adjustment optics fingerprint module has guaranteed the uniformity that acquires the fingerprint image under the different illumination intensity environment, has improved optics fingerprint identification's accuracy.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (6)

1. An optical fingerprint identification method is characterized by comprising the following steps:
detecting a first illumination intensity of a current environment, and comparing the first illumination intensity with a preset first threshold value;
if the first illumination intensity is larger than the first threshold value, calculating the first illumination intensity according to a preset first adjustment algorithm to obtain a second illumination intensity for optical fingerprint identification;
adjusting the preset reference intensity of a light source in the optical fingerprint module to the second illumination intensity to perform optical fingerprint identification;
if the first illumination intensity is obtained through comparison and is smaller than or equal to the first threshold and larger than a preset second threshold, wherein the second threshold is smaller than the first threshold, calculating the first illumination intensity according to a preset second adjustment algorithm, and obtaining a third illumination intensity for optical fingerprint identification;
adjusting the preset reference intensity of a light source in the optical fingerprint module to the third illumination intensity to perform optical fingerprint identification;
and if the first illumination intensity is less than or equal to the second threshold value, performing optical fingerprint identification according to the preset reference intensity of the light source in the optical fingerprint module.
2. The method of claim 1, further comprising:
acquiring optical fingerprint images under different environmental illumination intensities according to the preset initial intensity of the light source;
and setting the preset reference intensity of the light source according to the image quality of the optical fingerprint image.
3. The method of claim 2, wherein the light source comprises:
o L ED display screen, or, independent light source module in the optical fingerprint module.
4. An optical fingerprint recognition apparatus, comprising:
the detection and comparison module is used for detecting a first illumination intensity of the current environment and comparing the first illumination intensity with a preset first threshold value;
the first calculation acquisition module is used for calculating the first illumination intensity according to a preset first adjustment algorithm to acquire a second illumination intensity for optical fingerprint identification if the first illumination intensity is larger than the first threshold value through comparison;
the first adjusting module is used for adjusting the preset reference intensity of the light source in the optical fingerprint module to the second illumination intensity to perform optical fingerprint identification;
a second calculation and acquisition module, configured to calculate the first illumination intensity according to a preset second adjustment algorithm to acquire a third illumination intensity for optical fingerprint identification if the comparison result shows that the first illumination intensity is smaller than or equal to the first threshold and greater than a preset second threshold, where the second threshold is smaller than the first threshold;
the first adjusting module is used for adjusting the preset reference intensity of the light source in the optical fingerprint module to the third illumination intensity to perform optical fingerprint identification;
the first adjusting module is further configured to perform optical fingerprint identification according to a preset reference intensity of a light source in the optical fingerprint module if the first illumination intensity is less than or equal to the second threshold value.
5. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the optical fingerprinting method according to any one of claims 1-3.
6. An electronic device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the optical fingerprinting method according to any one of claims 1-3.
CN201711215306.9A 2017-11-28 2017-11-28 Optical fingerprint identification method and device and electronic equipment Active CN107918768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711215306.9A CN107918768B (en) 2017-11-28 2017-11-28 Optical fingerprint identification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711215306.9A CN107918768B (en) 2017-11-28 2017-11-28 Optical fingerprint identification method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107918768A CN107918768A (en) 2018-04-17
CN107918768B true CN107918768B (en) 2020-07-10

Family

ID=61896991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711215306.9A Active CN107918768B (en) 2017-11-28 2017-11-28 Optical fingerprint identification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107918768B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI720342B (en) * 2018-09-11 2021-03-01 友達光電股份有限公司 Image refreshing method and optical sensing device using the same
CN110647862B (en) 2018-10-08 2020-08-25 深圳市汇顶科技股份有限公司 Fingerprint detection device and method and electronic equipment
CN109409310B (en) * 2018-11-05 2021-08-17 Oppo(重庆)智能科技有限公司 Display screen assembly, electronic equipment and fingerprint identification method
CN110084170A (en) * 2019-04-22 2019-08-02 Oppo广东移动通信有限公司 Image processing method and relevant apparatus
CN110210353A (en) * 2019-05-23 2019-09-06 上海思立微电子科技有限公司 Optical fingerprint identification device, electronic equipment, light compensation method and storage medium
CN110534031B (en) 2019-08-29 2021-12-28 上海天马微电子有限公司 Display device and fingerprint identification method
CN110659609B (en) * 2019-09-25 2022-09-16 Oppo(重庆)智能科技有限公司 Fingerprint matching method and device, electronic equipment and medium
CN110796070B (en) * 2019-10-28 2021-05-04 Oppo广东移动通信有限公司 Display screen assembly and electronic equipment for identifying fingerprints under screen
CN112800808A (en) * 2019-11-13 2021-05-14 华为终端有限公司 Fingerprint identification method and electronic equipment
CN114295554B (en) * 2021-12-31 2024-02-23 中元汇吉生物技术股份有限公司 Light intensity detection method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003242487A (en) * 2002-02-15 2003-08-29 Canon Inc Image recognizing device
CN101131732A (en) * 2006-08-24 2008-02-27 三美电机株式会社 Fingerprint detection apparatus
CN101650921A (en) * 2009-09-17 2010-02-17 青岛海信电器股份有限公司 Method and device of controlling dynamic backlight
CN104683702A (en) * 2015-03-25 2015-06-03 广东欧珀移动通信有限公司 Method and device for supplementing light during photographing as well as mobile terminal
CN104809975A (en) * 2014-12-23 2015-07-29 苹果公司 Ambient light adaptive display device with paper-similar presentation
CN105513019A (en) * 2015-11-27 2016-04-20 西安电子科技大学 Method and apparatus for improving image quality
CN106203365A (en) * 2016-07-14 2016-12-07 浙江赢视科技有限公司 The fingerprint imaging method that gain-adjusted processes
CN107145886A (en) * 2017-05-03 2017-09-08 广东欧珀移动通信有限公司 Optical ftngetpnnt acquisidon method and Related product
CN107220592A (en) * 2017-05-03 2017-09-29 广东欧珀移动通信有限公司 A kind of optical ftngetpnnt acquisidon method and Related product

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003242487A (en) * 2002-02-15 2003-08-29 Canon Inc Image recognizing device
CN101131732A (en) * 2006-08-24 2008-02-27 三美电机株式会社 Fingerprint detection apparatus
CN101650921A (en) * 2009-09-17 2010-02-17 青岛海信电器股份有限公司 Method and device of controlling dynamic backlight
CN104809975A (en) * 2014-12-23 2015-07-29 苹果公司 Ambient light adaptive display device with paper-similar presentation
CN104683702A (en) * 2015-03-25 2015-06-03 广东欧珀移动通信有限公司 Method and device for supplementing light during photographing as well as mobile terminal
CN105513019A (en) * 2015-11-27 2016-04-20 西安电子科技大学 Method and apparatus for improving image quality
CN106203365A (en) * 2016-07-14 2016-12-07 浙江赢视科技有限公司 The fingerprint imaging method that gain-adjusted processes
CN107145886A (en) * 2017-05-03 2017-09-08 广东欧珀移动通信有限公司 Optical ftngetpnnt acquisidon method and Related product
CN107220592A (en) * 2017-05-03 2017-09-29 广东欧珀移动通信有限公司 A kind of optical ftngetpnnt acquisidon method and Related product

Also Published As

Publication number Publication date
CN107918768A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
CN107918768B (en) Optical fingerprint identification method and device and electronic equipment
CN108052877B (en) Optical fingerprint identification method and device and electronic equipment
US8983151B2 (en) Apparatus for recognizing face based on environment adaptation
US7965874B2 (en) Biological information detecting device
KR102058427B1 (en) Apparatus and method for inspection
EP3176751B1 (en) Information processing device, information processing method, computer-readable recording medium, and inspection system
KR102084535B1 (en) Defect inspection device, defect inspection method
US11747284B2 (en) Apparatus for optimizing inspection of exterior of target object and method thereof
US9295415B2 (en) Foreign object determination device, foreign object determination method and foreign object determination program
EP3241154B1 (en) Image processing method and system for iris recognition
CN106441804A (en) Resolving power testing method
US9690430B2 (en) Touch detection apparatus, touch detection method and recording medium
US9349071B2 (en) Device for detecting pupil taking account of illuminance and method thereof
US9146640B2 (en) Apparatus and system for correcting touch signal and method thereof
CN108537106B (en) Fingerprint detection method and circuit thereof
JP2018109824A (en) Electronic control device, electronic control system, and electronic control method
US10241000B2 (en) Method for checking the position of characteristic points in light distributions
CN111382404A (en) Method and system for preventing fingerprint from being touched mistakenly, terminal equipment and readable storage medium
JP2019220047A (en) Authentication device, authentication program, authentication method
JP2022137430A (en) Image processing device, image processing method, and image processing program
KR101276204B1 (en) Method for measuring environmental parameters for multi-modal fusion
CN110441315A (en) Electronic component test equipment and method
CN106650557B (en) Image partition threshold value determination method and system and gesture judgment method and system
KR101573580B1 (en) Fast Pre-processing Method for Data, Electronic Device and Vehicle supporting the same
WO2023175647A1 (en) Person detection device, person detection method and person detection program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant