Same goes for identifiable information like license plates. For example if you film a parking lot at a cancer hospital. You need to obfuscate the plates.
If you install security cameras the some law applies, you can only film your own property and must make sure you are not filming neighbour, street or anything else. You must also post a sign indicating that a security camera is installed. Public security cameras (train etc) all require posted signs and have a strict retention policy as well as how footage is released.
Same law applies to drones or any other way you could make a photo or film so it automatically makes it illegal to film into windows or get close enough to specifically identify people on the ground.
In extremely rare and extreme cases the police may publish someones foto or video footage if it helps solve a case but it's an exception because even criminals have the right to privacy.