Dash cam: The footage can not be published with faces and/or license plates legible (anything that can be linked to a person really). You are allowed to keep the footage for private purposes unedited.
In public spaces it's probably somewhat regulated, but it might be a small sign.
On private property with video surveillance there also always seems to be some signage, clearly visible.
The purpose of that is for sure also to prevent crime from happening in the first place.
Example sign: https://m.media-amazon.com/images/I/41WuyzXzgPL._AC_SY580_Dp...
I think there is a law regulating where and if such a camera is allowed to be positioned and how you are allowed to process the imagery.
It is also not forbidden to film out of my doorway, is it?
Law is certainly complex in this case.
Storing close-up videos of strangers indefinitely is hopefully forbidden, but not filming a street per se.
Kinda like a dashcam, but worn by a person rather than a vehicle.
Image rights and rights for privacy are up there just below right to life, so for example in a court case, video evidence is only accepted if it's a murder or attempted murder case. If you film me stealing your stuff it's not admissible.
Main reason being that the constitution considers your right to go about your business in any place with whoever you want to not be disclosed without your consent.
Public cameras must adhear to strict data retention rules and signs must be posted. Additionally in cities like Zürich doing face recognition on public ground is forbidden and will most likely be nationwide soon.
Dashcams are a gray zone. What is for sure is that the footage can not be used in court unless it's a very serious case and you can not publish footage without anonymiezing it. What Tesla does with storing footage in a Dutch DC is probably illegal but so far the authorities have not done anything against it.