The facial recognition scanners at JFK boarding gates are scarily powerful. They can identify you from quite a distance while walking up without stopping and looking sideways.
So I would guess these people were scanned by the cameras just by walking past.