Hello,
I’m trying to use python and OpenCv to do it on Debian OS. It will succesfully capture the view at the default resolution 640x480. But if I set the resolution to 720p I can only get white frame.
Here is my code
import cv2
cap = cv2.VideoCapture(0)
cap.set(3,1280)
cap.set(4,720)while(cap.isOpened()):
ret, frame = cap.read()
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2BGRA)
cv2.imshow(‘frame’, gray)
if cv2.waitKey(1) & 0xFF == ord(‘q’):
breakcap.release()
cv2.destroyAllWindows()
Does the board have not enough performance to meet my needs? If so ,can someone recommend me a suitable board?