The Detection of Fingerprint Reference Points Based on Orientation Fields