Robust fingerprint detection for access control