Error Running Object Detection with Tracking using ByteTracker and Supervision

Hello everyone,

I’m trying to run the examples in the Hailo-Application-Code-Examples on a Raspberry Pi 5, specifically the one found at this link: Hailo-Application-Code-Examples.

I’ve followed the instructions provided in the link, but when I execute the detection_with_tracker.py example, I encounter the following error:

(hailo-env) pi@raspberrypi:~/hailo-ai/Hailo-Application-Code-Examples/runtime/python/detection_with_tracker $ ./detection_with_tracker.py -i input_video.mp4 -o output_video.mp4 -l coco.txt -s 0.5

UserWarning: A NumPy version >=1.23.5 and <2.3.0 is required for this version of SciPy (detected version 1.23.3)
Traceback (most recent call last):
  File "/home/pi/hailo-ai/Hailo-Application-Code-Examples/runtime/python/detection_with_tracker/./detection_with_tracker.py", line 16, in <module>
    from utils import HailoAsyncInference
  File "/home/pi/hailo-ai/Hailo-Application-Code-Examples/runtime/python/utils.py", line 8, in <module>
    from hailo_platform import (HEF, VDevice,
  File "/home/pi/hailo-ai/hailo-env/lib/python3.11/site-packages/hailo_platform/__init__.py", line 17, in <module>
    import hailo_platform.pyhailort._pyhailort as _pyhailort
ImportError: libhailort.so.4.18.0: cannot open shared object file: No such file or directory

Has anyone successfully run this example on a Raspberry Pi 5? I would really appreciate any help or guidance!

Thank you!