python basic_pipelines/detection.py --input resources/detection0.mp4
we get this error :
python basic_pipelines/detection.py --input resources/detection0.mp4
Error: gst-resource-error-quark: Could not initialise Xv output (10), …/sys/xvimage/xvimagesink.c(1944): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstFPSDisplaySink:hailo_display/GstXvImageSink:xvimagesink0:
It looks like the error you’re seeing, gst-resource-error-quark: Could not initialize Xv output, is occurring because the GStreamer pipeline is trying to use xvimagesink to display the video output, but there’s no display available since you’re running it over SSH.
1. Use fakesink for Headless Systems:
Since you’re running the script without a display, you can modify the pipeline to use fakesink, which discards the video output. This is useful if you only need the inference to run without viewing the output:
Thanks for your reply,
I have same issue. According to your advice, I use VNC to open Desktop and open a terminal on VNC viewer .The script is operated normmally now.