My CSI camera can't be used. It can read camera parameters but can't read images. What should I do

I don’t know why my camera can’t read any images from the CSI camera, and some USB cameras supported by my windows computer can also get camera parameters on Jetson, but can’t read the images normally. What should I do

nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)60/1 ! nvvidconv flip-method=1 ! video/x-raw, width=(int)1280, height=(int)720, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink
[ WARN:0] global /tmp/pip-build-80ndek1t/opencv-python/opencv/modules/videoio/src/cap_gstreamer.cpp (2057) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Internal data stream error.
[ WARN:0] global /tmp/pip-build-80ndek1t/opencv-python/opencv/modules/videoio/src/cap_gstreamer.cpp (1034) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global /tmp/pip-build-80ndek1t/opencv-python/opencv/modules/videoio/src/cap_gstreamer.cpp (597) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ WARN:0] global /tmp/pip-build-80ndek1t/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (1001) tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
Traceback (most recent call last):
File “cvDemo.py”, line 51, in
cv2.imshow(“CSI Camera”, img)
cv2.error: OpenCV(4.5.3) /tmp/pip-build-80ndek1t/opencv-python/opencv/modules/core/src/array.cpp:2494: error: (-206:Bad flag (parameter or structure field)) Unrecognized or unsupported array type in function ‘cvGetMat’

Verify the sensor driver by v4l2-ctl

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/jetson_xavier_camera_soft_archi.html#wwpID0E0YB0HA

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