Trying to get an IMX219 IC2 camera to work under python in a xavier NX running jet pack 5.3
The camera works fine if I type gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM),width=1920,height=1080’ ! nvvidconv ! xvimagesink sync=false
However, when I try to use under python it just can’t find the camera.
I remember it used to work on a jetson nano using the command sourcecamera = cv2.VideoCapture(“nvarguscamerasrc ! video/x-raw(memory:NVMM), width=180, height=180, format=(string)NV12, framerate=(fraction)30/1 ! nvvidconv flip-method=2 ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink”)
I was using a compiled opencv 4.5.0 at the time
Is there anything specific of jetson xaviers that make them incompatible with that camera?