This document presents novel algorithms for detecting and rectifying distorted fingerprints, which are crucial for improving the reliability of fingerprint recognition systems, especially in negative recognition applications. The proposed methods utilize a support vector machine classifier for distortion detection and a nearest neighbor approach for rectification, leveraging a reference database of distorted fingerprints. Experimental results demonstrate significant improvements in matching accuracy using the algorithms on several fingerprint databases.