Having trouble getting an Arducam UC-V88 Rev. B (2.3MP AR0234 global shutter camera for Jetson Nano/NX) to produce a proper video feed on an Orin NX running on a Seeed Studio Dev Kit carrier board. gst-launch-1.0 keeps failing to link, and when I fall back to a Python/OpenCV script I only get a grayscale (black and white) image. Anyone know what’s going on here?
Can you share the exact gst-launch pipeline you’re running? Also, run v4l2-ctl --list-formats-ext and paste what formats the device is actually exposing.
Here’s the pipeline I’ve been using:
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=BA10, width=1280, height=720 ! videoconvert ! xvimagesink
v4l2-ctl --list-formats-ext shows BA10 and Y16. I’ve tried both formats and a few different sink elements, but the pipeline always fails to link. The error I get is:
WARNING: erroneous pipeline: could not link v4l2src0 to videoconvert0, neither element can hald caps video/x-raw format=(string)BA10, width=(int)1280, height=(int)720
Got it. Can you also share your Python/OpenCV script and describe what the output actually looks like? That will help narrow down whether the sensor is producing frames at all.
Sure, this is the script:
import cv2
print(“[info] setting up video device”)
cap = cv2.VideoCapture(0)
while True:
ret, frame = cap.read()
if ret:
cv2.imshow(“feed”, frame)
if cv2.waitKey(5) == ord('q'):
break
cap.release()
cv2.destroyAllWindows()
The live image does display, but it’s only black and white. No color at all.
Based on what you’re describing, the UC-V88 camera driver is based on the official carrier board layout. The Seeed Studio Dev Kit is a third-party carrier board, so it’s not going to run correctly there. Can you test the camera on an official Jetson carrier board to rule that out?
I moved things over to an official Nvidia Jetson Orin Nano Developer Kit and it’s still flaky. I also noticed something odd: the cameras shipped with 15-to-22 pin MIPI cables, but both the sensor board and the Jetson CSI ports are 22-pin MIPI. I still get no gstreamer feed, OpenCV still gives grayscale, and the whole thing is intermittent and unstable.
That cable detail is a good catch. Can you confirm the exact SKU or a product link for the camera module so I can verify compatibility? Also worth noting: the jetvariety camera driver has now been released for the official Nvidia Jetson Orin Nano developer kit.
It’s the Arducam 2.3MP AR0234 Global Shutter Camera for Nvidia Jetson Nano/NX, model UC-V88 Rev. B. And yes, the cables that came with them are 15-to-22 pin MIPI, but both my sensor board and the Jetson CSI port are 22-pin.
That’s the issue. The 15-to-22 pin cable is not the correct cable for the 22-pin CSI connection on the Orin Nano. For the official Nvidia Orin Nano development kit setup, check this documentation: Introduction to Arducam Jetson Cameras - Arducam Wiki
Just to lay out everything I’m working with: UC-V88 Rev. B cameras on an official Nvidia Jetson Orin Nano Developer Kit, which only has the small 22-pin CSI connectors. Supplied cables are 15-to-22 pin. Same gstreamer pipeline fails to link, v4l2-ctl --list-formats-ext still shows BA10 and Y16, and OpenCV still outputs black and white. Intermittent at best.
To sum it up: for the UC-V88 Rev. B on the Jetson Orin Nano you need a 22-to-22 pin flex cable, not the 15-to-22 pin cable that came in the box. The camera driver is also only released on L4T 35.3.1, so make sure you’re on that version. A suitable 22-to-22 pin cable is available here: 150mm 22pin to 22pin camera cable 0.5mm Pitch interface. Correct cable plus L4T 35.3.1 should get it working on the official Orin Nano developer kit.