-
Notifications
You must be signed in to change notification settings - Fork 177
Program Description
Welcome to the rpi-speed-camera wiki!
This is a raspberry pi computer openCV2 object speed camera demo program. It is written in python and uses openCV2 to detect and track object motion. This can be vehicles or any other moving objects. It tracks the speed of the largest moving object in the camera view. The results are recorded on speed photos and in a CSV data file that can be imported to a spreadsheet or other program for additiona processing.
The program will detect motion in the field of view and use opencv to calculate the largest contour and return its x,y coordinate. Motion detection is restricted between y_upper and y_lower variables (road or area of interest). If a track is longer than track_len_trig variable then average speed will be calculated (based on IMAGE_VIEW_FT variable) and a speed photo will be taken and saved in an images folder. If log_data_to_file=True then a speed2.csv file will be created/updated with event data stored in CSV (Comma Separated Values) format. This can be imported into a spreadsheet.
- YouTube Speed Camera Video https://youtu.be/eRi50BbJUro
- Speed Camera RPI Forum post https://www.raspberrypi.org/forums/viewtopic.php?p=1004150#p1004150
- YouTube motion-track video https://youtu.be/09JS7twPBsQ
- YouTube Channel https://www.youtube.com/user/pageaucp
- Speed Camera GitHub Repo https://github.com/pageauc/rpi-speed-camera
Wiki Home
Description, Issues, Features
How to Install or Upgrade
How to Run
How to Calibrate
Change Settings and Plugins
How to Tune Motion Tracking
Setup RTSP Camera
rclone Remote Storage File Transfer
How to View Speed Data
How to Generate Graphs
How to Run speed-search.py
How to Start on Boot
How to use run.sh
watch-app.sh Remote config
How to Manage Sqlite3 Database
How to move speed-camera to ext drive
How to use OPENALPR with speed camera
Github Repo