Eng-MohamedHussien / b7b_el_cima

An application that converts black and white videos or images into colored and nice ones.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

b7b_el_cima

Content


Overview

Academic project of an application that converts black and white videos or images into colored and nice ones. For more, check our Project Proposal and Video

before1 after1

Specifications

A simple website containing a colorization app for video or image


Model Architecture

  • We learned 3 different architectures you can find all details here.

  • By comparing the initial results of them the one which gave the best result was U-Net so we continue training on it.

  • We trained it by 66k images from old colored movies. you can find the dataset here.

  • The training took 2 days on colab to make 20 epochs with batch size 32.


How to use?

1) Download this repo

2) Download the model

  • Create a new folder in the repo and name it "models"
  • In this folder(models), download the model from here

3) Install dependencies

  • Using command line:

    pip install -r requirements.txt

4) To run the website

  • Go to the project directory
  • Go to Web App
  • Run command line there and type:

    python abbas.py

5) To colorize an Image:

  • Include a url or upload an image then click Colorize:

6) To colorize a Video:

  • Upload a video then click Colorize:


Examples

Image

Video

Our Team


License

About

An application that converts black and white videos or images into colored and nice ones.


Languages

Language:Jupyter Notebook 97.0%Language:HTML 1.9%Language:Python 0.6%Language:JavaScript 0.5%