The AI trials used a combination of “smart” CCTV cameras that can detect objects or movements from images they capture and older cameras that have their videofeeds connected to cloud-based analysis.
Enough of these linked together coupled with facial recognition, and Amazon's got the means to track people at scale.
Do people really not make a mask of their face in public? Who are these people going around riding trains with their emotional state visible on their face?