-
Notifications
You must be signed in to change notification settings - Fork 177
Program Description
Speed Camera is a python program that uses opencv computer vision to visually track the largest moving object in the camera designated tracking area and determines the speed and direction. It records and saves an Image and optionally speed data to a CSV (Comma Separated Value) file for later processing.
- Uses video streaming to track largest moving objects in camera view and records speed based on calibration settings.
- Includes a calibration mode setting to set camera view distance to objects being measured for speed.
- Includes a whiptail menubox.sh Menu system that allows start/stop and managing program features
- Camera and Webserver Settings are managed from a config.py file that is not overwritten by an upgrade
- Can capture a video stream image with a variety of resolutions possible based on type of camera and RPI model.
- Tracks motion in a specified area. This rectangle area is cropped for motion tracking and reduces opencv processing on large image video streams.
- When motion tracking is trigger a video stream image is saved, so fast moving objects will still be in view.
- Motion Tracking Data can be stored in a CSV format file for processing by other applications
- Includes an opencv template match search to find similar objects to a selected image. Search result images can be put in a separate folder for easy review.
- makehtml.py can create html files from CSV data and formats for webserver processing
- Includes a single file webserver.py file that can be used to review images
- Option to create subfolder based on max number of images in folder or age of folder before triggering creation of a new date/time named subfolder.
- Option to manage disk space by specifying free space required before oldest files of specified type are deleted.
- Speed Camera code can run under MS windows and Non RPI Unix Distros using USB Camera and auto detects when picamera not found. Note bash scripts may not be compatible with standard windows OS.
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