Acquiring or recognising fingerprints or palmprints