1. A method of recognizing a fingerprint, the method comprising: providing a fingerprint sensor; capturing a first set of images of a finger when the finger is swiped in a first direction on the fingerprint sensor; stitching the first set of images together to form a first stitched image; capturing a second set of images of the finger when the finger is swiped in a second direction on the fingerprint sensor; stitching the second set of images together to form a second stitched image; wherein the finger is deformed when swiped on the fingerprint sensor and wherein the deformation of the finger when swiped in the first direction is different from the deformation of the finger when swiped in the second direction; comparing minutiae in the first and the second stitched images to stored fingerprint data; determining whether the finger is recognizable based on the comparison; and generating movement information with the fingerprint sensor, the movement information indicative of movement of the finger on the fingerprint sensor; wherein the first and the second stitched images are formed based on the movement information.