Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,8 @@ while run:
|
|
18 |
print("Can't receive frame (steam end?).Exiting ...")
|
19 |
break
|
20 |
else:
|
21 |
-
|
22 |
-
FRAME_WINDOW.image(frame)
|
23 |
else:
|
24 |
-
st.write('Stopped')
|
|
|
|
18 |
print("Can't receive frame (steam end?).Exiting ...")
|
19 |
break
|
20 |
else:
|
21 |
+
#cc = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
22 |
+
FRAME_WINDOW.image(frame, channels = "BGR")
|
23 |
else:
|
24 |
+
st.write('Stopped')
|
25 |
+
|