Library generating 4x super resoltion using deep convolutional neural networks.
Project description
Super Resolution
Image Super-Resolution using Deep Convolutional Neural Networks.
Installing
Install and update using pip:
pip3 install super-resolution
Or
git checkout https://github.com/fengwang/super_resolution.git
cd super_resolution
python3 -m pip install -e .
Usage
Command line:
super_resolution INPUT_IMAGE_PATH OUTPUT_IMAGE_PATH
# uncomment the follow three lines if you have a Nvidia GPU but you do not want to enable it.
#import os
#os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
#os.environ["CUDA_VISIBLE_DEVICES"]=''
from super_resolution import cartoon_upsampling_4x
import imageio
cartoon_upsampling_4x( imageio.imread( './a_tiny_image.png', './a_4x_larger_image.png' ) )
Details
- The super resolution model is inherited from
Ledig C, Theis L, Huszár F, et al. Photo-realistic single image super-resolution using a generative adversarial network, Proceedings of the IEEE conference on computer vision and pattern recognition. 2017: 4681-4690.
- The training images are downloaded from Konachan (NSFW).
License
- BSD
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
super_resolution-0.1.1.tar.gz
(9.0 MB
view hashes)
Built Distribution
Close
Hashes for super_resolution-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6db5202f7931b42c01b9c6f88d35ed196e5fe048eac07ab69b4fb8a85fdb5a |
|
MD5 | d1bbf0485d7f2f8322e4fcb6a719ece3 |
|
BLAKE2b-256 | 4c81fcc4b9d940893a63f2c4943848ba8598f62b312ab85899f7ee8d71923793 |