Hello,
I revised the code from Hailo-Application-Code-Examples/runtime/gstreamer/detection_python at main · hailo-ai/Hailo-Application-Code-Examples · GitHub. When on a terminal, the code works for
gst-launch-1.0 souphttpsrc location=http://181.57.169.89:8080/mjpg/video.mjpg name=source_0 ! queue name=queue_jpegdec0 leaky=downstream max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! jpegdec ! videoscale ! video/x-raw,width=640,height=640,pixel-aspect-ratio=1/1 ! queue name=queue_pre_hailonet leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! hailonet hef-path=/models/yolov5m_wo_spp_60p.hef batch-size=1 nms-score-threshold=0.5 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 ! queue name=queue_pre_hailofilter leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! hailofilter function-name=yolov5 so-path=/local/workspace/tappas/apps/h8/gstreamer/libs/post_processes/libyolo_hailortpp_post.so qos=false ! queue name=queue_pre_hailotracker leaky=no max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! hailotracker ! queue name=queue_pre_hailooverlay leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! hailooverlay ! queue name=queue_pre_videoconvert leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! videoconvert ! queue name=queue_pre_display leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! fpsdisplaysink video-sink=xvimagesink name=hailo_display sync=false text-overlay=False
but same exact code doesn’t work on the python gstreamer. The Gst.loop.run() returns error: Aborted (core dumped).
Any ideas solving this issue?