A Python programme using a Deep Learning model to enhance an image.
Use the package manager pip to install the requirements to run the python programme.
pip install -r requirements.txt
Download the model called EDSR_x3.pb here and put it in the folder called code
.
When you're in the folder code, run the following code :
python3 main.py -r input_path [-e ouputname]
where :
-r : define the input path, ex. test.jpg\n
-e : define the output name, ex. testUpscaled.jpg (optional)
[1] Bee Lim, Sanghyun Son, Heewon Kim, Seungjun Nah, and Kyoung Mu Lee, "Enhanced Deep Residual Networks for Single Image Super-Resolution," 2nd NTIRE: New Trends in Image Restoration and Enhancement workshop and challenge on image super-resolution in conjunction with CVPR 2017.