Fingerprint recognition method and device, electronic device, and storage medium
By lighting up the light spots in the fingerprint recognition area and collecting multiple frames of images for image fusion, the problem of low fingerprint recognition success rate in dry or wet fingers is solved, and a higher recognition success rate is achieved.
Patent Information
- Application Number
- CN202110628386.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-04
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2041-06-04
AI Technical Summary
The success rate of existing under-screen optical fingerprint recognition technology is low when the fingers are too dry or wet.
Light the light spot in the fingerprint recognition area and collect multiple frame images during the time when the light spot is on. The image fusion algorithm generates a clear image to be identified for recognition for recognition.
It improves the success rate of fingerprint recognition when fingers are dry or wet, and enhances the reliability of recognition.
Smart Images

Figure CN113361401B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of fingerprint recognition technology, and in particular to a fingerprint recognition method and device, an electronic device, and a computer-readable storage medium. Background Art
[0002] Optical fingerprint recognition technology has gradually become the mainstream fingerprint recognition technology in the market and is widely used in time clocks, access control systems, and smartphones of major brands. The principle of optical fingerprint recognition under the screen of smartphones is to use the refraction and reflection of light. When a finger presses the screen, the OLED (Organic Light-Emitting Diode) screen emits light to illuminate the finger area. The reflected light that illuminates the finger area passes through the gaps between the screen pixels and returns to the optical fingerprint module close to the screen. After the optical fingerprint module collects an image based on the reflected light, fingerprint recognition can be achieved by comparing the fingerprint in the collected image with the pre-recorded fingerprint to see if it is consistent.
[0003] In related under-screen optical fingerprint unlocking solutions, when the device enters the waiting-to-unlock state, a fingerprint icon can be displayed on the screen to indicate the fingerprint recognition area. The user can press their finger on the fingerprint recognition area. At this time, the device touch screen detects the finger pressing on the fingerprint recognition area and can illuminate the fingerprint recognition area to expose the fingerprint. Based on the reflected light, a fingerprint image is captured and the fingerprint recognition and unlocking tasks are performed based on the fingerprint image.
[0004] When the finger is too dry or too wet, after the finger is pressed on the fingerprint recognition area, the fingerprint image collected based on the reflected light is usually not clear, resulting in a low success rate of fingerprint recognition. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a fingerprint recognition method and device, an electronic device, and a computer-readable storage medium for improving the success rate of fingerprint recognition when the finger is too dry or wet.
[0006] In one aspect, the present application provides a fingerprint recognition method, comprising:
[0007] In response to the fingerprint recognition trigger command, the light spot in the fingerprint recognition area on the screen is controlled to light up;
[0008] During the time period when the light spot is on, a plurality of target images are collected above the fingerprint recognition area from the time when the finger does not touch the screen to the time when the finger fully touches the screen;
[0009] The target image is fused according to an image fusion algorithm, and a fingerprint recognition task is performed based on the fused image to be recognized.
[0010] In one embodiment, before responding to the fingerprint recognition trigger instruction, the method further includes:
[0011] In the fingerprint recognition waiting stage, if a pressing operation on the fingerprint recognition area is detected, it is determined that the fingerprint recognition trigger instruction exists.
[0012] In one embodiment, if a pressing operation on the fingerprint recognition area is detected, determining that the fingerprint recognition trigger instruction exists includes:
[0013] If a pressing operation on the fingerprint recognition area is detected, the light spot of the fingerprint recognition area is controlled to light up, and an image to be processed is collected when the finger above the fingerprint recognition area touches the screen;
[0014] A fingerprint recognition task is performed according to the image to be processed, and if the recognition fails, it is determined that the fingerprint recognition trigger instruction exists.
[0015] In one embodiment, before responding to the fingerprint recognition trigger instruction, the method further includes:
[0016] During the fingerprint identification stage, the fingerprint identification trigger instruction generated by a key operation is received.
[0017] In one embodiment, before responding to the fingerprint recognition trigger instruction, the method further includes:
[0018] In the fingerprint recognition waiting stage, if a posture change signal is detected, it is determined that the fingerprint recognition trigger instruction exists.
[0019] In one embodiment, the capturing of a plurality of target images above the fingerprint recognition area during a process from when the finger does not touch the screen to when the finger fully touches the screen includes:
[0020] Collecting multiple frames of candidate images above the fingerprint recognition area;
[0021] During the process of acquiring the candidate image, determining a specified time point when a finger contacts the screen;
[0022] The candidate images acquired before and after the designated time point are selected as the target images.
[0023] In one embodiment, the performing fusion processing on the target image according to the image fusion algorithm includes:
[0024] determining a fingerprint contact area in each target image;
[0025] For each target image, based on the fingerprint contact area of the target image and the fingerprint contact area of the target image one frame after the target image, cut out the image of the area to be identified from the target image;
[0026] The images of the to-be-recognized areas cut out from the multiple target images are spliced together to obtain the to-be-recognized images.
[0027] On the other hand, the present application also provides a fingerprint recognition device, comprising:
[0028] A control module, configured to control the brightness of the light spot in the fingerprint recognition area on the screen in response to a fingerprint recognition trigger instruction;
[0029] an acquisition module, configured to acquire a plurality of target images above the fingerprint recognition area from the time when the finger does not touch the screen to the time when the finger fully touches the screen, during a period when the light spot is on;
[0030] The recognition module is used to perform fusion processing on the target image according to the image fusion algorithm, and perform the fingerprint recognition task based on the fused image to be recognized.
[0031] Furthermore, the present application also provides an electronic device, comprising:
[0032] processor;
[0033] a memory for storing processor-executable instructions;
[0034] The processor is configured to execute the above fingerprint recognition method.
[0035] In addition, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to complete the above-mentioned fingerprint recognition method.
[0036] In the present application, the light spot in the fingerprint recognition area is illuminated before the finger touches the screen, so that several target images of the finger above the fingerprint recognition area from the time when the light spot is illuminated to the time when the finger touches the screen can be collected. When the finger is too dry or too wet, an image containing a clearer fingerprint can be collected, and the image to be identified for the fingerprint recognition task can be determined based on the collected image, thereby improving the success rate of fingerprint recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments of the present application.
[0038] Figure 1 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;
[0039] Figure 2 A schematic diagram of under-screen fingerprint recognition provided in one embodiment of the present application;
[0040] Figure 3 A schematic diagram of a fingerprint recognition method according to an embodiment of the present invention;
[0041] Figure 4 A schematic diagram of a flow chart of a target image acquisition method provided in one embodiment of the present application;
[0042] Figure 5 A schematic diagram of a process for generating an image to be recognized provided in one embodiment of the present application;
[0043] Figure 6 A schematic diagram of a target image sequence provided in one embodiment of the present application;
[0044] Figure 7 A block diagram of a fingerprint recognition device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0045] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0046] Similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.
[0047] like Figure 1 As shown, this embodiment provides an electronic device 1, including: at least one processor 11 and a memory 12, Figure 2 In the example, a processor 11 is used. Processor 11 and memory 12 are connected via bus 10. Memory 12 stores instructions executable by processor 11. Processor 11 executes these instructions, enabling electronic device 1 to perform all or part of the method described in the following embodiments. In one embodiment, electronic device 1 may be a mobile phone, tablet computer, or other device that supports optical under-screen fingerprint recognition technology, and is used to perform the fingerprint recognition method.
[0048] The memory 12 can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0049] The present application also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by the processor 11 to complete the fingerprint recognition method provided by the present application.
[0050] See also Figure 2 , is a schematic diagram of under-screen fingerprint recognition provided by an embodiment of the present application. Figure 2 As shown, the screen of the electronic device 200 supporting the under-screen optical fingerprint recognition technology has a fingerprint recognition area. Figure 2 The central fingerprint recognition area is indicated by the dotted oval box 21. Below this area lies the optical fingerprint module. When a finger 22 is pressed against the fingerprint recognition area, the optical fingerprint module captures several images containing fingerprints, compares the fingerprints in the images with pre-registered fingerprints, and performs subsequent device unlocking operations accordingly.
[0051] See also Figure 3 , is a flow chart of a fingerprint recognition method provided in an embodiment of the present application, such as Figure 3 As shown, the method may include the following steps 310 to 330.
[0052] Step 310: In response to the fingerprint recognition trigger instruction, control the light spot in the fingerprint recognition area on the screen to light up.
[0053] The fingerprint recognition trigger instruction is used to trigger the execution of the fingerprint recognition task.
[0054] When the electronic device determines that a fingerprint recognition trigger has occurred, it can control the fingerprint recognition area on the screen to emit light, forming a light spot. This light spot can indicate the fingerprint recognition area for pressing the finger, or it can illuminate the fingertip, thereby generating reflected light for image capture.
[0055] Step 320: During the time period when the light spot is on, several target images are collected above the fingerprint recognition area from the time when the finger does not touch the screen to the time when the finger fully touches the screen.
[0056] The duration of the light spot being on can be preconfigured. For example, the duration of the light spot being on can be one second, two seconds, or three seconds.
[0057] After the light spot lights up, the user can press their finger against the fingerprint recognition area. The finger gradually moves closer to the screen, eventually touching it completely. As the finger progresses from no contact to full contact, the electronic device can capture several target images, including the fingerprint.
[0058] Step 330: Perform fusion processing on the target image according to the image fusion algorithm, and perform the fingerprint recognition task based on the fused image to be recognized.
[0059] After capturing the target image, the electronic device can determine the image to be recognized based on the target image. The electronic device can capture multiple frames of target images and fuse them based on an image fusion algorithm to obtain the image to be recognized.
[0060] The fingerprint in the image to be identified is relatively clear. The electronic device performs the fingerprint identification task based on the image to be identified, which can effectively improve the recognition success rate.
[0061] Through the above measures, the light spot in the fingerprint recognition area is illuminated before the finger touches the screen, so that several target images of the finger above the fingerprint recognition area from the time when the light spot does not touch the screen to the time when the finger touches the screen can be collected when the light spot is illuminated. When the finger is too dry or too wet, an image containing a clearer fingerprint can be collected, so that the image to be identified for the fingerprint recognition task is determined based on the collected image, thereby improving the success rate of fingerprint recognition.
[0062] In one embodiment, the electronic device may monitor the fingerprint recognition trigger instruction before responding to the fingerprint recognition trigger instruction. During the fingerprint waiting recognition stage, if a pressing operation on the fingerprint recognition area is detected, the electronic device may determine that there is a fingerprint recognition trigger instruction.
[0063] The fingerprint waiting to be identified stage may be a stage when the electronic device is in a locked screen state.
[0064] During the fingerprint recognition phase, the user can press the fingerprint recognition area to generate a fingerprint recognition trigger instruction. Here, the pressing operation may include a click (i.e., pressing and then quickly lifting). After the trigger screen of the electronic device detects the pressing operation, it can determine that there is a fingerprint recognition trigger instruction. In this case, the subsequent fingerprint recognition process can be executed.
[0065] In one embodiment, a fingerprint recognition trigger instruction triggered by a press operation can be combined with existing fingerprint recognition solutions. During the fingerprint recognition phase, if the electronic device detects a press operation on the fingerprint recognition area, it can control the light spot in the fingerprint recognition area to illuminate and capture an image to be processed when the finger above the fingerprint recognition area touches the screen. Here, the image to be processed is the image captured when the finger touches the screen before the fingerprint recognition trigger instruction is generated.
[0066] The electronic device can perform fingerprint recognition tasks based on the image to be processed. On the one hand, if the recognition is successful, the fingerprint waiting stage ends and there is no need to generate a fingerprint recognition trigger instruction. On the other hand, if the recognition fails, the electronic device can determine that a fingerprint recognition trigger instruction exists and thus execute the subsequent fingerprint recognition process of this application.
[0067] In this embodiment, when the user unlocks the electronic device, he can click (press) the fingerprint recognition area on the screen. At this time, the electronic device can collect the image to be processed for fingerprint recognition based on the existing fingerprint recognition solution. If the fingerprint recognition is successful, the electronic device is unlocked. If the fingerprint recognition fails, the light spot in the fingerprint recognition area remains lit, and the user can click (press) the fingerprint recognition area again. At this time, the electronic device can collect multiple target images, fuse the target images into the image to be recognized, and then perform the fingerprint recognition task based on the image to be recognized. Fingerprint recognition is completed by the user double-clicking the operation.
[0068] Through the above measures, it is possible to be compatible with the existing fingerprint recognition solution, thereby performing two recognition tasks in one interaction process, thereby improving the success rate of fingerprint recognition.
[0069] In one embodiment, the electronic device may monitor the fingerprint recognition trigger instruction before responding to the fingerprint recognition trigger instruction. During the fingerprint waiting recognition stage, the electronic device receives the fingerprint recognition trigger instruction generated by a key operation.
[0070] During the fingerprint recognition phase, the user can press a preset function key on the electronic device for triggering fingerprint recognition to generate a fingerprint recognition trigger instruction. Alternatively, the user can use a preset shortcut operation method for generating a fingerprint recognition trigger instruction (for example, long pressing a function key) to press an existing function key to generate a fingerprint recognition trigger instruction. After confirming that the fingerprint recognition trigger instruction has been received, the subsequent fingerprint recognition process can be executed.
[0071] In one embodiment, the electronic device may monitor the fingerprint recognition trigger instruction before responding to the fingerprint recognition trigger instruction. During the fingerprint recognition waiting stage, if the electronic device detects a gesture change signal, it may be determined that there is a fingerprint recognition trigger instruction.
[0072] The posture change signal indicates a change in the posture of the electronic device. For example, if the electronic device is moved, lifted, or held at a different angle, a posture change signal is generated. The posture change signal can be generated by a device such as a gyroscope or distance sensor in the electronic device.
[0073] The electronic device can monitor a device that can generate a posture change signal. When a posture change signal is monitored, it determines that there is a fingerprint recognition trigger instruction, and then executes the subsequent fingerprint recognition process.
[0074] Through the measures in the above-mentioned embodiments, the fingerprint recognition process can be triggered in advance, and the fingerprint recognition area can be illuminated to illuminate the fingertips.
[0075] In one embodiment, see Figure 4 , is a flow chart of a target image acquisition method provided by an embodiment of the present application, such as Figure 4 As shown, when the electronic device executes step 320, it can execute the following steps 321 to 323.
[0076] Step 321: Collect multiple frames of candidate images above the fingerprint recognition area.
[0077] During the time period when the light spot is on, the electronic device can periodically capture images above the fingerprint recognition area. The captured multiple frames of images are used as candidate images for selecting the target image. Here, the cycle length can be pre-configured and can be 0.02 seconds.
[0078] Step 322: During the process of acquiring the candidate image, determine the designated time point when the finger touches the screen.
[0079] When a finger touches the fingerprint recognition area when the light spot is on, the touch screen of the electronic device can determine the time point when the finger touches the screen, which can be called a designated time point.
[0080] Step 323: Select candidate images captured before and after the specified time point as target images.
[0081] After determining the specified time point, the electronic device can select several candidate images captured before the specified time point as the target image, and select several candidate images captured after the specified time point as the target image. Exemplarily, the electronic device can select the last frame of candidate image captured before the specified time point as the target image, and select multiple frames of candidate images captured within a preset acquisition time period after the specified time point as the target image. Here, the acquisition time period can be pre-configured, and the acquisition time period is shorter than the time period when the light spot is on. Exemplarily, the electronic device can select the last frame of candidate image captured before the specified time point as the target image, and select a preset number of candidate images captured after the specified time point as the target image. Here, the number of images can be pre-configured.
[0082] Through this measure, multiple frames of target images can be collected.
[0083] In one embodiment, see Figure 5 , is a flow chart of generating an image to be recognized provided by an embodiment of the present application, such as Figure 5 As shown, when the electronic device executes step 330, it can execute the following steps 331 to 333.
[0084] Step 331: Determine the fingerprint contact area in each target image.
[0085] The fingerprint contact area is the area where the fingerprint contacts the screen in the image.
[0086] When you press your finger on the fingerprint recognition area on the screen for fingerprint recognition, the area where the fingerprint contacts the screen will gradually increase until the fingertip is completely in contact with the screen.
[0087] When the electronic device captures multiple frames of target images, the size of the fingerprint contact area in different target images may be different. Figure 6 , is a schematic diagram of a target image sequence provided by an embodiment of the present application, such as Figure 6 As shown in the figure, the target image sequence includes target images P0, P1, P2, and P3. P0 is the target image captured before the finger touches the screen. At this time, there is no fingerprint contact area in the image. P1, P2, and P3 are target images captured after the finger touches the screen. There are fingerprint contact areas in the images, which are the gray areas T1, T2, and T3 in the image respectively. The fingerprint contact area gradually increases as the finger presses the screen.
[0088] The electronic device may determine the fingerprint contact area in each target image separately.
[0089] Step 332: For each target image, cut out the image of the area to be identified from the target image according to the fingerprint contact area of the target image and the fingerprint contact area of the target image one frame after the target image.
[0090] For any target image, the electronic device can subtract the fingerprint contact area in the target image from the fingerprint contact area in the target image of the next frame of the target image to obtain the area to be identified of the target image, and cut out the area to be identified from the target image to obtain the image of the area to be identified corresponding to the target image.
[0091] by Figure 6 For example, if the fingerprint contact area in the target image P0 is empty and the fingerprint contact area in the next target image P1 is T1, it can be determined that the area to be identified in the target image P0 is T1, and the image of the area to be identified corresponding to T1 is cut out from the target image P0. If the fingerprint contact area in the target image P1 is T1 and the fingerprint contact area in the next target image P2 is T2, it can be determined that the area to be identified in the target image P1 is the annular area obtained by subtracting T1 from T2, and the image of the area to be identified corresponding to the annular area is cut out from the target image P1. If the fingerprint contact area in the target image P2 is T2 and the fingerprint contact area in the next target image P3 is T3, it can be determined that the area to be identified in the target image P2 is the annular area obtained by subtracting T2 from T3, and the image of the area to be identified corresponding to the annular area is cut out from the target image P2.
[0092] In addition, the area of the last frame target image except the fingerprint contact area can be used as the area to be identified, thereby obtaining the image of the area to be identified of the last frame target image.
[0093] Step 333: stitching the images of the to-be-recognized regions cut out from the multiple target images to obtain an image to be recognized.
[0094] The electronic device can splice the images of the to-be-recognized areas corresponding to the target images to obtain a complete image to be recognized.
[0095] Through this measure, the image of the fingerprint when it is closest to the screen but has not yet touched the screen can be determined from the target image. For fingers that are too dry or too wet, the fingerprint image is clearest at this time, thereby greatly improving the success rate of fingerprint recognition.
[0096] Figure 7 A fingerprint recognition device according to an embodiment of the present invention is Figure 7 As shown, the device may include:
[0097] A control module 710 is configured to control the brightness of the light spot in the fingerprint recognition area of the screen in response to a fingerprint recognition trigger instruction;
[0098] The acquisition module 720 is configured to acquire a plurality of target images above the fingerprint recognition area during the period when the light spot is on, from the time when the finger does not touch the screen to the time when the finger fully touches the screen;
[0099] The recognition module 730 is configured to perform a fusion process on the target image according to an image fusion algorithm, and perform a fingerprint recognition task based on the fused image to be recognized.
[0100] In one embodiment, the apparatus further comprises:
[0101] The monitoring module 740 is configured to determine that there is a fingerprint recognition trigger instruction if a pressing operation on the fingerprint recognition area is detected during the fingerprint recognition waiting stage.
[0102] In one embodiment, the monitoring module 740 is further configured to:
[0103] If a pressing operation on the fingerprint recognition area is detected, the light spot of the fingerprint recognition area is controlled to light up, and an image to be processed is collected when the finger above the fingerprint recognition area touches the screen;
[0104] A fingerprint recognition task is performed according to the image to be processed, and if the recognition fails, it is determined that the fingerprint recognition trigger instruction exists.
[0105] In one embodiment, the apparatus further comprises:
[0106] The monitoring module 740 is configured to receive the fingerprint recognition trigger instruction generated by a key operation during the fingerprint recognition waiting stage.
[0107] In one embodiment, the apparatus further comprises:
[0108] The monitoring module 740 is configured to determine the presence of the fingerprint recognition trigger instruction if a gesture change signal is detected during the fingerprint recognition waiting stage.
[0109] In one embodiment, the acquisition module 720 is further configured to:
[0110] Collecting multiple frames of candidate images above the fingerprint recognition area;
[0111] During the process of acquiring the candidate image, determining a specified time point when a finger contacts the screen;
[0112] The candidate images acquired before and after the designated time point are selected as the target images.
[0113] In one embodiment, the identification module 730 is further configured to:
[0114] determining a fingerprint contact area in each target image;
[0115] For each target image, based on the fingerprint contact area of the target image and the fingerprint contact area of the target image one frame after the target image, cut out the image of the area to be identified from the target image;
[0116] The images of the to-be-recognized areas cut out from the multiple target images are spliced together to obtain the to-be-recognized images.
[0117] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned fingerprint recognition method, and will not be repeated here.
[0118] In several embodiments provided in this application, the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of the devices, methods, and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a portion of code, and the module, program segment, or a portion of code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, may be implemented using a dedicated hardware-based system that performs the specified functions or actions, or may be implemented using a combination of dedicated hardware and computer instructions.
[0119] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0120] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
Claims
1. A fingerprint recognition method, characterized in that: include: In response to the fingerprint recognition trigger command, the light spot in the fingerprint recognition area on the screen is controlled to light up; During the time period when the light spot is on, a plurality of target images are collected above the fingerprint recognition area from the time when the finger does not touch the screen to the time when the finger fully touches the screen; Performing a fusion process on the target image according to an image fusion algorithm, and performing a fingerprint recognition task based on the fused image to be recognized; The fusing process of the target images according to the image fusion algorithm includes: determining the fingerprint contact area in each target image; For each target image, an image of the area to be identified is cropped from the target image based on the fingerprint contact area of the target image and the fingerprint contact area of the target image one frame after the target image; the images of the area to be identified cropped from multiple target images are spliced to obtain the image to be identified.
2. The method according to claim 1, characterized in that Before responding to the fingerprint recognition trigger instruction, the method further includes: In the fingerprint recognition waiting stage, if a pressing operation on the fingerprint recognition area is detected, it is determined that the fingerprint recognition trigger instruction exists.
3. The method according to claim 2, characterized in that If a pressing operation on the fingerprint recognition area is detected, determining that the fingerprint recognition trigger instruction exists includes: If a pressing operation on the fingerprint recognition area is detected, the light spot of the fingerprint recognition area is controlled to light up, and an image to be processed is collected when the finger above the fingerprint recognition area touches the screen; A fingerprint recognition task is performed according to the image to be processed, and if the recognition fails, it is determined that the fingerprint recognition trigger instruction exists.
4. The method according to claim 1, wherein Before responding to the fingerprint recognition trigger instruction, the method further includes: During the fingerprint identification stage, the fingerprint identification trigger instruction generated by a key operation is received.
5. The method according to claim 1, wherein Before responding to the fingerprint recognition trigger instruction, the method further includes: In the fingerprint recognition waiting stage, if a posture change signal is detected, it is determined that the fingerprint recognition trigger instruction exists.
6. The method according to claim 1, characterized in that The collecting of a plurality of target images above the fingerprint recognition area from the time when the finger does not touch the screen to the time when the finger fully touches the screen includes: Collecting multiple frames of candidate images above the fingerprint recognition area; During the process of acquiring the candidate image, determining a specified time point when a finger contacts the screen; The candidate images acquired before and after the designated time point are selected as the target images.
7. A fingerprint recognition device, characterized in that: include: A control module, configured to control the brightness of the light spot in the fingerprint recognition area on the screen in response to a fingerprint recognition trigger instruction; an acquisition module, configured to acquire a plurality of target images above the fingerprint recognition area from the time when the finger does not touch the screen to the time when the finger fully touches the screen, during a period when the light spot is on; The recognition module is used to perform a fusion process on the target image according to the image fusion algorithm, and perform a fingerprint recognition task based on the fused image to be recognized; The fusing process of the target images according to the image fusion algorithm includes: determining the fingerprint contact area in each target image; For each target image, an image of the area to be identified is cropped from the target image based on the fingerprint contact area of the target image and the fingerprint contact area of the target image one frame after the target image; the images of the area to be identified cropped from multiple target images are spliced to obtain the image to be identified.
8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute the fingerprint recognition method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and the computer program can be executed by a processor to implement the fingerprint recognition method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Fingerprint unlocking method and terminal
CN106096372A
Unlocking method and related product
CN108156306A
A method and apparatus for starting an optical fingerprint identification module, a storage medium,
CN109033977A
Fingerprint identification method and terminal
CN110298305A
Optical fingerprint anti-counterfeiting method and device and computer readable storage medium
CN110705481A