1. A method for fingerprint recognition, comprising: capturing a first fingerprint image with a sensor; calculating direction vectors for a plurality of pixels of the first fingerprint image; locating characteristic points of the first fingerprint image in a first coordinate system; determining a fingerprint central nucleus of the first fingerprint image based on the direction vectors, wherein the fingerprint central nucleus is expressed in the first coordinate system; determining a second coordinate system whose origin is located relative to the fingerprint central nucleus of the first fingerprint image; mapping the characteristic points of the first fingerprint image to the second coordinate system; and saving the fingerprint central nucleus and fingerprint characteristic points of the first fingerprint image expressed in the second coordinate system as a fingerprint template.