Skip to content

evanezent/Night-to-Day-Image-Translation-using-DCGAN

Repository files navigation

Night-to-Day-Image-Translation-using-DCGAN

An supervised night to day image translation using Deep Convolutional Generative Adversarial Network. This code was built as my final Bachelor Thesis at Telkom University.

Prerequisites

  • Python 3
  • Tensorflow
  • CPU or NVIDIA GPU + CUDA CuDNN

Instalation

Clone this repo

  git clone https://github.com/evanezcent/Night-to-Day-Image-Translation-using-DCGAN/

Install

  pip install tensorflow
  pip install PIL
  pip install pydotplus
  pip install IPython
  pip install numpy
  pip install pandas

Dataset

We provided our augmented datatrain and datatest which has a square shape. If you want the un-augmented data, just email me here.

Data Preparation

On data preparation, we extract many timelapse video and then tak 5~10 copies of the image.

Data Augmentation

We just doing two kind of augmentation process, that is cropping and flipping to keep the original feature of the images. Then we renamed it sequentially.

Testing

We evaluate the model using SSIM as the accuracy and L2-Norm to calculate the loss.

Result

As the final result, we just get a 40% accuracy using datatest. Based on our analytics, it caused of :

  • Lack of paired image data night and day
  • Training time
  • Suitable architecture for night to day translation case

Using testing images

Using training images

About

My Final Bachelor Thesis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published