Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ st.title("Live Webcam Stream - Original and Flipped")
|
|
7 |
|
8 |
# Start webcam capture
|
9 |
cap = cv2.VideoCapture(0)
|
10 |
-
|
11 |
# Check if the webcam is opened successfully
|
12 |
if not cap.isOpened():
|
13 |
st.error("Failed to access the webcam. Please check your device.")
|
|
|
7 |
|
8 |
# Start webcam capture
|
9 |
cap = cv2.VideoCapture(0)
|
10 |
+
print(cap)
|
11 |
# Check if the webcam is opened successfully
|
12 |
if not cap.isOpened():
|
13 |
st.error("Failed to access the webcam. Please check your device.")
|