kevinodotnetWestboro•

Creator of the website here, though credit for the video shooting goes to my city councillor Jeff Leiper.

Jeff shot 45 minutes of video of an intersection that gets complained about all the time. I offered to help do the crowdsource bit, since it's not 100% trivial to split up video and ask people to count it.

I used Python and OpenCV to split the video and add the timing data. It's not 100% automatic. First I gave the software a hint on where the red lights actually are in the frame. Next I had to train it on what "red" is. This created the videos, 99 in all.

Next I uploaded them all to my website and created the simple one-page application that you see. It randomly selects a video for the visitor, they play it, count using the buttons or their fingers, collects any observations (red light running!) and repeats that forever until we're done.

Code is here if you're curious about it. Look at bin/005.py for the video part https://github.com/kevinodotnet/traffic-vision

Ask away.

4

Quick suggestion: Consider assigning a key-binding to each of the 3 fields so that a user can just hit "f" (or something) to increment it.

2
kevinodotnetWestboro•

Great idea. Would use this myself.

3
Foxx90Hintonburg•

Can you tell us more about this app? Who made it? What's its purpose?

3
Domdidomdom•

Nice try Skynet!

3
TimferiusSouth Keys•

I dunno, sounds like someone is trying to get me to do payed work for free. Pass.

3
[deleted]•

[deleted]

1