No, actually, how you do it matters.
If I use that information to track someone and watch them specifically, that is stalking and is illegal. I know it's illegal here in Texas.
The law is not an algorithm, it's very complex. Recording people in public is absolutely illegal in many instances.