fcernafukuzaki commited on
Commit
385c73b
·
verified ·
1 Parent(s): 1674e2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import cv2
10
 
11
  st.set_page_config(page_title="Streamlit WebCam App")
12
  st.title("Webcam Display Steamlit App")
13
- cap = cv2.VideoCapture(0)
14
  frame_placeholder = st.empty()
15
  #st_frame = st.empty()
16
  stop_button_pressed = st.button("Stop")
 
10
 
11
  st.set_page_config(page_title="Streamlit WebCam App")
12
  st.title("Webcam Display Steamlit App")
13
+ cap = cv2.VideoCapture(0, cv2.CAP_DSHOW)
14
  frame_placeholder = st.empty()
15
  #st_frame = st.empty()
16
  stop_button_pressed = st.button("Stop")