Issue with Coding Your Own Object Detection Program Demo

Hi, I’m new to Jetson Nano and learning with the demo projects online,I’ve followed the started steps and works fine until got into the Coding Your Own Object Detection Program,it failed to launch the camera when I excuted python my-detection.py program.
the last few error messages as below:
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> videoconvert1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> videoconvert0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> v4l2src0
[gstreamer] gstCamera onEOS
[gstreamer] gstreamer v4l2src0 ERROR Internal data stream error.
[gstreamer] gstreamer Debugging info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
[gstreamer] gstreamer changed state from READY to PAUSED ==> mysink

And the terminal windows just got stuck here, nothing help but to close the terminal.
I used an Intel RealSense D435 camera, I have installed realsense SDK into nano and can open the realsense-viewer properly.

I guess the issue was with the camera, but didn’t know how to fix it.Any one can help? Thanks in advance.

Hi,
The script is for general USB cameras which supports uvc dirver such as Logitech c930e. If you have other USB cameras, please plug and try.

RealSense D435 camera requires additional drivers. You may check
[url]https://devtalk.nvidia.com/default/topic/1051016/jetson-nano/use-intel-reg-realsense-trade-d435-series-depth-camera-on-nano/post/5334382/#5334382[/url]