Skip to content

Commit

Permalink
동영상 업로드
Browse files Browse the repository at this point in the history
  • Loading branch information
ljy6712 committed May 24, 2024
1 parent e18b8e2 commit b0f7abc
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ DroneFace
pytorch/deep_sort
pytorch/wider face.v3i.yolov5pytorch
pytorch/yolov5
pytorch/deep_sort
*.mp4
pytorch/deep_sort
Binary file added cutVideo.mp4
Binary file not shown.
8 changes: 7 additions & 1 deletion mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,10 @@ def mosaic(video_path, image_paths):
out.release()
cv2.destroyAllWindows()

return output_video_path
return output_video_path

if __name__ == "__main__":
import sys
video_path = sys.argv[1]
image_paths = ["save/train/yoo/bbo.png","save/train/bbo/bbo2.png","save/train/bbo/bbo3.png","save/train/bbo/bbo4.png"]
mosaic(video_path, image_paths)
Binary file added pytorch/tmp/cut_test.mp4
Binary file not shown.
Binary file added pytorch/tmp/test.mp4
Binary file not shown.
Binary file added tmp/cutVideo2.mp4
Binary file not shown.
Binary file added tmp/cut_pisik.mp4
Binary file not shown.
Binary file added tmp/output.mp4
Binary file not shown.
Binary file added tmp/output2.mp4
Binary file not shown.

0 comments on commit b0f7abc

Please sign in to comment.