RPI-Examples Object Detection JSON files missing

Hello,

I am using RPI-5 with Halio-8.1 and followed all instructions / steps for installation.

I installed Zoo Github as well to download inference engines. But, I do not see need JSON files for object detection, segmentation etc in relevant folders.

I get following error:
mobilestack@raspberrypi:~ $ rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov8_inference.json
[0:15:32.400564919] [5201] INFO Camera camera_manager.cpp:326 libcamera v0.5.0+59-d83ff0a4
[0:15:32.408202696] [5204] INFO RPI pisp.cpp:720 libpisp version v1.2.1 981977ff21f3 29-04-2025 (14:13:50)
[0:15:32.409218725] [5204] WARN CameraSensorProperties camera_sensor_properties.cpp:473 No static properties available for ‘imx708_wide’
[0:15:32.409230151] [5204] WARN CameraSensorProperties camera_sensor_properties.cpp:475 Please consider updating the camera sensor properties database
[0:15:32.443164490] [5204] WARN CameraSensor camera_sensor_legacy.cpp:501 ‘imx708_wide’: No sensor delays found in static properties. Assuming unverified defaults.
[0:15:32.444946014] [5204] INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@1000120000/rp1/i2c@80000/imx708@1a to CFE device /dev/media3 and ISP device /dev/media0 using PiSP variant BCM2712_C0
Made X/EGL preview window
ERROR: *** /usr/share/rpi-camera-assets/hailo_yolov8_inference.json: cannot open file ***

mobilestack@raspberrypi:~ $ rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov5_segmentation.json --framerate 20
[0:16:59.397783640] [5370] INFO Camera camera_manager.cpp:326 libcamera v0.5.0+59-d83ff0a4
[0:16:59.405384469] [5373] INFO RPI pisp.cpp:720 libpisp version v1.2.1 981977ff21f3 29-04-2025 (14:13:50)
[0:16:59.406471646] [5373] WARN CameraSensorProperties camera_sensor_properties.cpp:473 No static properties available for ‘imx708_wide’
[0:16:59.406495368] [5373] WARN CameraSensorProperties camera_sensor_properties.cpp:475 Please consider updating the camera sensor properties database
[0:16:59.425480886] [5373] WARN CameraSensor camera_sensor_legacy.cpp:501 ‘imx708_wide’: No sensor delays found in static properties. Assuming unverified defaults.
[0:16:59.426560063] [5373] INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@1000120000/rp1/i2c@80000/imx708@1a to CFE device /dev/media3 and ISP device /dev/media0 using PiSP variant BCM2712_C0
Made X/EGL preview window
ERROR: *** /usr/share/rpi-camera-assets/hailo_yolov5_segmentation.json: cannot open file ***

What is missing?

Thanks
-Praveen

Hey @Praveen_Gupta,

This is a Raspberry Pi-specific repository. We recommend asking about this issue on their official forum for more targeted support.

In the meantime, you can try the Raspberry Pi detection examples available here:
:backhand_index_pointing_right: GitHub - hailo-ai/hailo-rpi5-examples

Hi,

It is an error on the part of Raspberry Pi. The entire basic Hailo implementation is not really clean. The file

hailo_yolov5_segmentation.json

is missing here. However, you can copy it directly from Raspberry Pi and save it in

/usr/share/rpi-camera-assets.

You can find the file here: https://github.com/raspberrypi/rpicam-apps/blob/master/assets/hailo_yolov5_segmentation.json

Yes. Correct.

Hailo on Raspberry Pi is a disaster and waste of time. Lot of incompatibility:

  • basic installation in incomplete for RPI EXAMPLE TESTS
  • frigate breaks basic installation.

Please suggest a HW and software combination that works for basic Halio installation as well as Frigate software installation.

We want to focus on actual development (Enhance models and inference stuff) instead of struggling with basic installation issues.

I am abandoning my efforts of RP5 with HALIO.

Thanks
Praveen

| Kletternaut
June 12 |

  • | - |

Hi,

It is an error on the part of Raspberry Pi. The entire basic Hailo implementation is not really clean. The file

hailo_yolov5_segmentation.json

is missing here. However, you can copy it directly from Raspberry Pi and save it in

/usr/share/rpi-camera-assets.

You can find the file here: https://github.com/raspberrypi/rpicam-apps/blob/master/assets/hailo_yolov5_segmentation.json

Why are you asking for help if you think it’s a waste of time?
My Pi5s are running fine so far, even if not with the latest kernel, but stable and reliable with 6.6.77/78. And I know that the Raspberry Pi developers are competent and responsive — if you have problems, the maintainers and support react immediately, just like the people here.
The basis for my scripts is also the hailo-rpi-examples, which Omria has already recommended to you.
I just wanted to help you and not start any kind of bashing or negative discussion. I did notice that some files are missing, but my intention was simply to support you and point out possible issues, not to criticize anyone.

Sorry. My intent was to identify issues and inconsistency.

Looks like, RP5 and Frigate - both are community projects and may be inconsistent or incomplete - it is hard for niewbie to figure out.

I would like to know what is the official HAILO8L Edge Platform which is stable for newbie to try along with integration of Frigate ?

Does anything of this type exists?

Unfortunately, Intel EC13 is also not available t(Amazon link provided by you).

For newbie, an installation guide of HW and SW is needed for it to work as official HAILO installation

As newbie becomes more mature in HAILO software, other community projects can be used for experimentation and contribution.

Just my 2 cents.

Thanks.

Hey @Praveen_Gupta ,

For the basic Hailo installation, just use the recommended installation method - install hailo-all on your Raspberry Pi and then run our RPi examples.

Regarding Frigate, we do support it. All you need to do is install hailo-all on your Raspberry Pi and you’re all set. What specific issue are you running into with the Frigate installation?
Please check this guide : Hailo official integration with Frigate - #6 by omria

Let me know what problems you’re facing and I can help troubleshoot.

Hi,

Problem is that RP5 OS version has gone up to 4.21 and not supported:

hailortcli fw-control identify
[HailoRT] [error] CHECK failed - Driver version (4.20.0) is different from library version (4.21.0)
[HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)

Even manual download of driver 4.20.0 does not work

We need * PCIe driver source code for version 4.21.0.

We need the source to build the kernel module with DKMS on your Raspberry Pi 6.12.20 kernel.

Github – git clone https://github.com/hailo-ai/hailo-pcie-driver.git fails because v4.21.0 is a private branch

Check this thread if you need to install a specific Hailo driver version.