Object speed camera for Raspberry Pi, Unix, and Windows using OpenCV
Top 36.5% on sourcepulse
This project provides a comprehensive solution for building an object speed camera system using Python and OpenCV. It targets users on Raspberry Pi, Windows, and Unix-like systems, enabling motion tracking, speed calculation, video streaming, and data logging for security and traffic monitoring applications.
How It Works
The system detects and tracks the largest moving object within a defined region of interest (ROI) using OpenCV. Speed is calculated based on user-defined calibration parameters relating pixels to real-world measurements (millimeters). Motion tracking is configurable via track_event_count
, and captured images/data can be optionally synced remotely via rclone
or stored in a SQLite database.
Quick Start & Requirements
curl -L https://raw.github.com/pageauc/speed-camera/master/source/speed-install.sh | bash
(on RPi/Unix) or Docker.sudo raspi-config
-> Interface Options -> Enable Legacy Camera.CALIBRATE_ON=True
) is required.Highlighted Details
speed-web.py
) for viewing images and data.menubox.sh
) for easier configuration and operation.speed-search.py
).Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
.sh
) require a Bash environment on Windows (e.g., Cygwin, WSL).1 week ago
1 day