Spaces:
Sleeping
Sleeping
Commit
·
4a4c7c1
1
Parent(s):
b935c29
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from IPython.display import Audio
|
|
15 |
# Using captured images
|
16 |
|
17 |
def process_webcam_images():
|
18 |
-
cap = cv2.VideoCapture(
|
19 |
|
20 |
while True:
|
21 |
ret, frame = cap.read()
|
|
|
15 |
# Using captured images
|
16 |
|
17 |
def process_webcam_images():
|
18 |
+
cap = cv2.VideoCapture(0) # 0 corresponds to the default camera (usually your webcam)
|
19 |
|
20 |
while True:
|
21 |
ret, frame = cap.read()
|