Spaces:
Runtime error
Runtime error
Commit
•
8dd584f
1
Parent(s):
c820fb7
app update
Browse files- app.py +1 -1
- packages.txt +0 -2
- 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-
|
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
|