Use default webcam for example

This commit is contained in:
Jake Howard 2022-11-15 19:19:57 +00:00
parent 2deecb2e36
commit 98cae0c828
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -4,7 +4,7 @@ import cv2.aruco as aruco
aruco_dict = aruco.Dictionary_get(aruco.DICT_APRILTAG_36H11)
parameters = aruco.DetectorParameters_create()
cap = cv2.VideoCapture(2)
cap = cv2.VideoCapture(0)
while True:
_, frame = cap.read()