Skip to content

RashadGarayev/ColorizeImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colorize black and white photo-video

Note: Python 2.x is not supported versions

Python packages

  • numpy
  • OpenCv
  • PyQt5
  • imageio

Installation

Ubuntu

pip3 install --user pyqt5  
sudo apt-get install python3-pyqt5  
sudo apt-get install pyqt5-dev-tools
sudo apt-get install qttools5-dev-tools
pip3 install numpy opencv-contrib-python imageio imageio-ffmpeg

Clone the master branch of the respository using git clone -b master --single-branch https://github.com/RashadGarayev/ColorizeImage.git

cd ColorizeImage

Install the required packages by executing the following command.

$ pip3 install -r requirements.txt

Usage

Installation caffe model

$ cd models/

$ wget http://eecs.berkeley.edu/~rich.zhang/projects/2016_colorization/files/demo_v2/colorization_release_v2.caffemodel

$ cd ..

$ python3 main.py

Conv

Tested

Video : (https://youtu.be/s0WRdNgKHTQ)

Conv Conv

Referans : https://arxiv.org/abs/1603.08511