The camera is needed at an ATM in security measures. If a hacker hacked an ATM, then the police will be able to see what a hacker looks like.
i think it's better if the ATM has a CCTV installed than a camera inside the atm.
by having the CCTV it will take a video for every user that want to use the atm
In any case, the surveillance camera should be located near the ATM, but not remove the keyboard and other personal data of users