The purpose of this repository is to provide the proof of concept for a camera based proximity warning and ride camera system.
The classifier system included in this project isn't particularly accurate. For a production environment, a more sophisticated solution is advised.
Included Haar Cascade Classifier taken from here.
The source code for each component listed below can be found in separate folders in src.
- able to be run as independent program or imported as python module
- when run as an independent program, the detector monitors either provided video frames or captured camera frames (raspberry pi camera module) for vehicles and prints warning decisions for each evaluated frame to standard output
- when imported as python module, provides access to:
Detector
class: provides high-level access to a given haar classifier specialized for simple proximity detection.
- independent executable, which monitors provided video frames for vehicles and prints warning decisions for each evaluated frame to standard output