Hi everyone,
I have a jetson agx xhavier and ee3CAM_CU55 - 1/2.5" 5.0 MP Low Noise USB Camera. I am trying to run this code but camera does not zoom. Why is this happening?. Thank you for every reply.
import cv2
cap = cv2.VideoCapture(1)
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 640)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 480)
cap.set(cv2.CAP_PROP_ZOOM, 100)
while True:
ret, frame = cap.read()
cv2.imshow(“a”, frame)
key = cv2.waitKey(1) & 0xFF
if key == ord('q'):
break
cv2.destroyAllWindows()