/Colour-Me

Colour photos in just one single step. Bring life to those boring black and white photos!

Primary LanguagePythonMIT LicenseMIT

Colour-Me

Logo

MIT License PR's Welcome Issues

Colour photos in just one single step. Bring life to those boring black and white photos

How is this tool helpful?

  • Relive the past: Revisit old memories (photos)
  • Add a dash of colour to boring black and white photos

The Zhang Algorithm

The colorization algorithm was developed by Zhang, et al, and is detailed here:

http://richzhang.github.io/colorization/

Technology Stack

Languages

  • Python
  • Machine Learning
  • Deep Learning
  • Image Processing

Getting Started

File Structure

Directory Content
model contains the model
Sample Images contains sample images to test
The Colourising algorithm contains the colour function

Setup

  • Fork and clone the repo
$ git clone https://github.com/vrushti-mody/Colour-Me.git
$ cd Colour-Me
  • Install dependencies

To use the GUI you'll need to install PySimpleGUI (http://www.PySimpleGUI.org for instructions)

One of these will install it for you.

pip install PySimpleGUI
pip3 install PySimpleGUI

For the computer vision part, you need to install opencv-python (https://pypi.org/project/opencv-python/)

One of these will install it for you.

pip install opencv-python
pip3 install opencv-python
  • Run the application

You run the demo program using either python or python3 depending on your system:

python colour.py
python3 colour.py

Contribution Guidelines

PR's Welcome Contributors

If you have suggestions for how Colour-Me could be improved, or want to report a bug, open an issue! Contributions of all kinds are welcomed!

For more, check out the Contributing Guide.

Resources

https://www.pyimagesearch.com/2019/02/25/black-and-white-image-colorization-with-opencv-and-deep-learning/

License

MIT © 2020 WandaVision

Made with 💕 by Vrushti Mody and Rohan Poojari for the Hack From the Past Hackathon!