Closed Gaebobman closed 1 year ago
Then replace cv2.VideoCapture with a code below
cv2.VideoCapture
cv2.VideoCapture('nvarguscamerasrc ! video/x-raw(memory:NVMM), width=640, height=480, format=(string)NV12, framerate=(fraction)20/1 ! nvvidconv ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink' , cv2.CAP_GSTREAMER)
Then replace
cv2.VideoCapture
with a code below