Besides ensuring the data retention length is the absolute minimum and the data collection is used solely for intended purpose (crime solving) and nothing else like profiling people for other purposes to me the upmost important protection and safeguard is for society to get together and decide what specific crimes do we want these cameras to solve and what ones to ignore.
Do we want these cameras outside abortion clinics or gay bars? At points in time had we had cameras in those places it is very likely those gays would have been oppressed and possibly abortions outlawed and doctors performing them arrested.
I mention these as examples because it shows that we don't want an all powerful system that can stop all crime. Morals and values change and things once unacceptable become the normal. But I do think there are select types of crimes a society can all agree we do not want and those are the crimes these cameras should be used for. Like murder. Or sex crimes. Or missing children cases. Shootings. Things of significant nature we all agree are worth solving.