Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 453 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 453 Bytes

video2dpeth

Depthmap video generator using machine learning

Requirements

$ pip install torch torchvision opencv-python timm Pillow numpy ffmpeg-python numpy

Usage

$ python3 video2depth.py --input [filename]

output

  • output_depth.mp4 = depthmap video
  • output_depth_sound.mp4 = depthmap video + sound
  • output_merged.mp4 = original + depthmap video
  • output_merged_sound.mp4 = original + depthmap video + sound