automaticdai/rpi-object-detection
Real-time object detection and tracking with Raspberry Pi and OpenCV!
What it solves
Real-time computer vision and object tracking can be difficult to set up on resource-constrained hardware like a Raspberry Pi. This project provides ready-to-use Python and OpenCV scripts for common computer vision tasks—such as motion detection, color tracking, shape recognition, face detection, and neural network-based object detection—tailored for maker and DIY projects.
How it works
The project uses Python and OpenCV alongside optional libraries like Ultralytics YOLO and TensorFlow Lite. It supports official Raspberry Pi camera modules via Picamera2 or standard USB webcams. It includes various modular scripts for specific tasks, such as comparing frames for motion, tracking HSV color spaces, applying ORB feature matching, or running deep learning models for object recognition.
Who it’s for
Makers, hobbyists, and developers who want to integrate real-time computer vision and object tracking into Raspberry Pi or other Linux-based DIY projects.
Highlights
- Includes multiple detection and tracking implementations: motion, color, shape, ORB features, faces, YOLO, and TensorFlow Lite.
- Supports official Raspberry Pi camera modules via Picamera2 as well as USB webcams.
- Built-in HTTP camera streaming server for remote viewing in a web browser or VLC.
- Comprehensive benchmark script to measure camera and processing frame rates across various boards.
Related
- Project
- Project
- Project
- Project
- Project