From e8c5edc1850105fd5bcd005516b3e782815ed74f Mon Sep 17 00:00:00 2001 From: Amy McGovern Date: Tue, 12 Dec 2017 10:49:40 -0600 Subject: [PATCH] Switched camera back to mambo from laptop --- MamboVision.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MamboVision.py b/MamboVision.py index 016665b..63699d3 100644 --- a/MamboVision.py +++ b/MamboVision.py @@ -63,10 +63,10 @@ def open_video(self, max_retries=3): :return True if the vision opened correctly and False otherwise """ print("opening the camera") - #self.capture = cv2.VideoCapture("rtsp://192.168.99.1/media/stream2") + self.capture = cv2.VideoCapture("rtsp://192.168.99.1/media/stream2") # if you do 0, it opens the laptop webcam - self.capture = cv2.VideoCapture(0) + #self.capture = cv2.VideoCapture(0) # if it didn't open the first time, try again a maximum number of times try_num = 1