"Fix" has a lot of potential meanings. If your goal is a more humane solution this is going to backfire. If the majority of the city becomes incensed at the homeless because of crime and security concerns they'll be hardened and in favor of harsher, crueler solutions rather than compassionate ones.
The most successful protests (I'm thinking civil rights movement) were peaceful and didn't involve harming people.
It's one thing to enforce some kind of dystopia, but locking up people for breaking into cars seems like it shouldn't be a particularly radical proposal.
On the other hand, if we are not able to locate and arrest whoever defecated on the sidewalk, maybe we'll resort to building more toilets.
edit: I have faith that San Francisco is progressive enough to not allow widespread harsh and cruel punishment for the less fortunate based on group association.
Fixing the mental heath system that Reagan dismantled would be a far better approach, and a persistent camera + facial recognition system could allow for more effective identification of those that would benefit from commitment.
https://www.nytimes.com/1984/10/30/science/how-release-of-mental-patients-began.html
Some amount of reform was needed, but the deinstitutionalization that occurred was too extreme, too rapid, and lacked adequate backstops. Politicians were just doing what they were told by lawyers and psychiatrists, and they were eager to comply because it meant huge cuts in spending.True, that would be the real solution, and then we wouldn't need those pesky bandages. No pathogens in the air, no risk of infection. Leaving wounds open also helps bystanders feel the problem, and probably motivates some to go into medical research or to work harder at it.
But "visible infections will motivate the end of disease" is a batshit insane public health program, and "car break-ins will motivate the end of capitalism" works about as well as an anti-poverty strategy.
I am sure this idea is not new, but I think it is important to keep it in the conversation as the number and capability of sensors dramatically increases over the next decade.