An open API service indexing awesome lists of open source software.

https://github.com/rashadgarayev/colorizeimage


https://github.com/rashadgarayev/colorizeimage

caffemodel colorful colorize deep-learning gui opencv-colorize opencv-python

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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](tmp/screen.png)
---------------------------------------------------------------------------------------------------------------------------
#### Tested
Video : (https://youtu.be/s0WRdNgKHTQ)

![Conv](tmp/color.jpg) ![Conv](tmp/color1.jpg)

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