CN108052877B - 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
CN108052877B
CN108052877B CN201711216540.3A CN201711216540A CN108052877B CN 108052877 B CN108052877 B CN 108052877B CN 201711216540 A CN201711216540 A CN 201711216540A CN 108052877 B CN108052877 B CN 108052877B
Authority
CN
China
Prior art keywords
fingerprint
area
identification
user
fingerprint 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.)
Active
Application number
CN201711216540.3A
Other languages
Chinese (zh)
Other versions
CN108052877A (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 CN201711216540.3A priority Critical patent/CN108052877B/en
Publication of CN108052877A publication Critical patent/CN108052877A/en
Application granted granted Critical
Publication of CN108052877B publication Critical patent/CN108052877B/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Collating Specific Patterns (AREA)
  • Image Input (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: collecting a fingerprint image of a user through an optical fingerprint module; comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by a user and a deviation area for not performing effective pressing; judging whether the fingerprint image is effectively collected or not according to the identification area and the deviation area, and if the fingerprint image is effectively collected, shielding the deviation area; and carrying out fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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 effect of light, so that ambient light has some interference with the fingerprint image. When the fingerprint is unlocked or recorded, the finger presses the bias on the panel, so that the sensor area which does not cover the fingerprint receives the light of the ambient light, the image of the area can form more noise points or messy lines, and possibly contain characteristic points similar to the fingerprint, thereby influencing the recording or identification of the template.
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 fingerprint identification is affected when a user does not press effectively.
The embodiment of the first aspect of the present application provides an optical fingerprint identification method, including: collecting a fingerprint image of a user through an optical fingerprint module; comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by the user and a deviation area for not effective pressing by the user; judging whether the fingerprint image is effectively acquired or not according to the identification area and the deviation area, and if the fingerprint image is effectively acquired through judgment, shielding the deviation area; and performing fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
The utility model provides an optical fingerprint identification method that embodiment of the first aspect provided, gather user's fingerprint image through optical fingerprint module, and compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area of effectively pressing and not carry out the skew region of effectively pressing, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know the fingerprint image and carry out shielding treatment to the skew region when effectively gathering in the judgement, carry out fingerprint identification according to identification area's fingerprint characteristic and fingerprint template at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee fingerprint identification's accuracy.
The optical fingerprint identification device provided by the embodiment of the second aspect of the application comprises: the acquisition module is used for acquiring a fingerprint image of a user through the optical fingerprint module; the comparison module is used for comparing the fingerprint image with a pre-registered fingerprint template; the determining module is used for determining an identification area where effective pressing is carried out by the user and a deviation area where effective pressing is not carried out by the user; the judging module is used for judging whether the fingerprint image is effectively collected according to the identification area and the deviation area; the processing module is used for shielding the deviated area if the fingerprint image is judged to be effectively acquired; and the first identification module is used for carrying out fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
The utility model provides an optics fingerprint identification device that embodiment of second aspect provided, gather user's fingerprint image through optics fingerprint module, and compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area of effectively pressing and not carry out the skew region of effectively pressing, thereby judge whether fingerprint image is effective collection according to identification area and skew region, carry out shielding treatment to the skew region when knowing fingerprint image is effective collection judging, carry out fingerprint identification according to the fingerprint characteristic and the fingerprint template in identification area at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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: collecting a fingerprint image of a user through an optical fingerprint module; comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by the user and a deviation area for not effective pressing by the user; judging whether the fingerprint image is effectively acquired or not according to the identification area and the deviation area, and if the fingerprint image is effectively acquired through judgment, shielding the deviation area; and performing fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
The embodiment of the third aspect of the application provides a non-transitory computer readable storage medium, gather user's fingerprint image through optics fingerprint module, and compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area of effectively pressing and the skew region of not effectively pressing, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know that fingerprint image shields the processing to the skew region when effectively gathering in the judgement, carry out fingerprint identification according to the fingerprint characteristic and the fingerprint template in identification area at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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: collecting a fingerprint image of a user through an optical fingerprint module; comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by the user and a deviation area for not effective pressing by the user; judging whether the fingerprint image is effectively acquired or not according to the identification area and the deviation area, and if the fingerprint image is effectively acquired through judgment, shielding the deviation area; and performing fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
The electronic equipment that this application fourth aspect embodiment provided, through optical fingerprint module collection user's fingerprint image, and compare fingerprint image with the fingerprint template of registering in advance, confirm the user and carry out the identification area of effectively pressing and not carry out the skew region of effectively pressing, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know the fingerprint image and carry out shielding treatment to the skew region when effectively gathering in the judgement, carry out fingerprint identification according to identification area's fingerprint characteristic and fingerprint template at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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 diagram illustrating an exemplary gray scale process according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating an optical fingerprint recognition method according to another embodiment of the present application;
FIG. 5 is a schematic structural diagram of an optical fingerprint recognition apparatus according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an optical fingerprint identification apparatus according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an optical fingerprint identification apparatus according to 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, when the fingerprint is unlocked or recorded, the finger is pressed to be biased on the panel, so that the sensor area which is not covered by the fingerprint receives the light of the ambient light, the image of the area forms a plurality of noise points or random patterns, and the characteristic points which are similar to the fingerprint can be contained to influence the recording or identification of the template. Therefore, according to the optical fingerprint identification method, the deviation area which is not effectively pressed by the user is shielded, so that fingerprint error identification is avoided, and the accuracy of fingerprint identification is ensured. The method comprises the following specific steps:
referring to fig. 1, the method includes:
step 101, gather user's fingerprint image through optics fingerprint module.
Step 102, comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by a user and a deviation area for not effective pressing by the user.
Wherein, can gather user's fingerprint image through optics fingerprint module, for example the mode of fig. 2. It can be understood that, in practical applications, a user may input a fingerprint image in different scenes, such as unlocking, registering, and paying, and when the user inputs the fingerprint image, the finger may be biased, so that the acquired fingerprint image needs to be compared with a pre-registered fingerprint template. The fingerprint image which is input by the user under the condition of no press bias is registered as the fingerprint template in advance.
Further, the identification region where the user has performed effective pressing and the offset region where the user has not performed effective pressing can be determined by comparison.
And 103, judging whether the fingerprint image is effectively acquired or not according to the identification area and the deviation area, and if the fingerprint image is effectively acquired through judgment, shielding the deviation area.
And 104, performing fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
There are many cases in which the recognition area where the user performs effective pressing and the deviation area where the user does not perform effective pressing, that is, the proportion of the recognition area to the deviation area is different in different scenes, for example, the recognition area is seventy-five percent, and the deviation area is twenty-five percent; such as identifying an area of fifty percent, deviating an area of fifty percent, and so on.
The fingerprint image may be determined to be effectively captured according to the identification area and the deviation area in a variety of ways, for example, as follows:
in the first example, the ratio of the deviation area to the identification area is obtained, the ratio is compared with a preset threshold value, and if the ratio obtained by comparison is smaller than the preset threshold value, the fingerprint image is judged to be effectively acquired; if the ratio is larger than or equal to the preset threshold value after comparison, judging that the acquired fingerprint image is invalid acquisition.
In the second example, the size of the identification area is obtained and compared with a preset threshold, and if the comparison is larger than the preset threshold, the fingerprint image is judged to be effectively acquired; or acquiring the size of the deviation area, comparing the size with a preset threshold, and judging that the acquired fingerprint image is invalid acquisition if the comparison is larger than the preset threshold.
It should be noted that, if it is determined that the acquired fingerprint image is invalid, the user is prompted to re-enter the fingerprint. For example, when the deviation area is larger than twenty-five percent of the sensor area, the user is prompted by means of user interface reminding or voice reminding and the like to obtain the fingerprint again, the fingerprint is not input or unlocked and the like, false recognition is avoided, and accuracy of fingerprint recognition is further guaranteed.
Furthermore, when the fingerprint image is determined to be effectively collected, the deviated area is shielded, so that false identification cannot be caused. The masking of the offset region can be performed in a number of ways, as illustrated below:
in the first example, the image of the deviated area is subjected to full gray processing.
For example, as shown in fig. 3, noise is clearly different from the fingerprint image, and the fingerprint is processed by full gray according to the partial area, so that the full gray image does not include the feature points owned by the fingerprint, and false recognition is not caused.
In the second example, the image of the deviated area is subjected to gaussian blur processing.
Therefore, fingerprint identification is carried out according to the fingerprint characteristics of the identification area and the fingerprint template.
To sum up, the optical fingerprint identification method of this application embodiment gathers user's fingerprint image through the optical fingerprint module to compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area of effectively pressing and not carry out the skew region of effectively pressing, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know the fingerprint image and carry out shielding treatment to the skew region when effectively gathering in the judgement, carry out fingerprint identification according to identification area's fingerprint characteristic and fingerprint template at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee fingerprint identification's accuracy.
Based on the above embodiments, it can be understood that the ambient light intensity has an influence on fingerprint identification, and before determining the identification area where the user performs effective pressing and the offset area where the user does not perform effective pressing, whether to further determine the identification area where the user performs effective pressing and the offset area where the user does not perform effective pressing may be determined according to the magnitude of the light intensity by detecting the light intensity of the ambient. The following detailed description is made with reference to fig. 4:
fig. 4 is a flowchart illustrating an optical fingerprint recognition method according to another embodiment of the present application. As shown in fig. 4, the optical fingerprint recognition method includes:
step 201, detecting the illumination intensity of the environment.
Step 202, if it is detected that the illumination intensity is greater than the preset threshold, determining an identification area where the user performs effective pressing and a deviation area where the user does not perform effective pressing.
And 203, if the illumination intensity is detected to be less than or equal to the preset threshold value, performing fingerprint identification according to the fingerprint characteristics of the fingerprint image and the fingerprint template.
Specifically, the light intensity of the environment is detected by the light sensor or the light detection device, and whether the light of the environment light is received by the sensor area which is not covered with the fingerprint when the finger is pressed to be biased is determined by judging the light intensity of the environment, so that a lot of noise points or messy stripes are formed.
When the illumination intensity is detected to be larger than the preset threshold value, the illumination intensity representing the environment has influence on fingerprint identification, and when the finger is pressed, the sensor area which is not covered with the fingerprint can receive light of the environment light, so that a plurality of noise points or messy stripes are formed, and therefore the identification area which is effectively pressed by the user and the deviation area which is not effectively pressed by the user need to be determined, and further processing is carried out.
When the illumination intensity is detected to be less than or equal to the preset threshold value, the illumination intensity representing the environment has no influence on fingerprint identification, and whether the finger is biased or not has no influence on the fingerprint identification, so that the fingerprint identification can be carried out according to the fingerprint characteristics of the fingerprint image and the fingerprint template.
Therefore, through further detecting the illumination intensity of the environment and comparing the illumination intensity with the preset threshold value, the fingerprint error identification is further avoided, the accuracy of the fingerprint identification is ensured, and the optical fingerprint identification processing efficiency is improved.
Fig. 5 is a schematic structural diagram of an optical fingerprint identification apparatus according to an embodiment of the present application.
Referring to fig. 5, the optical fingerprint recognition apparatus includes: an acquisition module 501, a comparison module 502, a determination module 503, a judgment module 504, a processing module 505, and a first identification module 506, wherein,
and the acquisition module 501 is used for acquiring the fingerprint image of the user through the optical fingerprint module.
A comparison module 502 for comparing the fingerprint image with a pre-registered fingerprint template.
A determining module 503, configured to determine an identification area where the user performs effective pressing and a deviation area where the user does not perform effective pressing.
And a judging module 504, configured to judge whether the fingerprint image is effectively acquired according to the identification area and the deviation area.
And the processing module 505 is configured to perform shielding processing on the deviated area if it is determined that the fingerprint image is effectively acquired.
And the identification module 506 is configured to perform fingerprint identification according to the fingerprint features of the identification area and the fingerprint template.
Optionally, in some embodiments, the processing module 505 is specifically configured to perform full gray processing on the image of the deviated region; or; and performing Gaussian blur processing on the image of the deviated area.
Optionally, in some embodiments, the determining module 504 is specifically configured to obtain a ratio of the deviation area to the identification area; comparing the ratio with a preset threshold, and if the ratio is smaller than the preset threshold, judging that the fingerprint image is effectively acquired; if the ratio is larger than or equal to the preset threshold value after comparison, judging that the acquired fingerprint image is invalid acquisition.
Optionally, in some embodiments, referring to fig. 6, further comprising:
and the prompting module 507 is configured to prompt the user to re-enter the fingerprint if the acquired fingerprint image is judged to be invalid acquisition.
Optionally, in some embodiments, referring to fig. 7, further comprising:
and a detecting module 508 for detecting the illumination intensity of the environment.
If the detection module 508 detects that the illumination intensity is greater than the preset threshold, the determination module 503 is configured to determine an identification area where the user performs effective pressing and a deviation area where the user does not perform effective pressing.
If the detection module 508 detects that the illumination intensity is less than or equal to the preset threshold, the identification module 506 performs fingerprint identification according to the fingerprint features of the fingerprint image and the fingerprint template.
It should be noted that the explanation of the embodiment of the optical fingerprint identification method in the foregoing embodiments of fig. 1 to fig. 4 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 optics fingerprint identification device of this application embodiment gathers user's fingerprint image through optics fingerprint module to compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area that effectively presses and does not carry out the skew region that effectively presses, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know the fingerprint image and carry out shielding treatment to the skew region when effective collection in the judgement, carry out fingerprint identification according to identification area's fingerprint characteristic and fingerprint template at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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: collecting a fingerprint image of a user through an optical fingerprint module; comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by a user and a deviation area for not performing effective pressing; judging whether the fingerprint image is effectively collected or not according to the identification area and the deviation area, and if the fingerprint image is effectively collected, shielding the deviation area; and carrying out fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
To sum up, the electronic equipment of this application embodiment gathers user's fingerprint image through optics fingerprint module to compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area that effectively presses and does not carry out the skew region that effectively presses, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know the fingerprint image and carry out shielding treatment to the skew region when effectively gathering in the judgement, carry out fingerprint identification according to identification area's fingerprint characteristic and fingerprint template at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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: collecting a fingerprint image of a user through an optical fingerprint module; comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by a user and a deviation area for not performing effective pressing; judging whether the fingerprint image is effectively collected or not according to the identification area and the deviation area, and if the fingerprint image is effectively collected, shielding the deviation area; and carrying out fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
To sum up, the non-transitory computer readable storage medium of this application embodiment gathers user's fingerprint image through optics fingerprint module to compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area that effectively presses and does not carry out the skew region that effectively presses, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know fingerprint image and carry out shielding treatment to the skew region when effectively gathering in the judgement, carry out fingerprint identification according to the fingerprint characteristic and the fingerprint template in identification area at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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: collecting a fingerprint image of a user through an optical fingerprint module; comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by a user and a deviation area for not performing effective pressing; judging whether the fingerprint image is effectively collected or not according to the identification area and the deviation area, and if the fingerprint image is effectively collected, shielding the deviation area; and carrying out fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
To sum up, the computer program product of this application embodiment gathers user's fingerprint image through optics fingerprint module to compare fingerprint image and the fingerprint template of registering in advance, confirm that the user carries out the identification area of effectively pressing and not carry out the skew region of effectively pressing, thereby judge whether fingerprint image is effective collection according to identification area and skew region, know the fingerprint image and carry out shielding treatment to the skew region when effectively gathering in the judgement, carry out fingerprint identification according to identification area's fingerprint characteristic and fingerprint template at last. From this, through carrying out shielding treatment to the skew region that the user did not effectively press, avoided fingerprint misidentification, guarantee 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 (10)

1. An optical fingerprint identification method is characterized by comprising the following steps:
collecting a fingerprint image of a user through an optical fingerprint module;
comparing the fingerprint image with a pre-registered fingerprint template, and determining an identification area for effective pressing by the user and a deviation area for not effective pressing by the user;
judging whether the fingerprint image is effectively acquired or not according to the identification area and the deviation area, and if the fingerprint image is effectively acquired through judgment, shielding the deviation area; wherein, judging whether the fingerprint image is effectively collected according to the identification area and the deviation area comprises: judging whether the fingerprint image is effectively collected or not according to the identification area, the deviation area and a preset threshold, wherein different preset thresholds are set according to different application scenes;
and performing fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
2. The method of claim 1, wherein the masking the deviant region comprises:
carrying out full gray processing on the image of the deviation area;
or;
and performing Gaussian blur processing on the image of the deviation area.
3. The method of claim 1, wherein said determining whether the fingerprint image is a valid acquisition based on the identified region and the deviation region comprises:
acquiring the ratio of the deviation area to the identification area;
comparing the ratio with a preset threshold, and if the ratio is smaller than the preset threshold, judging that the fingerprint image is effectively acquired; and if the ratio is more than or equal to a preset threshold value, judging that the fingerprint image is invalid for acquisition.
4. The method of claim 1, wherein said determining whether the fingerprint image is a valid acquisition based on the identified region and the deviated region further comprises:
and if the fingerprint image is judged to be invalid for collection, prompting the user to re-input the fingerprint.
5. The method of any of claims 1-4, wherein prior to the determining the identified area where the user made a valid compression and the offset area where no valid compression was made, further comprising:
detecting the illumination intensity of the environment;
if the illumination intensity is detected to be larger than a preset threshold value, determining an identification area for effective pressing by the user and a deviation area for not performing effective pressing by the user;
and if the illumination intensity is detected to be less than or equal to a preset threshold value, fingerprint identification is carried out according to the fingerprint characteristics of the fingerprint image and the fingerprint template.
6. An optical fingerprint recognition apparatus, comprising:
the acquisition module is used for acquiring a fingerprint image of a user through the optical fingerprint module;
the comparison module is used for comparing the fingerprint image with a pre-registered fingerprint template;
the determining module is used for determining an identification area where effective pressing is carried out by the user and a deviation area where effective pressing is not carried out by the user;
the judging module is used for judging whether the fingerprint image is effectively collected according to the identification area and the deviation area; wherein, judging whether the fingerprint image is effectively collected according to the identification area and the deviation area comprises: judging whether the fingerprint image is effectively collected or not according to the identification area, the deviation area and a preset threshold, wherein different preset thresholds are set according to different application scenes;
the processing module is used for shielding the deviated area if the fingerprint image is judged to be effectively acquired;
and the identification module is used for carrying out fingerprint identification according to the fingerprint characteristics of the identification area and the fingerprint template.
7. The apparatus of claim 6, further comprising:
and the prompting module is used for prompting the user to re-enter the fingerprint if the fingerprint image is judged to be invalid for collection.
8. The apparatus of claim 6 or 7, further comprising:
the detection module is used for detecting the illumination intensity of the environment;
if the detection module detects that the illumination intensity is larger than a preset threshold value, the determination module is used for determining an identification area where the user performs effective pressing and a deviation area where the user does not perform effective pressing;
and if the detection module detects that the illumination intensity is less than or equal to a preset threshold value, the identification module performs fingerprint identification according to the fingerprint characteristics of the fingerprint image and the fingerprint template.
9. 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-5.
10. 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 as claimed in any one of claims 1 to 5.
CN201711216540.3A 2017-11-28 2017-11-28 Optical fingerprint identification method and device and electronic equipment Active CN108052877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711216540.3A CN108052877B (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
CN201711216540.3A CN108052877B (en) 2017-11-28 2017-11-28 Optical fingerprint identification method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108052877A CN108052877A (en) 2018-05-18
CN108052877B true CN108052877B (en) 2020-08-07

Family

ID=62120900

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN108052877B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491834B (en) * 2018-06-11 2022-03-08 北京小米移动软件有限公司 Fingerprint identification method and device
CN109614865B (en) * 2018-11-06 2021-04-09 Oppo广东移动通信有限公司 Fingerprint identification method and related product
CN110286833B (en) * 2019-06-10 2021-06-15 Oppo广东移动通信有限公司 Shortcut function starting method, electronic device and computer readable storage medium
CN110363121B (en) * 2019-07-01 2023-04-28 Oppo广东移动通信有限公司 Fingerprint image processing method and device, storage medium and electronic equipment
CN110414410B (en) * 2019-07-24 2022-03-11 Oppo广东移动通信有限公司 Fingerprint acquisition method and related product
CN112258196A (en) * 2020-11-09 2021-01-22 Oppo广东移动通信有限公司 Fingerprint information verification method and device, terminal and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100414558C (en) * 2002-12-06 2008-08-27 中国科学院自动化研究所 Automatic fingerprint distinguishing system and method based on template learning
CN106155504B (en) * 2015-03-26 2019-09-10 小米科技有限责任公司 Mould group awakening method and device
TW201705031A (en) * 2015-07-22 2017-02-01 Egalax_Empia Tech Inc Biometric identification device a fingerprint identification region and a pulse and blood flow identification region together having a total area about a press area of a single finger
CN105825206A (en) * 2016-04-13 2016-08-03 时建华 Household appliance automatic regulation and control device having identity identification function
CN105975833B (en) * 2016-05-27 2019-04-09 Oppo广东移动通信有限公司 A kind of unlocked by fingerprint method and terminal
CN106022290B (en) * 2016-05-30 2018-03-27 广东欧珀移动通信有限公司 A kind of fingerprint template update method and terminal device

Also Published As

Publication number Publication date
CN108052877A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN108052877B (en) Optical fingerprint identification method and device and electronic equipment
CN107918768B (en) Optical fingerprint identification method and device and electronic equipment
CN106778459B (en) Fingerprint identification method and fingerprint identification device
Olsen et al. Finger image quality assessment features–definitions and evaluation
JP4305431B2 (en) Image processing apparatus, mask creation method and program
CN107111704B (en) System and method for detecting spoofing in iris based on biological recognition system
Ryu et al. Enhancement of feature extraction for low-quality fingerprint images using stochastic resonance
EP1624412B1 (en) Biological information measuring device
EP2518684A1 (en) Fake finger assessment device
JPWO2004079658A1 (en) Biological image collation device and collation method thereof
KR20150092009A (en) Method of validation of the use of a real finger as support of a fingerprint
US20130051638A1 (en) Fingerprint authentication system, fingerprint authentication method, and fingerprint authentication program
CN108280448B (en) Finger vein pressing graph distinguishing method and device and finger vein identification method
KR101601187B1 (en) Device Control Unit and Method Using User Recognition Information Based on Palm Print Image
Maddala et al. Implementation and evaluation of NIST Biometric Image Software for fingerprint recognition
JP4992212B2 (en) Image processing apparatus, image determination method, and program
KR100698723B1 (en) Fast Matching of FingerPrint Using Minutiae in Core Point Area
JP2019220047A (en) Authentication device, authentication program, authentication method
Saad et al. Robust and fast iris localization using contrast stretching and leading edge detection
Mao et al. Machine vision scheme for stain-release evaluation using Gabor filters with optimized coefficients
CN112801034A (en) Finger vein recognition device
KR100359920B1 (en) Discrimination method for imitative iris in iris recognition system
CN113127836A (en) Method, apparatus, and non-transitory computer-readable storage medium for fingerprint authentication
Babatunde et al. Uniformity level approach to fingerprint ridge frequency estimation
Wu et al. A systematic algorithm for fingerprint image quality assessment

Legal Events

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

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

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

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

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

GR01 Patent grant
GR01 Patent grant