| CPC G06V 40/1335 (2022.01) [G06V 40/1347 (2022.01)] | 20 Claims |

|
1. A fingerprint recognition method, wherein the method is applied to an electronic device, and the method comprises:
collecting a to-be-enrolled fingerprint image;
performing, based on a first calibration image, calibration processing on the to-be-enrolled fingerprint image to obtain a first fingerprint image; and
determining whether an adaptive calibration image exists in the electronic device; and
updating the first calibration image based on the first fingerprint image and a first update coefficient when the adaptive calibration image exists in the electronic device, to obtain a second calibration image, wherein the first calibration image is the adaptive calibration image, and the second calibration image is used to perform calibration processing on the collected fingerprint image; or
generating a third calibration image based on the first fingerprint image when no adaptive calibration image exists in the electronic device, wherein the third calibration image is used to perform calibration processing on the collected fingerprint image, the third calibration image is an image obtained by performing summation and averaging on a plurality of frames of fingerprint images, and the plurality of frames of fingerprint images comprise the first fingerprint image, or the third calibration image is an image obtained by updating the first calibration image based on the first fingerprint image.
|