hailo-ai / hailo-rpi5-examples

MIT License
379 stars 58 forks source link

missing libyolo_hailortpp_postprocess.so #63

Open fuxifex opened 6 days ago

fuxifex commented 6 days ago

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 commented 4 days ago

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 commented 2 days ago

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