The city paid more than $1.3 million for a system it’s using to screen people headed to popular gathering spots.