Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.95 KB

README.md

File metadata and controls

64 lines (40 loc) · 1.95 KB

Speed Camera

GitHub version GitHub download GitHub stars GitHub issues License

Purpose

  • monitor the speed of people driving in front of my house 🚚
  • take a picture of each car and label it with its speed 📷
  • make a cool time-lapse video and put it on youtube 📺 https://youtu.be/GM9vSAUtNBc
  • make cool graphs to analyze the data 📊 📉 (Charts/Graphs Below!)

How

  • Raspberry Pi Zero2 W
  • Clone https://github.com/pageauc/speed-camera.git to the pi
  • point the camera at the road
  • add the starting of the scripts to the bottom of /etc/rc.local (above 'exit 0')
  • calibrate and configure

/etc/rc.local additions

cd /home/pi/speed-camera
python3 ./webserver.py &
python ./speed-cam.py &

Example Image

alt text

Charts / Graphs

Average Speed vs. Day

alt text

Car Count vs. Hour

alt text

Frequency of Speed

alt text

Speed's Normal Distribution

alt text

Average Speed vs. Direction (L2R or R2L)

alt text

Average Speed vs. Hour

alt text

Car Count vs. Day

alt text