Zengyf-CVer commited on
Commit
8dd584f
1 Parent(s): c820fb7

app update

Browse files
Files changed (3) hide show
  1. app.py +1 -1
  2. packages.txt +0 -2
  3. requirements.txt +1 -1
app.py CHANGED
@@ -401,7 +401,7 @@ def yolo_det_video(video, device, model_name, infer_size, conf, iou, max_num, mo
401
  out.write(frame)
402
  out.release()
403
  cap.release()
404
- cv2.destroyAllWindows()
405
 
406
  return output_video_path
407
 
 
401
  out.write(frame)
402
  out.release()
403
  cap.release()
404
+ # cv2.destroyAllWindows()
405
 
406
  return output_video_path
407
 
packages.txt CHANGED
@@ -1,5 +1,3 @@
1
  ffmpeg
2
  x264
3
  libx264-dev
4
- libgtk2.0-dev
5
- pkg-config
 
1
  ffmpeg
2
  x264
3
  libx264-dev
 
 
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  # Base ----------------------------------------
2
  matplotlib>=3.2.2
3
  numpy>=1.22.3
4
- opencv-contrib-python-headless>=4.5.5.64
5
  Pillow>=7.1.2
6
  PyYAML>=5.3.1
7
  requests>=2.23.0
 
1
  # Base ----------------------------------------
2
  matplotlib>=3.2.2
3
  numpy>=1.22.3
4
+ opencv-python-headless>=4.5.5.64
5
  Pillow>=7.1.2
6
  PyYAML>=5.3.1
7
  requests>=2.23.0