Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing libyolo_hailortpp_postprocess.so #63

Open
fuxifex opened this issue Nov 13, 2024 · 6 comments
Open

missing libyolo_hailortpp_postprocess.so #63

fuxifex opened this issue Nov 13, 2024 · 6 comments

Comments

@fuxifex
Copy link

fuxifex commented Nov 13, 2024

hi,
i did a complete fresh install on my Pi5, following the Tutorial.
Anything seems correct but i can’t run the detection.py script - getting this error:

Showing FPS
Could not load lib /home/pi/hailo-rpi5-examples/basic_pipelines/…/resources/libyolo_hailortpp_postprocess.so: cannot open shared object file: No such file or directory
Cannot load symbol: /lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so: undefined symbol: filter
Speicherzugriffsfehler

Any ideas what’s wrong / where to get the missing file libyolo_hailortpp_postprocess.so?

@TheNameisTamil
Copy link

Same issue.

(venv_hailo_rpi5_examples) cards@raspberrypi:~/hailo-rpi5-examples $ python3 basic_pipelines/detection.py --input resources/detection0.mp4
Auto-detected Hailo architecture: hailo8
filesrc location="resources/detection0.mp4" name=source ! queue name=source_queue_dec264 leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! qtdemux ! h264parse ! avdec_h264 max-threads=2 ! queue name=source_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoscale name=source_videoscale n-threads=2 ! queue name=source_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=3 name=source_convert qos=false ! video/x-raw, format=RGB, pixel-aspect-ratio=1/1 ! queue name=inference_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoscale name=inference_videoscale n-threads=2 qos=false ! queue name=inference_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! video/x-raw, pixel-aspect-ratio=1/1 ! videoconvert name=inference_videoconvert n-threads=2 ! queue name=inference_hailonet_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! hailonet name=inference_hailonet hef-path=/home/cards/hailo-rpi5-examples/basic_pipelines/../resources/yolov8m.hef batch-size=2 nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 force-writable=true ! queue name=inference_hailofilter_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! hailofilter name=inference_hailofilter so-path=/home/cards/hailo-rpi5-examples/basic_pipelines/../resources/libyolo_hailortpp_postprocess.so qos=false ! queue name=identity_callback_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! identity name=identity_callback ! queue name=hailo_display_hailooverlay_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! hailooverlay name=hailo_display_hailooverlay ! queue name=hailo_display_videoconvert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoconvert name=hailo_display_videoconvert n-threads=2 qos=false ! queue name=hailo_display_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! fpsdisplaysink name=hailo_display video-sink=xvimagesink sync=true text-overlay=false signal-fps-measurements=true

Showing FPS
Could not load lib /home/cards/hailo-rpi5-examples/basic_pipelines/../resources/libyolo_hailortpp_postprocess.so: cannot open shared object file: No such file or directory
Cannot load symbol: /lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so: undefined symbol: filter
Segmentation fault

(venv_hailo_rpi5_exam

@sytllee
Copy link

sytllee commented Nov 18, 2024

hi, i did a complete fresh install on my Pi5, following the Tutorial. Anything seems correct but i can’t run the detection.py script - getting this error:

Showing FPS Could not load lib /home/pi/hailo-rpi5-examples/basic_pipelines/…/resources/libyolo_hailortpp_postprocess.so: cannot open shared object file: No such file or directory Cannot load symbol: /lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so: undefined symbol: filter Speicherzugriffsfehler

Any ideas what’s wrong / where to get the missing file libyolo_hailortpp_postprocess.so?

./compile_postprocess.sh

@Dringintime
Copy link

Hm...I have exactly the same problem..

@kboles10
Copy link

Ditto - experiencing the same problem...

@kboles10
Copy link

kboles10 commented Dec 5, 2024

I was able to get my RPI-5 / HAILO detection pipeline to function appropriately using these procedures:
https://github.com/hailo-ai/hailo-rpi5-examples/blob/main/doc/basic-pipelines.md#installation

I have not yet determined why other "Quick Start" procedures generated the error described in this thread.

@giladnah
Copy link
Contributor

giladnah commented Dec 8, 2024

Hi The missing post process can occur if the post processes were not compiled correctly. It should be done as part of the install flow. You can do it manually by running ./compile_postprocess.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants