apirrone
commited on
Commit
·
80a936f
1
Parent(s):
380e46e
debug
Browse files
reachy_mini_red_light_green_light/main.py
CHANGED
@@ -60,7 +60,8 @@ class PeopleDetector:
|
|
60 |
|
61 |
class RedLightGreenLightApp(ReachyMiniApp):
|
62 |
def run(self, reachy_mini: ReachyMini, stop_event: threading.Event):
|
63 |
-
cap = find_camera()
|
|
|
64 |
if cap is None:
|
65 |
raise RuntimeError("No camera found. Please connect a camera.")
|
66 |
|
|
|
60 |
|
61 |
class RedLightGreenLightApp(ReachyMiniApp):
|
62 |
def run(self, reachy_mini: ReachyMini, stop_event: threading.Event):
|
63 |
+
# cap = find_camera()
|
64 |
+
cap = cv2.VideoCapture(0) # debug
|
65 |
if cap is None:
|
66 |
raise RuntimeError("No camera found. Please connect a camera.")
|
67 |
|