Skip to content

Commit

Permalink
Switched camera back to mambo from laptop
Browse files Browse the repository at this point in the history
  • Loading branch information
amymcgovern committed Dec 12, 2017
1 parent 2dba7a1 commit e8c5edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MamboVision.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8c5edc

Please sign in to comment.