I have a Jetson AGX Xavier and “see3CAM_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()
I didn’t find anything on internet about ee3cam_cu55. Are you sure it exists and it has zoom?
Anyway, as it’s probably some exotic camera, you should probably try to access it though it’s own API.