Python inference for Raspberry Pi 5

I’ve seen the Raspberry Pi 5 examples but they all seem to use GStreamer.

Is there a way to run inference using the Python API on the Raspberry Pi 5 with the Hailo 8L module?

The examples from Hailo-Application-Code-Examples don’t seem to work on the Raspberry Pi 5 after installing the hailo-all package as explained in the tutorial, giving the error “module hailo_platform not found”.

Hey @francesco,

Welcome to the Hailo Community.

The current examples do not work because of the Python API, as the Python support is not yet available on Raspberry Pi. However, we are preparing a new release that will include Python API support and updated examples for the Raspberry Pi 5. This new version will be available soon.

Please stay tuned for the upcoming release, which will address this issue. If you have any other questions, feel free to reach out.

Best regards,

4 Likes

Hey @omria,

May I know the time frame for this?

Kind Regards

Hey @bijen.mali,

The release is currently being integrated by RPI into the apt server. We expect it to be available for update via the Raspberry apt server in the near future, likely in August.

1 Like

Is there any way to install to raspberry pi? Already 9th of August, no update yet.

Any updates on the HailoRT Python API for Raspberry Pi?

Hey

Raspberry will release the update soon.

No date for running the HAILO 8L Python API on a raspberry? whether that’s in a few days, weeks, months or years?

Yeah, I manually installed and get things partially running. The issue is a lot of the models they share pre-compiled (especially the ones with preprocessing) are all compiled on the older driver version, so the newer HailoRT has issues. I am hopeful that as part of the push to main on the Raspberry Pi Repo the Model Zoo and Python examples get updated as well. Granted, C/C++ works, but it’s a pain on RPi5 because so many other devices have Python only libraries that are well maintained (think other HATs, etc).