Hello everyone,
I have problem when i try to open pi camera v2 with jetson-nano and open cv.
my hardware configuration:
-PI camera V2.1
- jetson nano
- Power
my software configuration:
CV2 4.6.0 V
GStreamer Core Library version 1.14.5
import cv2
cap = cv2.VideoCapture('nvarguscamerasrc ! video/x-raw(memory:NVMM), width=3280, height=2464, 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)
while True:
_,image = cap.read()
cv2.imshow("live video" ,image)
if cv2.waitKey(1) & 0xFF ==ord('q'):
break
cap.release()
cv2.destroyAllWindows|()
Any advice on this matter?
thanks