SS8297 commited on
Commit
a78c7ed
·
1 Parent(s): 47a0b3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -18,7 +18,8 @@ while run:
18
  print("Can't receive frame (steam end?).Exiting ...")
19
  break
20
  else:
21
- frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
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
+