A preprocessing algorithm of a fingerprint image captured with a mobile camera is proposed. Fingerprint images from a mobile camera are different from images from conventional or touch-based sensors such as optical, capacitive, and thermal sensors. For example, images from a mobile camera are colored and the backgrounds or non-finger regions can be very erratic depending on how the image captures time and place. Also, the contrast between the ridges and valleys of images from a mobile camera is lower than that of images from touch-based sensors. Because of these differences between the input images, a new and modified fingerprint preprocessing algorithm is required for fingerprint recognition when using images captured with a mobile camera.