Video Inpainting using 3D Convolutional Neural Network autoencoder
-
Download Dataset
Download required dataset and copy it into the folder name 'src-images'
-
Download the python libraries provided in requirements.txt file
pip2 install --user -r requirements.txt
Note: Keras uses Tensorflow-gpu backend
-
Preprocess the dataset
Run the program
create_dataset.py
. Change parameters as required.Default parameters: 50 images -- 50 video_frames -- 50 mini-batches.
The console will print out progress during the creation of the synthetic data.
-
Train and test the neural network
To run the training and testing of the neural network provided, access the python files
train.py
andtest.py
, change parameters as required and run them.
Generated frames of color video with moving objects: Grayscaled frames of video to form the dataset: Ground truth video frames:
Input - Output: