Skip to content

A black and white Image colorization prototype. Colorize your black and white photos with colorvibe.

Notifications You must be signed in to change notification settings

AmitNikhade/colorvibes

Repository files navigation

ColorVibes

Logo

A deep learning application that converts the Black & white images to colored ones, which brings life to the image.

Authors

Badges

Add badges from somewhere like: shields.io

BCH compliance MIT License

Usage/Installation

Training the model with custom data

  #cloning the repository
  >> git clone https://github.com/AmitNikhade/colorvibes.git

  #installing dependencies
  >> pip install requirements.txt

  #training
  >> python train.py -data /path-to-train-data/

  

To use the web app you just need to browse the image from your local machine and press the predict button, you'll get teh coloured image within some seconds.

Deployment

Here is the working webapp to colorize your black and white pics

Basically the project is deployed on Heroku. It was pretty much easier for me to deploy my model on Heroku. Even I have to face certain problem related to versioning of deep learning frameworks.

Logo

AutoEncoders

Autoencoders played a dominant role in building the system. I wasn't having a good GPU so I tried training it on kaggle notebooks. It took me a lot of time to train the model with lots of variations of data. The data needs to me picked properly for the model to train, otherwise it won't give you the desired results.

Here is the Autoencoder Architecture.

Image

Working

Autoencoders (AE) are type of artificial neural network. They task is to compress the input image into a latent-space representation also known as bottleneck, and then reconstructing the output image from this representation. Autoencoder is an unsupervised machine learning algorithm.It can also be called as a feature extraction algorithm. Applications of Autoencoders includes Data denoising and Dimensionality reduction for data visualization.

Encoder : This part of the network that compresses the input image data into a latent-space representation. Decoder : This part of network that reconstructs the latent space representation back to original dimension. Which is not exactly the same but a lossy reconstruction of the original Image.

I have used tensorflow and Keras python libraries to build the code.

Image

Screenshots

App Screenshot

Support

For support, email amitnikhade@outlook.com also visit https://amitnikhade.com.