There is a social media personality called Mark Rober, and his thing is to find ways of publicly holding people accountable for misdemeanours, that generally are too petty for law to get involved.
For example, he will arrange with a sports stadium to film people driving in, and records anyone driving while using their cell phone. Then during the game on the big screen he will play the footage while the stadium camera shows their reaction.
It makes me wonder, would a Jew be allowed to do anything like this? Is embarrassing someone in public ever ok as a deterrent to unwanted behaviour?
For serious sins such as public adultery, we have the concept of vengeance killing (Kanna'in Pogin Bo), so obviously certain sins allow for strong responses. Is there a level of sinful behaviour that would allow or obligate a Jew to take action in such a way that embarrasses the person and sets a deterring tone to those watching? What are the rules and limits?
A realistic example of a grey area might be if there is a place where frum people regular congregate or travel through, and it is right next to someone's house, would one be allowed to scold someone if they are talking loudly at night there to their friends and disturbing the household?