Use default webcam for example
This commit is contained in:
parent
2deecb2e36
commit
98cae0c828
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import cv2.aruco as aruco
|
||||||
aruco_dict = aruco.Dictionary_get(aruco.DICT_APRILTAG_36H11)
|
aruco_dict = aruco.Dictionary_get(aruco.DICT_APRILTAG_36H11)
|
||||||
parameters = aruco.DetectorParameters_create()
|
parameters = aruco.DetectorParameters_create()
|
||||||
|
|
||||||
cap = cv2.VideoCapture(2)
|
cap = cv2.VideoCapture(0)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
_, frame = cap.read()
|
_, frame = cap.read()
|
||||||
|
|
Loading…
Reference in a new issue