Deep learning compact binary codes for fingerprint indexing