Skip to content

anilsathyan7/Deep-Video-Composting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep-Video-Composting

A python script for video composting .

It takes two videos as input and produces a single video composite as output. The person in the first video is segmented out and blended seamlessly into the second video (background) .It uses deeplab v3 for segmentation and a custom network (caffe) for color harmonization.Since the tensorflow model was trained on PASCAL VOC dataset, we can segment out any object belonging to those classes and combine them with the other video to produce a video composite.

Sample input and output videos along with link to pretrained modles are provided in respective folders.

N.B: Currently, only the inference code is provided; please refer the links in the acknowledgement section for training and other implementation details.

Dependencies

  • Python 2.7
  • Tensorflow
  • Caffe
  • Opencv, PIL, Scikit-Image

Prerequisites

Demo

Inputs

Input1:-

Screenshot

Input2:-

Screenshot

Output

Screenshot

Versioning

Version 1.0

Authors

Anil Sathyan

Acknowledgments