Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def main():
|
|
| 68 |
st.set_page_config(page_title="Streamlit WebCam App")
|
| 69 |
st.title("Webcam Display Steamlit App")
|
| 70 |
st.caption("Powered by OpenCV, Streamlit")
|
| 71 |
-
cap = cv2.VideoCapture(
|
| 72 |
frame_placeholder = st.empty()
|
| 73 |
stop_button_pressed = st.button("Stop")
|
| 74 |
while cap.isOpened() and not stop_button_pressed:
|
|
|
|
| 68 |
st.set_page_config(page_title="Streamlit WebCam App")
|
| 69 |
st.title("Webcam Display Steamlit App")
|
| 70 |
st.caption("Powered by OpenCV, Streamlit")
|
| 71 |
+
cap = cv2.VideoCapture(1)
|
| 72 |
frame_placeholder = st.empty()
|
| 73 |
stop_button_pressed = st.button("Stop")
|
| 74 |
while cap.isOpened() and not stop_button_pressed:
|