I managed to install Jetpack 4.2 via SDK manager from a host machine to Jetson TX2. I also installed all other SDK components (Multimedia API, VisionWorks, etc). However, I am unable to access the onboard camera with the below comment (which works for Jetpack 3.3)
Thank you again for telling me to nvarguscamerasrc.
I managed to install opencv 3.4.0 binding with Python 3.6.7. However, I am not able to access camera module from my python code. The code is similar as below
The pipeline you’re trying to run has end sink being nveglglessink. This sink displays in a GL window.
For using a gstreamer pipeline in opencv as videoCapture, your pipeline must end with appsink (your opencv application).
Check this post for a python example.
It is necessary to compile opencv with gstreamer in order to run your code successfully?
By running your code I ran into this error:
[ WARN:0] global ~/Downloads/opencv_installation/opencv/modules/videoio/src/cap_gstreamer.cpp (711) open OpenCV | GStreamer warning: Error opening bin: no element "nvcamerasrc"
[ WARN:0] global ~/Downloads/opencv_installation/opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
Hi!
I’m working on running yolo on Tx2 Dev kit. I have installed all of requirements for yolo, OpenCV, CUDA, Cudnn.
I’ve tested if the onboard camera’s working via gstreamer : gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! xvimagesink
It works properly.
Then, I tried to run yolo by your code ./darknet detector demo cfg/coco.data cfg/yolo.cfg yolo.weights “nvcamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720,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”
The result is “Video-stream stopped!”
How could i track the issue?
Thanks!