Real-time object detection with live camera preview and AI inference overlays.
Status: β Hardware validated | π Ready to build
# Interactive setup menu
./setup.shChoose your deployment:
- Option 5: rpicam-apps β Recommended - works immediately
- Option 6: Python Direct - For custom applications
- Option 7: Frigate NVR - Video surveillance
π Complete guide: docs/getting-started/quickstart.md
open-hailo/
βββ setup.sh β scripts/setup.sh # Main entry point
βββ README.md # This file
βββ LICENSE # Project license
βββ configs/ # 5 deployment configurations
β βββ rpicam/ # β Recommended deployment
β βββ python-direct/ # Custom Python applications
β βββ frigate/ # Network video recorder
β βββ tappas/ # GStreamer pipelines
β βββ opencv-custom/ # Advanced CV pipelines
βββ docs/ # Organized documentation
β βββ getting-started/ # Setup guides
β βββ deployments/ # Deployment-specific guides
β βββ development/ # Developer resources
β βββ operations/ # Troubleshooting
β βββ appendices/ # Additional notes
βββ models/ # Model storage
β βββ x86-models/ # Works with rpicam-apps
β βββ pi5-compatible/ # Works with all methods
β βββ rpicam-compatible/ # Tested with rpicam
βββ hailort/ # HailoRT 4.23.0 (consolidated)
β βββ hailort-4.23.0/ # Library source
β βββ hailort-drivers-4.23.0/ # Driver source
βββ scripts/ # Organized scripts
β βββ setup/ # Installation
β βββ driver/ # Driver management
β βββ diagnostics/ # Troubleshooting
β βββ demos/ # Demo scripts
β βββ utils/ # Utilities
βββ apps/ # C++ examples
βββ logs/ # Log files
βββ .venv/ # Python environment
- Hardware validated (all tests passing)
- HailoRT 4.23.0 installed and working
- YOLOv8 models downloaded (55 MB)
- TAPPAS repository cloned (445 MB)
- All scripts and configs created
- Install TAPPAS dependencies (5 min)
- Build & install TAPPAS core (15 min)
- Build rpicam-apps with Hailo (45 min)
- Run live preview!
Total time to completion: ~65 minutes
| Model | Size | FPS | Latency | Best For |
|---|---|---|---|---|
| YOLOv8n | 8 MB | 100+ | ~10ms | Max speed |
| YOLOv8s | 19 MB | 60-80 | ~15ms | Recommended |
| YOLOv8m | 29 MB | 30-50 | ~25ms | Max accuracy |
| YOLOv5m | 16 MB | 40-60 | ~20ms | Already included |
Detection: 80 COCO object classes (person, car, dog, cat, etc.)
β
Real-time Inference - 30-100 FPS depending on model
β
Live Overlays - Bounding boxes, labels, confidence scores
β
80 Object Classes - Full COCO dataset support
β
Low Latency - 10-25ms per frame
β
Low Power - ~2.5W for Hailo-8
β
Hardware Accelerated - Hailo NPU + RPi GPU
β
Easy Configuration - JSON config files
β
Multiple Models - YOLOv5/v6/v8 support
cd test && ./run_test.shcd test && ./run_complete_test.sh- β Hailo-8 device detected
- β Models loaded successfully
- β OV5647 camera operational
- β HailoRT runtime working
- β DMA memory allocation successful
Start here: docs/getting-started/quickstart.md β
Documentation Index: docs/README.md
- Setup Guide - Complete installation
- Hardware Compatibility - Supported devices
- Model Compatibility - HEF page size issues
- Troubleshooting - Problem solving
- rpicam-apps β Recommended
- Python Direct - Custom apps
- Frigate NVR - Surveillance
- TAPPAS - GStreamer
- OpenCV Custom - Advanced
All scripts are organized in the scripts/ directory:
- Setup:
scripts/setup/install_build_dependencies.sh,verify_hailo_installation.sh - Driver:
scripts/driver/get_official_driver.sh - Diagnostics:
scripts/diagnostics/check_version_compatibility.sh - Demos:
scripts/demos/demo.sh,demo_detection.sh
See scripts/README.md for complete inventory.
rpicam-hello -t 0 --post-process-file test/hailo_yolov8_custom.jsonrpicam-vid -t 10000 -o output.h264 \
--post-process-file test/hailo_yolov8_custom.jsonrpicam-still -o photo.jpg \
--post-process-file test/hailo_yolov8_custom.jsonEdit test/hailo_yolov8_custom.json:
{
"hailo_yolo_inference": {
"threshold": 0.5, // Range: 0.0-1.0
"max_detections": 20 // Max objects to show
}
}See docs/operations/troubleshooting.md for complete problem-solving guide.
Quick diagnostics:
./scripts/setup/verify_hailo_installation.sh
./scripts/diagnostics/check_version_compatibility.shValidated Configuration:
- Accelerator: Hailo-8 (PCIe) - Firmware 4.23.0
- Computer: Raspberry Pi 5
- Camera: OV5647 Camera Module
- Runtime: HailoRT 5.1.1 / 4.23.0
- OS: Raspberry Pi OS Trixie (Debian 13) - Python 3.13+
- Hailo TAPPAS: https://github.com/hailo-ai/tappas
- Hailo Model Zoo: https://github.com/hailo-ai/hailo_model_zoo
- RPi Camera Docs: https://www.raspberrypi.com/documentation/computers/camera_software.html
- Hailo Community: https://community.hailo.ai/
- YOLOv8: https://docs.ultralytics.com/
See CONTRIBUTING.md for contribution guidelines.
- HailoRT: Hailo Technologies Ltd.
- rpicam-apps: BSD-2-Clause (Raspberry Pi)
- TAPPAS: LGPL v2.1 (Hailo)
- This repository scripts: MIT
Production-ready Hailo-8 AI vision system for Raspberry Pi OS Trixie! π