diff --git a/aruco_realtime.py b/aruco_realtime.py index e7940c5..121a630 100644 --- a/aruco_realtime.py +++ b/aruco_realtime.py @@ -8,10 +8,10 @@ aruco_dict = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_4X4_50) aruco_params = cv2.aruco.DetectorParameters() # Specify the RTSP URL -# rtsp_url = sys.argv[1] +rtsp_url = sys.argv[1] # webcam: -cap = cv2.VideoCapture(0) +cap = cv2.VideoCapture(rtsp_url) while True: ret, frame = cap.read()