AldinWil10 commited on
Commit
a627cfc
1 Parent(s): 0a38f33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
16
  font = cv2.FONT_HERSHEY_SIMPLEX
17
 
18
  # Use this line to capture video from the webcam
19
- cap = cv2.VideoCapture(0)
20
 
21
  # Set the title for the Streamlit app
22
  st.title("Video Capture with OpenCV")
 
16
  font = cv2.FONT_HERSHEY_SIMPLEX
17
 
18
  # Use this line to capture video from the webcam
19
+ cap = cv2.VideoCapture(3)
20
 
21
  # Set the title for the Streamlit app
22
  st.title("Video Capture with OpenCV")