Hello, I have a raspberry pi 5 with the 26 top hat, and for the life of me I cannot get it to recognize the Hailo library.
First I ran the command
sudo apt install hailo-all
Everything was working and I was able to run
hailortcli fw-control identify
Executing on device: 0001:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.20.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8
Serial Number: <N/A>
Part Number: <N/A>
Product Name: <N/A>
gst-inspect-1.0 hailo
Plugin Details:
Name hailo
Description hailo gstreamer plugin
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailo.so
Version 1.0
License unknown
Source module hailo
Binary package GStreamer
Origin URL http://gstreamer.net/
hailodevicestats: hailodevicestats element
hailonet: hailonet element
synchailonet: sync hailonet element
3 features:
+-- 3 elements
I did notice when I ran this I got a bad response
gst-inspect-1.0 hailotools
No such element or plugin 'hailotools'
But its ok, the hailo-rpi5-examples compiled venv should take care of all the dependencies yeah?
So simply I install
./install.sh
source setup_env.sh
pip install -r requirments.txt
./download_resources.sh
But when I run the example
python basic_pipelines/detection_simple.py
I get
(venv_hailo_rpi_examples) (base) notebook:~/Documents/hailo-rpi5-examples $ python basic_pipelines/detection_simple.py --help
Traceback (most recent call last):
File "/home/user/Documents/hailo-rpi5-examples/basic_pipelines/detection_simple.py", line 6, in <module>
import hailo
ImportError: libgsthailometa.so.3: cannot open shared object file: No such file or directory
I have been trying everything but I don’t understand why it cant recognize the hailo library, I followed the instructions exactly and got no error.
Some extra information I am using Hailo version 4.20.0, Python 11, 26 TOP hat, and 16gb ram raspberry pi 5. I am running a headless setup so I will have to open an endpoint to stream video for actual testing but I cant even get past the dependency injection part.
Please if there is any help, I am all ears,
Thank you!