ELP USB camera not working with Jetson Nano for object detection

I have connected an ELP USB camera (ELP-USBFHD01M-SFV) to use for object detection.
The camera will not work when running the my-detection.py code. However, the camera is visible (/dev/video0) and it works with cheese.
Please can someone assist how I can get this running


my-detection.py uses GStreamer as backend interface.
Please check if your camera can be opened with GStreamer pipeline first.


Getting the following error message when I check this:
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1773): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not open display (null)
Setting pipeline to NULL …
Freeing pipeline …


Please check this with the camera vendor to see if they can support GStreamer first.

1 Like