ake178178 commited on
Commit
38f1d35
·
verified ·
1 Parent(s): cb643e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -48,6 +48,5 @@ if st.button("开始摄像头"):
48
  stframe.image(frame_rgb, caption="检测到的物体", channels="RGB")
49
 
50
  video_capture.release()
51
- cv2.destroyAllWindows()
52
  else:
53
  st.write("点击上方按钮以启动摄像头")
 
48
  stframe.image(frame_rgb, caption="检测到的物体", channels="RGB")
49
 
50
  video_capture.release()
 
51
  else:
52
  st.write("点击上方按钮以启动摄像头")