Finding treasures with physics: the fingerprint matrix