If the community looks like a trash can that's exactly how people will treat it, it's self fulfilling.
I'm on the board of my community's civic organization, and the efforts are bigger than just walking around with trash bags. It also includes putting up cameras in the parts of our community that have less traffic, the areas that people target to dump large trash in. We also work closely with the solid waste management department so we're clued in on exactly why certain things aren't picked up for example.
I'll be a free maid if it means Black children can walk home from school and not feel like they live in a trash can.