Hi everyone — I’m working on a detection project and would really appreciate some guidance.
What I have:
-
Raspberry Pi 5 with a Hailo AI Hat attached
-
A trained detection model that I converted to
.hefformat -
An IP camera streaming over RTSP (I want to run inference on the RPi using the camera feed)
What I want to do:
-
Run real-time object detection on the Pi using the Hailo AI Hat and the
.hefmodel, ingesting frames from the IP camera (RTSP). -
Ideally: a simple example or repo I can clone that shows how to load a
.hef, run inference, and process/display/save detection results.
What I’m asking:
-
Which Git repository(s) / example projects should I clone to get started? (Official Hailo examples, community examples, or a sample app that supports RTSP input would be ideal.)
-
Any step-by-step guide for deploying
.hefon Raspberry Pi 5 + Hailo Hat? Important steps I might miss (SDK/firmware versions, drivers, conversion flags, permissions, runtime commands). -
Sample code patterns (Python or C++) for:
-
Opening RTSP stream, decoding frames (OpenCV / GStreamer)
-
Pre-processing to the model input shape
-
Running inference with the Hailo runtime and
.heffile -
Post-processing boxes and drawing results / saving output
-
-
Performance tips / pitfalls for RPi5 + Hailo Hat (power, thermal, input size, recommended FPS, networking issues).
-
Any required environment or versions I should match (Hailo SDK/runtime version, Pi OS, kernel/firmware notes).