Hello.
capture = cv2.VideoCapture(0)
while(True):
ret, frame = capture.read()
cv2.imshow(‘frame’,frame)
if cv2.waitKey(30) & 0xFF == ord(‘q’):
break
capture.release()
cv2.destroyAllWindows()
I run this program.
But,3 min later, cv2window got dark and program stopped suddenly.
I use 5V 4A power supply and jetson can afford to use a CPU and GPU according to the jtop.
jetson _ clocks is valid.
My camera specs shown below
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: ‘YUYV’
Name : YUYV 4:2:2
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.111s (9.000 fps)
Size: Discrete 1280x1024
Interval: Discrete 0.111s (9.000 fps)
Size: Discrete 352x288
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 176x144
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 160x120
Interval: Discrete 0.033s (30.000 fps)
So, please help me why I can’t use this camera.