Almost all ATM's have camera's, but on many, the position is from above, so anyone wearing cap or hat with a visor will not be recognizable on the photos.

I have seen some ATM's that have the camera coming our from the middle of the machine into the face of the person using it, thus providing for a more recognizable face.