Cameras supported by Jetson Xavier NX

Just started coding on Jatson Xavier and decided to dive in OpenCV library on python. And I have one weird question, if I want my camera to work with v4l2, it must support MJPEG and YUYV formats?
I watched some tutorials on about this theme, and the guys were working on raspberry pi or Logitech cameras. Unfortunately I’m not able to order one of those, so here I have two ideas:
0)Use different camera (if it’s possible, which are good for this project?)
1)Can I use video instead?

I hope that NVIDIA or someone else will be able to help me in this field)

Are you using Nano or AGX Xavier?

Yeah, sorry for dismissing, I’m using Xavier nx

General formats are YUV422 such as UYVY or YUYV. And MJPEG is an option in using USB camera. Please refer to the samples which demonstrate fetching frames through v4l2src and passing the frames to OpenCV:
V4l2src using OpenCV Gstreamer is not working in Jetson Xavier NX - #3 by DaneLLL
Set camera decoder in OpenCV on Jetson Nano - #8 by DaneLLL

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.