I want to analyze a specific Area in a Video. Is there a way to set the size of frame1 to a specific Area? With cap.read() for Example?
cap = cv2.VideoCapture(url)
while True:
# Capture each Frame
ret, frame1 = cap.read()
cv2.imshow("Capture", frame1)
q = cv2.waitKey(1)
if q == ord("q"):
break
cap.release()
cv2.destroyAllWindows()
Thank you for taking the Time