I am encountering an issue running the standard detection.py example on a Raspberry Pi 5 with the Hailo AI Kit.
- Webcam Source (
/dev/video0): Detection works perfectly. Bounding boxes and labels are drawn correctly.
- Video File Source (
.mp4): The video plays smoothly in the window, but zero detections are shown (no bounding boxes, no labels). The FPS counter updates, but the overlay remains empty.
To Reproduce
- Setup Raspberry Pi 5 (8GB) with Hailo-8 AI Kit.
- Use a custom YOLOv11s HEF model (verified working on webcam) and corresponding JSON labels.
- Run the following command pointing to a local MP4 file:
python hailo_apps/python/pipeline_apps/detection/detection.py \
--hef-path ~/Desktop/hef/yolov11s.hef \
--input /home/admin/Desktop/hef/vid-3.mp4 \
--labels-json ~/Desktop/hef/vehicles.json \
--show-fps
Expected Behavior
The video file should play with bounding boxes drawn around detected vehicles, matching the behavior seen when using the webcam input.
Actual Behavior
The video playback works, but no inference results (bounding boxes) are displayed.
System Configuration
- Hardware: Raspberry Pi 5 + Hailo AI Kit (Hailo-8L)
- OS: Raspberry Pi OS 64-bit
- Hailo Software:
hailo-all (installed via apt)
- Repository:
hailo-apps (latest pull)
- Model: Custom YOLOv11s (compiled to HEF)
I am encountering an issue running the standard
detection.pyexample on a Raspberry Pi 5 with the Hailo AI Kit./dev/video0): Detection works perfectly. Bounding boxes and labels are drawn correctly..mp4): The video plays smoothly in the window, but zero detections are shown (no bounding boxes, no labels). The FPS counter updates, but the overlay remains empty.To Reproduce
python hailo_apps/python/pipeline_apps/detection/detection.py \ --hef-path ~/Desktop/hef/yolov11s.hef \ --input /home/admin/Desktop/hef/vid-3.mp4 \ --labels-json ~/Desktop/hef/vehicles.json \ --show-fpsExpected Behavior
The video file should play with bounding boxes drawn around detected vehicles, matching the behavior seen when using the webcam input.
Actual Behavior
The video playback works, but no inference results (bounding boxes) are displayed.
System Configuration
hailo-all(installed via apt)hailo-apps(latest pull)