This project is an extension of the original Speed-Camera project by Claude Pageau. The main goal of this project is to add a web interface that allows for remote control and monitoring of the Speed-Camera app on a Raspberry Pi.
The Speed-Camera project is a powerful tool designed to monitor and capture images of objects moving above a specified speed threshold. This project extends the functionality by adding a web interface, enabling remote viewing of captured speed records and images through a browser.
The original Speed-Camera processing code remains Raspberry Pi focused. The web additions in this repository are intended to sit beside that code and read the SQLite database and media folders generated by speed-cam.py.
- Web interface for viewing speed-camera captures.
- JSON endpoint for reading recent speed records from
data/speed_cam.db. - Runtime folder structure for Raspberry Pi generated media and reports.
- Raspberry Pi camera workflow preserved from the original project.
The camera process is still driven by speed-cam.py and configured through config.py.
By default, the project expects:
- SQLite database:
data/speed_cam.db - Captured images:
media/images - Recent images:
media/recent - Reports and graphs:
media/reports,media/graphs, andmedia/html
Start and calibrate the camera application on the Raspberry Pi before expecting the web interface to show live capture data.
Open the project in a browser through your web server, for example:
http://<your-raspberry-pi-ip>/speed-camera/
The web page calls getspeed.php, which reads the latest rows from the Speed-Camera SQLite database and returns JSON for the browser display.
This project is based on the original Speed-Camera by Claude Pageau. Credit for the underlying speed detection algorithm and Raspberry Pi camera workflow goes to Claude Pageau and the original project contributors.
The longer inherited upstream documentation has been kept in UPSTREAM_README.md.
This project is licensed under the MIT License. See LICENSE for details.