jetson tx2 on board camera yolov3 not working just stop

Hello nividia officials

I’m going to use the on board camera on jetson tx2
There is no response and it just stops.
Let me know why.

./darknet detector demo cfg/ cfg/yolov3.cfg yolov3.weights “nvcamerasrc ! video/x-raw(memory:NVMM), width=(int)640, height=(int)360,format=(string)I420, framerate=(fraction)30/1 ! nvvidconv flip-method=0 ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink”

just stop

thank you


Is darknet using OpenCV to open the camera?
If yes, please build OpenCV from the source.

The default OpenCV doesn’t enable GStreamer support.
But you can get one with this script:

sudo apt-get purge "libopencv*"
mkdir opencv
./ opencv