Hi, I am trying to use my Jetson TX2 DevKit camera (the CSI-2 P5V27C Sunny Optical camera) on my Xavier.
I installed opencv via the instructions here: https://www.jetsonhacks.com/2018/11/08/build-opencv-3-4-on-nvidia-jetson-agx-xavier-developer-kit/
In python I can the following code (based on answer here: https://stackoverflow.com/questions/52819390/using-tx2-dev-kit-csi-camera-on-the-jetson-xavier-in-python3)
import cv2 get_str = "nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=1024, height=768, framerate=120/1, format=NV12' ! nvvidconv flip-method=0 ! appsink" cap = cv2.VideoCapture(gat_str, cv2.CAP_GSTREAMER) cap.read()
However it just returns
(False, None) :-(
Any help would be appreciated!