diff --git a/.gitignore b/.gitignore index 010cd8a..2a91657 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,4 @@ DroneFace pytorch/deep_sort pytorch/wider face.v3i.yolov5pytorch pytorch/yolov5 -pytorch/deep_sort -*.mp4 \ No newline at end of file +pytorch/deep_sort \ No newline at end of file diff --git a/cutVideo.mp4 b/cutVideo.mp4 new file mode 100644 index 0000000..85fe4cb Binary files /dev/null and b/cutVideo.mp4 differ diff --git a/mosaic.py b/mosaic.py index 0923416..d94ab9d 100644 --- a/mosaic.py +++ b/mosaic.py @@ -99,4 +99,10 @@ def mosaic(video_path, image_paths): out.release() cv2.destroyAllWindows() - return output_video_path \ No newline at end of file + 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) \ No newline at end of file diff --git a/pytorch/tmp/cut_test.mp4 b/pytorch/tmp/cut_test.mp4 new file mode 100644 index 0000000..566a00f Binary files /dev/null and b/pytorch/tmp/cut_test.mp4 differ diff --git a/pytorch/tmp/test.mp4 b/pytorch/tmp/test.mp4 new file mode 100644 index 0000000..566a00f Binary files /dev/null and b/pytorch/tmp/test.mp4 differ diff --git a/tmp/cutVideo2.mp4 b/tmp/cutVideo2.mp4 new file mode 100644 index 0000000..ed9e562 Binary files /dev/null and b/tmp/cutVideo2.mp4 differ diff --git a/tmp/cut_pisik.mp4 b/tmp/cut_pisik.mp4 new file mode 100644 index 0000000..8c7d323 Binary files /dev/null and b/tmp/cut_pisik.mp4 differ diff --git a/tmp/output.mp4 b/tmp/output.mp4 new file mode 100644 index 0000000..5a58eaa Binary files /dev/null and b/tmp/output.mp4 differ diff --git a/tmp/output2.mp4 b/tmp/output2.mp4 new file mode 100644 index 0000000..566a00f Binary files /dev/null and b/tmp/output2.mp4 differ