Advanced Fingerprint Recognition: From 3D Shape to Ridge Detail