Hi everyone,
I’m working with a Hailo-8 accelerator on Raspberry Pi 5 (64-bit, Python 3.11, HailoRT 4.21.0).
I’ve installed the official package:
hailort-4.21.0-cp311-cp311-linux_aarch64.whl
from the Hailo website.
My goal:
- Load my custom
.hef
model (YOLOv8n with 2 classes: OK / Not OK), - Perform inference on a single image (PNG or JPEG) using Python,
- Retrieve the result (classification or detection) and print/display it.
The problem:
- High-level Python APIs like
Inferer
orVStreamsBuilder
are missing inhailo_platform
, - Even with
Device
andHEF
, all attempts led to low-level complexity or errors, - I can’t find any working Python inference example for ARM64 (Raspberry Pi) in the documentation or community.
Please help:
I really, really need a working example of Python inference from image using .hef
— any minimal working script would help a lot.
Even a classification-only pipeline would be a great start.
Questions:
- Is there any official or community working Python example using
.hef
withhailort
on Raspberry Pi? - Is this currently supported in Python at all, or only in C++?
- If high-level API is not available in this wheel, are there alternatives?
Thank you so much in advance — I’ve already spent days on this, and any help or real code would be invaluable.