Methods to improve the image recognition of fingerprints