Spaces:
Sleeping
Sleeping
changed timeout
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ if webcam:
|
|
58 |
while True:
|
59 |
try:
|
60 |
# Get Frame from Webcam
|
61 |
-
frame = webcam.get_frame(timeout=
|
62 |
|
63 |
# Convert to OpenCV Image
|
64 |
frame = frame.to_ndarray(format="rgb24")
|
|
|
58 |
while True:
|
59 |
try:
|
60 |
# Get Frame from Webcam
|
61 |
+
frame = webcam.get_frame(timeout=10)
|
62 |
|
63 |
# Convert to OpenCV Image
|
64 |
frame = frame.to_ndarray(format="rgb24")
|