How do you know someone on a sidewalk is waiting to cross vs just stopping while talking to friend, checking their phone, etc? Or that someone walking towards a crosswalk actually intends to cross and isn't going to change direction?
You could paint a box on the ground and say "stand here to cross"?