Martlgap commited on
Commit
7867a3c
1 Parent(s): c06c00f

changed timeout

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=1)
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")