This paper presents a novel fingerprint feature extraction algorithm aimed at improving automatic fingerprint identification systems (AFIS) through enhanced preprocessing and postprocessing techniques. It details the processes of fingerprint image enhancement, including local histogram equalization, multistage median filtering, adaptive binarization, and thinning, followed by the reliable extraction of minutiae features. The proposed methods successfully address challenges faced with low-quality fingerprints, ensuring robust performance in feature extraction.