Fingerprint verification method, device, electronic device, storage medium and program
By first collecting a short-exposure fingerprint image during the fingerprint verification process and combining it with multiple template image comparisons, the problem of low efficiency of the under-screen optical fingerprint sensor is solved, and efficient and accurate fingerprint recognition is achieved.
Patent Information
- Application Number
- CN202111614924.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2041-12-20
AI Technical Summary
Existing under-screen optical fingerprint sensors have long exposure times, resulting in low fingerprint recognition efficiency and accuracy that depends on the quality of the fingerprint image.
Use short exposure time to collect short exposure fingerprint images for preliminary verification. If it fails, long exposure images are collected again. Combined with the short exposure temporary template image, long exposure main template image and self-learning template image for comparison, the template image is updated to improve the accuracy.
While ensuring the accuracy of fingerprint verification, the overall time consumption of fingerprint verification is reduced, the efficiency is improved, and the collection time interval is reduced by dynamically updating the template image.
Smart Images

Figure CN114332959B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of computers, and in particular relates to a fingerprint verification method, device, electronic device, storage medium, and program. Background Art
[0002] With the rapid development of electronic devices, most electronic products have already provided fingerprint recognition functions. In particular, large-area under-screen fingerprint recognition functions are powerful and have greater market advantages. Currently, the implementation of under-screen fingerprint functions mainly relies on under-screen optical fingerprint sensors or under-screen ultrasonic fingerprint sensors. Under-screen optical fingerprint sensors are favored by many manufacturers due to their cost advantages.
[0003] However, since the fingerprint recognition accuracy of the under-screen optical fingerprint sensor depends on the quality of the collected fingerprint image, a longer exposure time is required to ensure the quality of the fingerprint image, but a longer exposure time will affect the efficiency of fingerprint recognition. Summary of the Invention
[0004] The present disclosure provides a fingerprint verification method, device, electronic device, storage medium and program.
[0005] An optical fingerprint verification method, the method comprising:
[0006] The optical fingerprint acquisition component is used to take a short-exposure photograph of the fingerprint of the target object to obtain a short-exposure fingerprint image;
[0007] If the short-exposure fingerprint image and the short-exposure temporary template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the short-exposure temporary template image with the short-exposure fingerprint image;
[0008] If the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, performing a long-exposure photograph of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image;
[0009] If the long-exposure fingerprint image and the long-exposure temporary template image are compared and passed, it is confirmed that the fingerprint verification of the target object is passed, and the long-exposure temporary template image is updated with the long-exposure fingerprint image.
[0010] Optionally, after performing long-exposure shooting of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image, the method further includes:
[0011] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure temporary template image, comparing the long-exposure fingerprint image with the long-exposure main template image;
[0012] If the long-exposure fingerprint image passes the comparison with the long-exposure main template image, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image;
[0013] Among them, the long-exposure main template image is obtained in advance by long-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component, and the long-exposure main template image meets the main template quality control requirements, and the number of images of the long-exposure main template image is less than that of the short-exposure temporary template image and the long-exposure temporary template image.
[0014] Optionally, after comparing the long-exposure fingerprint image with the long-exposure master template image, the method further includes:
[0015] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, comparing the long-exposure fingerprint image with the long-exposure self-learning template image;
[0016] If the long-exposure fingerprint image and the long-exposure self-learning template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image by using the long-exposure fingerprint image;
[0017] If the long-exposure fingerprint image fails to be compared with the long-exposure self-learning template image, confirming that the fingerprint verification of the target object fails;
[0018] The long-exposure self-learning template image is obtained by pre-shooting the fingerprint of the target object with long exposure using the optical fingerprint acquisition component, and the number of images of the long-exposure self-learning template image is greater than that of the long-exposure main template image.
[0019] Optionally, after comparing the long-exposure fingerprint image with the long-exposure self-learning template image, the method further includes:
[0020] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure self-learning template image and the current scene is a low-temperature scene, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image;
[0021] Comparing the optimized long-exposure fingerprint image with a long-exposure secondary template image, wherein the long-exposure secondary template image is obtained by processing the long-exposure main template image through the low-temperature image optimization algorithm;
[0022] If the optimized long-exposure fingerprint image and the long-exposure secondary template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image;
[0023] If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, it is determined that the fingerprint verification of the target object fails.
[0024] Optionally, before performing short-exposure shooting of the fingerprint of the target object by the optical fingerprint acquisition component to obtain the short-exposure fingerprint image, the method further includes:
[0025] In the absence of the short-exposure temporary template image, performing a long-exposure photographing of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image;
[0026] Comparing the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively;
[0027] If the short-exposure fingerprint image passes the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the short-exposure fingerprint image is used as the short-exposure temporary template image, and the long-exposure fingerprint image is used as the long-exposure temporary template image;
[0028] If the short-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the long-exposure fingerprint image is used as the long-exposure temporary template image;
[0029] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint acquisition component.
[0030] Optionally, after comparing the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively, the method further includes:
[0031] When the current scene is a low-temperature scene and the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image;
[0032] If the optimized long-exposure fingerprint image passes the comparison with the long-exposure secondary template image, the long-exposure fingerprint image is used as the long-exposure secondary fingerprint image;
[0033] If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint collection component.
[0034] Optionally, after updating the long-exposure temporary template image using the long-exposure fingerprint image, the method further includes:
[0035] When the long-exposure fingerprint image meets the self-learning template card control requirement, the long-exposure self-learning template image is updated using the long-exposure fingerprint image.
[0036] Optionally, the method further includes:
[0037] When the number of times that the optimized long exposure fingerprint image fails to be compared with the long exposure secondary template image reaches a threshold number of times, the process of comparing the optimized long exposure fingerprint image with the long exposure secondary template image is suspended in the subsequent fingerprint verification process;
[0038] In the subsequent fingerprint verification process, when any template image among the long exposure main template image, the long exposure temporary template image, and the short exposure temporary template image is compared and passed, the process of comparing the optimized long exposure fingerprint image with the long exposure sub-template image is resumed in the subsequent fingerprint verification process.
[0039] Some embodiments of the present disclosure provide a fingerprint verification device comprising:
[0040] The acquisition module is configured to perform short-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component to obtain a short-exposure fingerprint image;
[0041] a verification module configured to confirm that the fingerprint verification of the target object is successful if the short-exposure fingerprint image is compared with the short-exposure temporary template image, and to update the short-exposure temporary template image using the short-exposure fingerprint image;
[0042] The acquisition module is further configured to, if the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, perform a long-exposure shooting of the fingerprint of the target object through the optical fingerprint component to obtain a long-exposure fingerprint image;
[0043] The verification module is further configured to confirm that the fingerprint verification of the target object is successful if the long-exposure fingerprint image is compared with the long-exposure temporary template image, and update the long-exposure temporary template image using the long-exposure fingerprint image.
[0044] Optionally, the verification module is further configured to:
[0045] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure temporary template image, comparing the long-exposure fingerprint image with the long-exposure main template image;
[0046] If the long-exposure fingerprint image passes the comparison with the long-exposure main template image, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image;
[0047] Among them, the long-exposure main template image is obtained in advance by long-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component, and the long-exposure main template image meets the main template quality control requirements, and the number of images of the long-exposure main template image is less than that of the short-exposure temporary template image and the long-exposure temporary template image.
[0048] Optionally, the verification module is further configured to:
[0049] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, comparing the long-exposure fingerprint image with the long-exposure self-learning template image;
[0050] If the long-exposure fingerprint image and the long-exposure self-learning template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image by using the long-exposure fingerprint image;
[0051] If the long-exposure fingerprint image fails to be compared with the long-exposure self-learning template image, confirming that the fingerprint verification of the target object fails;
[0052] The long-exposure self-learning template image is obtained by pre-shooting the fingerprint of the target object with long exposure using the optical fingerprint acquisition component, and the number of images of the long-exposure self-learning template image is greater than that of the long-exposure main template image.
[0053] Optionally, the verification module is further configured to:
[0054] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure self-learning template image and the current scene is a low-temperature scene, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image;
[0055] Comparing the optimized long-exposure fingerprint image with a long-exposure secondary template image, wherein the long-exposure secondary template image is obtained by processing the long-exposure main template image through the low-temperature image optimization algorithm;
[0056] If the optimized long-exposure fingerprint image and the long-exposure secondary template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image;
[0057] If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, it is determined that the fingerprint verification of the target object fails.
[0058] Optionally, the verification module is further configured to:
[0059] In the absence of the short-exposure temporary template image, performing a long-exposure photographing of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image;
[0060] Comparing the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively;
[0061] If the short-exposure fingerprint image passes the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the short-exposure fingerprint image is used as the short-exposure temporary template image, and the long-exposure fingerprint image is used as the long-exposure temporary template image;
[0062] If the short-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the long-exposure fingerprint image is used as the long-exposure temporary template image;
[0063] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint acquisition component.
[0064] Optionally, the verification module is further configured to:
[0065] When the current scene is a low-temperature scene and the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image;
[0066] If the optimized long-exposure fingerprint image passes the comparison with the long-exposure secondary template image, the long-exposure fingerprint image is used as the long-exposure secondary fingerprint image;
[0067] If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint collection component.
[0068] Optionally, the verification module is further configured to:
[0069] When the long-exposure fingerprint image meets the self-learning template card control requirement, the long-exposure self-learning template image is updated using the long-exposure fingerprint image.
[0070] Optionally, the verification module is further configured to:
[0071] When the number of times that the optimized long exposure fingerprint image fails to be compared with the long exposure secondary template image reaches a threshold number of times, the process of comparing the optimized long exposure fingerprint image with the long exposure secondary template image is suspended in the subsequent fingerprint verification process;
[0072] In the subsequent fingerprint verification process, when any template image among the long exposure main template image, the long exposure temporary template image, and the short exposure temporary template image is compared and passed, the process of comparing the optimized long exposure fingerprint image with the long exposure sub-template image is resumed in the subsequent fingerprint verification process.
[0073] Some embodiments of the present disclosure provide a computing processing device, including:
[0074] a memory having computer-readable code stored therein;
[0075] One or more processors, when the computer readable code is executed by the one or more processors, the computing processing device performs the fingerprint verification method as described above.
[0076] Some embodiments of the present disclosure provide a computer program, comprising a computer-readable code. When the computer-readable code is executed on a computing processing device, the computer-readable code causes the computing processing device to execute the fingerprint verification method as described above.
[0077] Some embodiments of the present disclosure provide a non-transitory computer-readable medium storing the fingerprint verification method described above.
[0078] The present disclosure provides a fingerprint verification method, device, electronic device, storage medium and program. During the fingerprint verification process, a short exposure time is first used to collect a short-exposure fingerprint image and a short-exposure temporary template image for fingerprint verification. Only when the short-exposure fingerprint image fails the verification is a long-exposure fingerprint image collected for further fingerprint verification with the long-exposure temporary template image, thereby minimizing the efficiency of fingerprint verification. At the same time, the template image is updated by using the fingerprint image that has passed the verification, thereby reducing the time interval between the collection of the template image and the fingerprint image, thereby improving the accuracy of fingerprint verification.
[0079] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0081] Figure 1 The following schematically illustrates a flow chart of a fingerprint verification method provided by some embodiments of the present disclosure;
[0082] Figure 2 The following schematically illustrates a flow chart of another fingerprint verification method provided in some embodiments of the present disclosure;
[0083] Figure 3 The following schematically illustrates a flow chart of another fingerprint verification method provided in some embodiments of the present disclosure;
[0084] Figure 4 The following schematically shows a structural diagram of a fingerprint verification device provided by some embodiments of the present disclosure;
[0085] Figure 5 Schematically shows a block diagram of a computing processing device for executing the method according to some embodiments of the present disclosure;
[0086] Figure 6 The figure schematically shows a storage unit for holding or carrying program codes for implementing methods according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0087] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0088] Figure 4 The following schematically illustrates a flow chart of a fingerprint verification method provided by the present disclosure, wherein the method comprises:
[0089] Step 101: Use an optical fingerprint acquisition component to perform short-exposure shooting on the fingerprint of the target object to obtain a short-exposure fingerprint image.
[0090] It should be noted that the execution subject of the embodiment of the present disclosure can be an electronic device such as a mobile phone, tablet computer, wearable device, etc. that is integrated or connected with an optical fingerprint acquisition component. The optical fingerprint acquisition component can be an optical large-area sensor set under the display screen, or a camera that can take pictures of fingerprints, etc. The specific setting can be based on actual needs and is not limited here.
[0091] In an embodiment of the present disclosure, the target object may be a user who needs to verify the fingerprint through an electronic device. The user can place the finger in a position where the optical fingerprint collection component can capture the image, for example, by placing the finger on the position of the optical large-area sensor of the touch screen, so that the optical fingerprint collection component can collect the user's fingerprint. Considering that the longer the exposure time of the optical fingerprint collection component for collecting the fingerprint, the higher the quality of the collected fingerprint image, and of course the higher the accuracy of the fingerprint verification, the longer the exposure time will also increase the overall time required for fingerprint verification, which will also reduce the overall efficiency of fingerprint verification. Therefore, when the embodiment of the present disclosure performs fingerprint verification on the target object, a shorter exposure time is first used to collect a short-exposure fingerprint image to minimize the time consumed in fingerprint collection. The shorter exposure time can be a system default setting or can be set by the user according to their own needs. The set shorter exposure time must at least ensure that the collected short-exposure fingerprint image can clearly display the user's fingerprint. The specific shorter exposure time can be set according to actual needs and is not limited here.
[0092] Step 102 : If the short-exposure fingerprint image and the short-exposure temporary template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the short-exposure temporary template image is updated using the short-exposure fingerprint image.
[0093] In the embodiment of the present disclosure, the short-exposure temporary template image can be a reference image obtained by photographing the user's fingerprint in advance with a shorter exposure time, or it can be a short-exposure fingerprint image collected when the fingerprint verification was last successful. Taking into account that fingerprint images with the same exposure time have a higher similarity, the embodiment of the present disclosure performs fingerprint verification by comparing the short-exposure fingerprint image with a short-exposure temporary template image that is usually obtained by photographing with a shorter exposure time. If the comparison is successful, it can be determined that the current fingerprint verification has been successful. Furthermore, taking into account that the closer the collection time is, the higher the similarity is between fingerprint images, the embodiment of the present disclosure also replaces the short-exposure fingerprint image of the current fingerprint comparison and verification with the short-exposure temporary template image after the short-exposure fingerprint image and the short-exposure temporary template image have been successfully compared, and uses it as a new short-exposure temporary template image, thereby reducing the collection time interval between the short-exposure temporary template image and the short-exposure fingerprint image in the subsequent fingerprint verification process, thereby improving the accuracy of fingerprint verification.
[0094] Furthermore, the comparison between fingerprint images may be performed using image comparison methods such as Matcher comparison and similarity comparison, which may be specifically configured according to actual needs and are not limited here.
[0095] Step 103 : If the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, the fingerprint of the target object is photographed with long exposure by the optical fingerprint component to obtain a long-exposure fingerprint image.
[0096] In the embodiments of the present disclosure, as described above, increasing the exposure time for fingerprint capture can improve the quality of the captured fingerprint image. Therefore, when the short-exposure fingerprint image fails comparison, the present disclosure recaptures the user's fingerprint by acquiring a longer exposure time than the short-exposure image to obtain a long-exposure fingerprint image. Theoretically, the quality of the long-exposure fingerprint image is higher than that of the short-exposure image. Of course, the longer exposure time for the long-exposure image can be a system default setting or a user-defined setting, as long as it is greater than the shorter exposure time obtained by the short-exposure image. The specific setting can be based on actual needs and is not limited here.
[0097] Step 104 : If the long-exposure fingerprint image and the long-exposure temporary template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the long-exposure temporary template image is updated using the long-exposure fingerprint image.
[0098] In the embodiment of the present disclosure, the long exposure temporary template image is similar to the short exposure temporary template image, the difference being that the long exposure temporary template image has a longer exposure time when shooting, and can also be a long exposure fingerprint image that has been shot in advance or has passed the last fingerprint verification. Accordingly, the present disclosure also collects the long exposure fingerprint image that has passed the current fingerprint verification as a new long exposure temporary template image after the long exposure fingerprint image has been compared with the long exposure temporary template image, so as to update the long exposure temporary template image, thereby reducing the collection time interval between the long exposure temporary template image and the long exposure fingerprint image in the subsequent fingerprint verification process, and improving the accuracy of fingerprint verification. Of course, if the long exposure fingerprint image fails to pass the comparison with the long exposure temporary template image, it can be directly confirmed that the fingerprint verification has failed, or the fingerprint verification can be continued through other verification logics. The specific settings can be based on actual needs and are not limited here.
[0099] The disclosed embodiment first uses a shorter exposure time to collect a short-exposure fingerprint image and a short-exposure temporary template image for fingerprint verification during the fingerprint verification process, and only collects a long-exposure fingerprint image when the short-exposure fingerprint image verification fails to be further verified with the long-exposure temporary template image, thereby reducing the efficiency of fingerprint verification as much as possible. At the same time, the template image is updated by using the fingerprint image that has passed the verification to reduce the collection time interval between the template image and the fingerprint image, thereby improving the accuracy of fingerprint verification.
[0100] Figure 4 The following schematically illustrates a flow chart of another fingerprint verification method provided by the present disclosure, wherein the method comprises:
[0101] Step 201: Use an optical fingerprint acquisition component to perform short-exposure shooting on the fingerprint of the target object to obtain a short-exposure fingerprint image.
[0102] This step can be described with reference to the detailed description of step 101 and will not be repeated here.
[0103] Step 202: If there is a short-exposure temporary template image, compare the short-exposure temporary template image with the short-exposure fingerprint image.
[0104] In the embodiment of the present disclosure, since the short-exposure temporary template image is the short-exposure fingerprint image collected when the last fingerprint verification was passed, if the fingerprint verification is performed on the target object for the first time, or the time interval between this fingerprint verification and the last fingerprint verification exceeds a preset time period such as 1 day, 2 days, or 1 week, resulting in the previous short-exposure temporary template image being invalid, it can be deemed that there is no short-exposure temporary template image.
[0105] Step 203 : If the short-exposure fingerprint image and the short-exposure temporary template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the short-exposure temporary template image is updated using the short-exposure fingerprint image.
[0106] This step can be described in detail with reference to step 102 and will not be repeated here.
[0107] Step 204 : If the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, the fingerprint of the target object is photographed with long exposure by the optical fingerprint component to obtain a long-exposure fingerprint image.
[0108] This step can be described in detail with reference to step 103 and will not be repeated here.
[0109] Step 205 : If the long-exposure fingerprint image and the long-exposure temporary template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the long-exposure temporary template image is updated using the long-exposure fingerprint image.
[0110] This step can be described in detail with reference to step 104 and will not be repeated here.
[0111] Among them, the long-exposure main template image is obtained in advance by long-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component, and the long-exposure main template image meets the main template quality control requirements, and the number of images of the long-exposure main template image is less than that of the short-exposure temporary template image and the long-exposure temporary template image.
[0112] Step 206 : If the long-exposure fingerprint image fails to be compared with the long-exposure temporary template image, the long-exposure fingerprint image is compared with the long-exposure main template image.
[0113] In the embodiment of the present disclosure, the long-exposure main template image is a long-exposure fingerprint image based on quality control input when the user turns on the fingerprint verification function of the electronic device. The number of images of the long-exposure main template image can be 16, 18, 20, etc. The more images of the long-exposure main template image, the lower the efficiency of fingerprint verification, but the higher the success rate and accuracy. The specific setting can be based on actual needs and is not limited here.
[0114] Step 207 : If the long-exposure fingerprint image and the long-exposure main template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the long-exposure temporary template image is updated using the long-exposure fingerprint image.
[0115] In the embodiment of the present disclosure, when the long-exposure fingerprint image passes the comparison with the long-exposure main template image, a long-exposure temporary template image is created based on the long-exposure fingerprint image for subsequent fingerprint verification.
[0116] The embodiment of the present disclosure uses a long-exposure main template image with a larger number of images to perform fingerprint verification only when the long-exposure temporary template image verification fails, thereby minimizing the number of times fingerprint verification is performed using a long-exposure main template image with a larger number of images during the fingerprint verification process, thereby improving the efficiency of fingerprint verification.
[0117] Step 208 : If the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the long-exposure fingerprint image is compared with the long-exposure self-learning template image.
[0118] In the embodiment of the present disclosure, the long exposure self-learning template image is a self-learning template set that also has a long exposure comparison map with quality control and dynamic updates. Compared with the long exposure main template image, the self-learning template set that also has a long exposure comparison map with quality control and dynamic updates has more images than the long exposure main template image.
[0119] Step 209 : If the long-exposure fingerprint image and the long-exposure self-learning template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the long-exposure temporary template image is updated using the long-exposure fingerprint image.
[0120] In the embodiment of the present disclosure, if the long-exposure fingerprint image passes the comparison with the long-exposure self-learning template image, the fingerprint verification is still considered to have passed, and the long-exposure temporary template image is replaced by the long-exposure fingerprint image collected this time as the new long-exposure temporary template image.
[0121] Step 210 : If the long-exposure fingerprint image fails to be compared with the long-exposure self-learning template image, it is determined that the fingerprint verification of the target object fails.
[0122] The long-exposure self-learning template image is obtained by pre-shooting the fingerprint of the target object with long exposure using the optical fingerprint acquisition component, and the number of images of the long-exposure self-learning template image is greater than that of the long-exposure main template image.
[0123] The disclosed embodiment uses a long-exposure self-learning template image with a larger number of images to perform fingerprint verification only when the long-exposure main template image verification fails, thereby minimizing the number of times fingerprint verification is performed using a long-exposure self-learning template image with a larger number of images during the fingerprint verification process, improving the efficiency of fingerprint verification, and adapting to the characteristic that the long-exposure self-learning template image has a larger number of images, which may reduce the possibility of fingerprint verification failure due to a shortage of fingerprint images for comparison, and also improve the success rate of fingerprint verification.
[0124] Step 211 : In the absence of the short-exposure temporary template image, the fingerprint of the target object is photographed with long exposure by the optical fingerprint component to obtain a long-exposure fingerprint image.
[0125] In the embodiment of the present disclosure, regardless of whether the subsequent short-exposure fingerprint image passes the comparison with the long-exposure master template image, the fingerprint of the target object needs to be photographed with a long exposure to obtain a long-exposure fingerprint image. The specific process of long-exposure photography can be referred to the detailed description of step 103 and will not be repeated here.
[0126] Step 212: Compare the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively.
[0127] In the embodiment of the present disclosure, regardless of whether the short-exposure fingerprint image passes the comparison with the long-exposure main template image, the long-exposure main template image must be compared with the long-exposure fingerprint image collected this time to avoid the accuracy of subsequent fingerprint verification being affected by the quality of the short-exposure temporary template image.
[0128] Step 213: If the short-exposure fingerprint image passes comparison with the long-exposure main template image, and the long-exposure fingerprint image passes comparison with the long-exposure main template image, the short-exposure fingerprint image is used as a short-exposure temporary template image, and the long-exposure fingerprint image is used as a long-exposure temporary template image.
[0129] In the embodiment of the present disclosure, if both the short-exposure fingerprint image and the long-exposure fingerprint image collected this time pass the comparison with the long-exposure main template image, the short-exposure fingerprint image collected this time will be used as the short-exposure temporary template image, and the long-exposure fingerprint image collected this time will be used as the long-exposure temporary template image.
[0130] Step 214 : If the comparison between the short-exposure fingerprint image and the long-exposure master template image fails, and the comparison between the long-exposure fingerprint image and the long-exposure master template image passes, the long-exposure fingerprint image is used as a long-exposure temporary template image.
[0131] In the embodiment of the present disclosure, if only the long-exposure fingerprint image passes the comparison with the long-exposure main template image, and the short-exposure fingerprint image fails the comparison with the long-exposure main template image, only the long-exposure fingerprint image collected this time will be used as the long-exposure temporary template image.
[0132] Step 215 : If the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint acquisition component.
[0133] In the embodiment of the present disclosure, if the long-exposure fingerprint image passes the comparison with the long-exposure main template image, regardless of whether the short-exposure fingerprint image passes the comparison with the long-exposure main template image, the current round of verification process is terminated and the short-exposure fingerprint image acquisition process in step 201 is re-entered.
[0134] Optionally, the method further includes: when the long-exposure fingerprint image meets the self-learning template card control requirement, updating the long-exposure self-learning template image by using the long-exposure fingerprint image.
[0135] In the disclosed embodiment, if the long-exposure fingerprint image is successfully compared with any template image in the above-mentioned embodiments of steps 201 to 216, it is determined whether the quality of the long-exposure fingerprint image meets the self-learning template control requirement for updating the long-exposure self-learning template image, and then controls whether to update the self-learning template. The self-learning template control requirement can specifically be that the clarity, resolution, or other image quality-related indicators of the long-exposure fingerprint image meet the control threshold. The specific setting can be based on actual needs and is not limited here.
[0136] Specifically, each time the long-exposure self-learning template image is updated, the long-exposure fingerprint image collected this time may be used to replace the long-exposure self-learning template image collected earlier.
[0137] The embodiment of the present disclosure uses the long-exposure fingerprint image to update the long-exposure self-learning template image each time the long-exposure fingerprint image comparison passes, thereby ensuring the validity of the long-exposure self-learning template image and improving the success rate of fingerprint verification.
[0138] Figure 3 The following schematically illustrates a flow chart of another fingerprint verification method provided by the present disclosure, wherein the method comprises:
[0139] Step 301: Use an optical fingerprint acquisition component to perform short-exposure shooting on the fingerprint of the target object to obtain a short-exposure fingerprint image.
[0140] This step can be described with reference to the detailed description of step 101 and will not be repeated here.
[0141] Step 302: If there is a short-exposure temporary template image, compare the short-exposure temporary template image with the short-exposure fingerprint image.
[0142] This step can refer to the detailed description of step 202 and will not be repeated here.
[0143] Step 303 : If the short-exposure fingerprint image and the short-exposure temporary template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the short-exposure temporary template image is updated using the short-exposure fingerprint image.
[0144] This step can be described in detail with reference to step 102 and will not be repeated here.
[0145] Step 304 : If the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, the fingerprint of the target object is photographed with long exposure by the optical fingerprint component to obtain a long-exposure fingerprint image.
[0146] This step can be described in detail with reference to step 103 and will not be repeated here.
[0147] Step 305 : If the long-exposure fingerprint image and the long-exposure temporary template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the long-exposure temporary template image is updated using the long-exposure fingerprint image.
[0148] This step can be described in detail with reference to step 104 and will not be repeated here.
[0149] Among them, the long-exposure main template image is obtained in advance by long-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component, and the long-exposure main template image meets the main template quality control requirements, and the number of images of the long-exposure main template image is less than that of the short-exposure temporary template image and the long-exposure temporary template image.
[0150] Step 306 : If the long-exposure fingerprint image fails to be compared with the long-exposure temporary template image, the long-exposure fingerprint image is compared with the long-exposure main template image.
[0151] This step can be described in detail with reference to step 206 and will not be repeated here.
[0152] Step 307 : If the long-exposure fingerprint image passes the comparison with the long-exposure main template image, it is confirmed that the fingerprint verification of the target object is passed, and the long-exposure temporary template image is updated with the long-exposure fingerprint image.
[0153] This step can be described in detail with reference to step 207 and will not be repeated here.
[0154] Step 308 : If the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the long-exposure fingerprint image is compared with a long-exposure self-learning template image.
[0155] This step can be described in detail with reference to step 208 and will not be repeated here.
[0156] Step 309 : If the long-exposure fingerprint image and the long-exposure self-learning template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the long-exposure temporary template image is updated using the long-exposure fingerprint image.
[0157] This step can be described in detail with reference to step 209 and will not be repeated here.
[0158] In step 310 , if the long-exposure fingerprint image fails to pass the comparison with the long-exposure self-learning template image and the current scene is a low-temperature scene, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image.
[0159] In the embodiment of the present disclosure, considering that the signals of fingerprint images collected from some users are weak in low-temperature scenes, the long-exposure fingerprint images are optimized by adopting the same low-temperature image optimization algorithm to enhance the image signal.
[0160] Step 310: Compare the optimized long-exposure fingerprint image with a long-exposure secondary template image. The long-exposure secondary template image is obtained by processing the long-exposure main template image using the low-temperature image optimization algorithm.
[0161] In the embodiment of the present disclosure, by processing the long-exposure main template image according to the same low-temperature image optimization algorithm, the similarity with the optimized long-exposure fingerprint image can be improved to a certain extent, thereby improving the success rate of fingerprint unlocking in low-temperature scenarios.
[0162] Step 311 : If the optimized long-exposure fingerprint image and the long-exposure secondary template image are compared successfully, it is confirmed that the fingerprint verification of the target object is successful, and the long-exposure temporary template image is updated using the long-exposure fingerprint image.
[0163] In the embodiment of the present disclosure, similar to the normal temperature scenario, if the optimized long-exposure fingerprint image passes the comparison with the long-exposure secondary template image, the user's fingerprint verification can be determined to be successful, and the long-exposure fingerprint image can be used to update the long-exposure temporary template image.
[0164] Step 312: If the optimized long-exposure fingerprint image fails to be compared with the long-exposure secondary template image, confirm that the fingerprint verification of the target object fails.
[0165] In the disclosed embodiment, if the optimized long-exposure fingerprint image is compared with the long-exposure secondary template image, it can be directly determined that the current fingerprint verification has failed and the next round of fingerprint verification process can be directly entered.
[0166] The disclosed embodiment introduces a long-exposure fingerprint image processed by a low-temperature image optimization algorithm in a low-temperature scene and compares it with a long-exposure sub-template image obtained by processing a long-exposure main template image using the same processing algorithm. This avoids as much as possible the situation where the fingerprint verification is different due to weak fingerprint image signals caused by low temperature, thereby improving the pass rate of fingerprint verification in low-temperature scenes.
[0167] Step 313: In the absence of the short-exposure temporary template image, the fingerprint of the target object is photographed with long exposure by the optical fingerprint component to obtain a long-exposure fingerprint image.
[0168] This step can be described in detail with reference to step 211 and will not be repeated here.
[0169] Step 314 : Compare the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively.
[0170] This step can be described in detail with reference to step 212 and will not be repeated here.
[0171] Step 315: If the short-exposure fingerprint image passes comparison with the long-exposure main template image, and the long-exposure fingerprint image passes comparison with the long-exposure main template image, the short-exposure fingerprint image is used as a short-exposure temporary template image, and the long-exposure fingerprint image is used as a long-exposure temporary template image.
[0172] This step can be described in detail with reference to step 213 and will not be repeated here.
[0173] Step 316: If the comparison between the short-exposure fingerprint image and the long-exposure master template image fails, and the comparison between the long-exposure fingerprint image and the long-exposure master template image passes, the long-exposure fingerprint image is used as a long-exposure temporary template image.
[0174] This step can be described in detail with reference to step 214 and will not be repeated here.
[0175] Step 317: If the current scene is a low-temperature scene and the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the long-exposure fingerprint image is processed using a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image.
[0176] Step 318: If the optimized long-exposure fingerprint image passes the comparison with the long-exposure secondary template image, the long-exposure fingerprint image is used as the long-exposure secondary fingerprint image.
[0177] Step 319: If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint acquisition component.
[0178] In some embodiments of the present disclosure, referring to the above description, when creating a long-exposure temporary template image in a low-temperature scene, if the long-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, the long-exposure fingerprint image can be processed by the low-temperature image optimization algorithm and then compared with the long-exposure sub-template image again. If the comparison passes, it can be determined that the verification is passed, and the long-exposure temporary template image can be created using the long-exposure fingerprint image. Otherwise, the fingerprint of the target object can be collected and verified again.
[0179] The disclosed embodiments avoid as much as possible the situation in which fingerprint verification is different due to a weak fingerprint image signal caused by low temperature, thereby improving the pass rate of fingerprint verification in low temperature scenarios.
[0180] This step can be described in detail with reference to step 215 and will not be repeated here.
[0181] Optionally, the method further includes:
[0182] A1. When the number of consecutive failures in the comparison between the optimized long exposure fingerprint image and the long exposure secondary template image reaches a threshold, the process of comparing the optimized long exposure fingerprint image with the long exposure secondary template image is suspended in the subsequent fingerprint verification process.
[0183] A2. During the subsequent fingerprint verification process, when any template image among the long-exposure main template image, the long-exposure temporary template image, and the short-exposure temporary template image passes the comparison, the process of comparing the optimized long-exposure fingerprint image with the long-exposure secondary template image is resumed during the subsequent fingerprint verification process.
[0184] In the embodiment of the present disclosure, considering that the use of a long exposure sub-template image for comparison requires optimization processing of the long exposure fingerprint image, which requires more processing resources and prolongs the fingerprint verification time, the embodiment of the present disclosure suspends the use of the comparison logic process using the long exposure sub-template image after the long exposure sub-template image is used continuously to reach a target number threshold, such as 3 times, 5 times, 6 times, etc., and re-enables the comparison logic process of the long exposure sub-template image after any template image is compared, thereby minimizing the impact of the algorithm processing process on the fingerprint verification process and ensuring the efficiency of fingerprint verification.
[0185] Figure 4 The structure diagram of a fingerprint verification device 30 provided by the present disclosure is schematically shown, and the device includes:
[0186] The acquisition module 301 is configured to perform short-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component to obtain a short-exposure fingerprint image;
[0187] The verification module 302 is configured to confirm that the fingerprint of the target object has been verified if the short-exposure fingerprint image is compared with the short-exposure temporary template image, and update the short-exposure temporary template image with the short-exposure fingerprint image;
[0188] The acquisition module 301 is further configured to, if the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, perform a long-exposure shooting of the fingerprint of the target object through the optical fingerprint component to obtain a long-exposure fingerprint image;
[0189] The verification module 302 is further configured to confirm that the fingerprint verification of the target object is successful if the long-exposure fingerprint image is compared with the long-exposure temporary template image, and update the long-exposure temporary template image with the long-exposure fingerprint image.
[0190] Optionally, the verification module 302 is further configured to:
[0191] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure temporary template image, comparing the long-exposure fingerprint image with the long-exposure main template image;
[0192] If the long-exposure fingerprint image passes the comparison with the long-exposure main template image, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image;
[0193] Among them, the long-exposure main template image is obtained in advance by long-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component, and the long-exposure main template image meets the main template quality control requirements, and the number of images of the long-exposure main template image is less than that of the short-exposure temporary template image and the long-exposure temporary template image.
[0194] Optionally, the verification module 302 is further configured to:
[0195] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, comparing the long-exposure fingerprint image with the long-exposure self-learning template image;
[0196] If the long-exposure fingerprint image and the long-exposure self-learning template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image by using the long-exposure fingerprint image;
[0197] If the long-exposure fingerprint image fails to be compared with the long-exposure self-learning template image, confirming that the fingerprint verification of the target object fails;
[0198] The long-exposure self-learning template image is obtained by pre-shooting the fingerprint of the target object with long exposure using the optical fingerprint acquisition component, and the number of images of the long-exposure self-learning template image is greater than that of the long-exposure main template image.
[0199] Optionally, the verification module 302 is further configured to:
[0200] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure self-learning template image and the current scene is a low-temperature scene, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image;
[0201] Comparing the optimized long-exposure fingerprint image with a long-exposure secondary template image, wherein the long-exposure secondary template image is obtained by processing the long-exposure main template image through the low-temperature image optimization algorithm;
[0202] If the optimized long-exposure fingerprint image and the long-exposure secondary template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image;
[0203] If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, it is determined that the fingerprint verification of the target object fails.
[0204] Optionally, the verification module 302 is further configured to:
[0205] In the absence of the short-exposure temporary template image, performing a long-exposure photographing of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image;
[0206] Comparing the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively;
[0207] If the short-exposure fingerprint image passes the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the short-exposure fingerprint image is used as the short-exposure temporary template image, and the long-exposure fingerprint image is used as the long-exposure temporary template image;
[0208] If the short-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the long-exposure fingerprint image is used as the long-exposure temporary template image;
[0209] If the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint acquisition component.
[0210] Optionally, the verification module 302 is further configured to:
[0211] When the current scene is a low-temperature scene and the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image;
[0212] If the optimized long-exposure fingerprint image passes the comparison with the long-exposure secondary template image, the long-exposure fingerprint image is used as the long-exposure secondary fingerprint image;
[0213] If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint collection component.
[0214] Optionally, the verification module 302 is further configured to:
[0215] When the long-exposure fingerprint image meets the self-learning template card control requirement, the long-exposure self-learning template image is updated using the long-exposure fingerprint image.
[0216] Optionally, the verification module 302 is further configured to:
[0217] When the number of times that the optimized long exposure fingerprint image fails to be compared with the long exposure secondary template image reaches a threshold number of times, the process of comparing the optimized long exposure fingerprint image with the long exposure secondary template image is suspended in the subsequent fingerprint verification process;
[0218] In the subsequent fingerprint verification process, when any template image among the long exposure main template image, the long exposure temporary template image, and the short exposure temporary template image is compared and passed, the process of comparing the optimized long exposure fingerprint image with the long exposure sub-template image is resumed in the subsequent fingerprint verification process.
[0219] The disclosed embodiment first uses a shorter exposure time to collect a short-exposure fingerprint image and a short-exposure temporary template image for fingerprint verification during the fingerprint verification process, and only collects a long-exposure fingerprint image when the short-exposure fingerprint image verification fails to be further verified with the long-exposure temporary template image, thereby reducing the efficiency of fingerprint verification as much as possible. At the same time, the template image is updated by using the fingerprint image that has passed the verification to reduce the collection time interval between the template image and the fingerprint image, thereby improving the accuracy of fingerprint verification.
[0220] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0221] The various component embodiments of the present disclosure can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the computing processing equipment according to the embodiments of the present disclosure. The present disclosure can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present disclosure can be stored on a non-transient computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0222] For example, Figure 5A computing processing device is shown that can implement the method according to the present disclosure. The computing processing device conventionally includes a processor 310 and a computer program product or non-transitory computer-readable medium in the form of a memory 320. The memory 320 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. The memory 320 has a storage space 330 for program code 331 for executing any method step in the above method. For example, the storage space 330 for program code can include individual program codes 331 for implementing various steps in the above method respectively. These program codes can be read from or written to one or more computer program products. These computer program products include program code carriers such as a hard disk, a compact disk (CD), a memory card or a floppy disk. Such a computer program product is typically as described in reference to Figure 3 The portable or fixed storage unit. The storage unit may have Figure 5 The memory 320 in the computing and processing device may be similarly arranged as a memory segment, storage space, or the like. The program code may be compressed, for example, in a suitable form. Typically, the storage unit includes computer-readable code 331′, i.e., code that can be read by a processor such as 310, and when executed by the computing and processing device, causes the computing and processing device to perform the steps of the method described above.
[0223] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0224] References herein to "one embodiment," "an embodiment," or "one or more embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present disclosure. Furthermore, please note that instances of the phrase "in one embodiment" do not necessarily all refer to the same embodiment.
[0225] In the description provided herein, numerous specific details are described. However, it is understood that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.
[0226] In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in the claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present disclosure may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0227] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present disclosure.
Claims
1. An optical fingerprint verification method, characterized in that: The method comprises: The optical fingerprint acquisition component is used to take a short-exposure photograph of the fingerprint of the target object to obtain a short-exposure fingerprint image; If the short-exposure fingerprint image and the short-exposure temporary template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the short-exposure temporary template image with the short-exposure fingerprint image; If the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, performing a long-exposure photograph of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image; If the long-exposure fingerprint image and the long-exposure temporary template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image; After performing long-exposure shooting of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image, the method further includes: If the long-exposure fingerprint image fails to pass the comparison with the long-exposure temporary template image, comparing the long-exposure fingerprint image with the long-exposure main template image; After comparing the long-exposure fingerprint image with the long-exposure master template image, the method further includes: If the long-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, the long-exposure fingerprint image is compared with a long-exposure self-learning template image.
2. The method according to claim 1, characterized in that After performing long-exposure shooting of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image, the method further includes: If the long-exposure fingerprint image passes the comparison with the long-exposure main template image, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image; Among them, the long-exposure main template image is obtained in advance by long-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component, and the long-exposure main template image meets the main template quality control requirements, and the number of images of the long-exposure main template image is less than that of the short-exposure temporary template image and the long-exposure temporary template image.
3. The method according to claim 2, characterized in that After comparing the long-exposure fingerprint image with the long-exposure master template image, the method further includes: If the long-exposure fingerprint image and the long-exposure self-learning template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image by using the long-exposure fingerprint image; If the long-exposure fingerprint image fails to be compared with the long-exposure self-learning template image, confirming that the fingerprint verification of the target object fails; The long-exposure self-learning template image is obtained by pre-shooting the fingerprint of the target object with long exposure using the optical fingerprint acquisition component, and the number of images of the long-exposure self-learning template image is greater than that of the long-exposure main template image.
4. The method according to claim 3, characterized in that After comparing the long-exposure fingerprint image with the long-exposure self-learning template image, the method further includes: If the long-exposure fingerprint image fails to pass the comparison with the long-exposure self-learning template image and the current scene is a low-temperature scene, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image; Comparing the optimized long-exposure fingerprint image with a long-exposure secondary template image, wherein the long-exposure secondary template image is obtained by processing the long-exposure main template image through the low-temperature image optimization algorithm; If the optimized long-exposure fingerprint image and the long-exposure secondary template image are compared and pass, confirming that the fingerprint verification of the target object is passed, and updating the long-exposure temporary template image with the long-exposure fingerprint image; If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, it is determined that the fingerprint verification of the target object fails.
5. The method according to claim 1, wherein Before performing short-exposure shooting of the fingerprint of the target object by the optical fingerprint acquisition component to obtain the short-exposure fingerprint image, the method further includes: In the absence of the short-exposure temporary template image, performing a long-exposure photographing of the fingerprint of the target object by the optical fingerprint component to obtain a long-exposure fingerprint image; Comparing the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively; If the short-exposure fingerprint image passes the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the short-exposure fingerprint image is used as the short-exposure temporary template image, and the long-exposure fingerprint image is used as the long-exposure temporary template image; If the short-exposure fingerprint image fails to pass the comparison with the long-exposure main template image, and the long-exposure fingerprint image passes the comparison with the long-exposure main template image, the long-exposure fingerprint image is used as the long-exposure temporary template image; If the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint acquisition component.
6. The method according to claim 5, characterized in that: After comparing the short-exposure fingerprint image and the long-exposure fingerprint image with the long-exposure master template image respectively, the method further includes: When the current scene is a low-temperature scene and the long-exposure fingerprint image fails to pass the comparison with the long-exposure master template image, the long-exposure fingerprint image is processed by a low-temperature image optimization algorithm to obtain an optimized long-exposure fingerprint image; If the optimized long-exposure fingerprint image passes the comparison with the long-exposure secondary template image, the long-exposure fingerprint image is used as the long-exposure secondary fingerprint image; If the optimized long-exposure fingerprint image fails to pass the comparison with the long-exposure secondary template image, the fingerprint of the target object is photographed again with short exposure by the optical fingerprint collection component.
7. The method according to any one of claims 1 to 6, characterized in that After updating the long-exposure temporary template image using the long-exposure fingerprint image, the method further includes: When the long-exposure fingerprint image meets the self-learning template card control requirement, the long-exposure self-learning template image is updated using the long-exposure fingerprint image.
8. The method according to claim 4 or 6, characterized in that The method further comprises: When the number of times that the optimized long exposure fingerprint image fails to be compared with the long exposure secondary template image reaches a threshold number of times, the process of comparing the optimized long exposure fingerprint image with the long exposure secondary template image is suspended in the subsequent fingerprint verification process; In the subsequent fingerprint verification process, when any template image among the long exposure main template image, the long exposure temporary template image, and the short exposure temporary template image is compared and passed, the process of comparing the optimized long exposure fingerprint image with the long exposure sub-template image is resumed in the subsequent fingerprint verification process.
9. A fingerprint verification device, characterized in that: The device comprises: The acquisition module is configured to perform short-exposure shooting of the fingerprint of the target object through the optical fingerprint acquisition component to obtain a short-exposure fingerprint image; a verification module configured to confirm that the fingerprint verification of the target object is successful if the short-exposure fingerprint image is compared with the short-exposure temporary template image, and to update the short-exposure temporary template image using the short-exposure fingerprint image; The acquisition module is further configured to, if the short-exposure fingerprint image fails to pass the comparison with the short-exposure temporary template image, perform a long-exposure shooting of the fingerprint of the target object through the optical fingerprint component to obtain a long-exposure fingerprint image; The verification module is further configured to, if the long-exposure fingerprint image passes the comparison with the long-exposure temporary template image, confirm that the fingerprint verification of the target object is successful, and update the long-exposure temporary template image using the long-exposure fingerprint image; The verification module is further configured to compare the long-exposure fingerprint image with the long-exposure main template image if the long-exposure fingerprint image fails to pass the comparison with the long-exposure temporary template image; The verification module is further configured to compare the long-exposure fingerprint image with a long-exposure self-learning template image if the long-exposure fingerprint image fails to pass the comparison with the long-exposure main template image.
10. A computing and processing device, characterized in that: include: a memory having computer readable code stored therein; One or more processors, when the computer-readable code is executed by the one or more processors, the computing processing device performs the fingerprint verification method according to any one of claims 1 to 8.
11. A non-transitory computer-readable medium, characterized in that A computer program for the fingerprint verification method according to any one of claims 1 to 8 is stored therein.
Citation Information
Patent Citations
Fingerprint template update method and related product
CN109145800A
Image acquisition device and method and electronic equipment
CN111066027A
Fingerprint identification method and device, electronic equipment and storage medium
CN111400686A