There are signalized pedestrian crossings in many large cities.  Getting pedestrians to take full advantage of the signals and stay safe is often a challenge.  Here is how one US city is being creative:

http://howtoinstructions.tips/this-dancing-crosswalk-signal-is-designed-to-keep-pedestrians-safe-and-happy/

And here is an alternative from Germany:

http://www.youtube.com/watch?v=C3Ozz6_pdMI