Skip to main content

Library generating 4x/8x 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_4X

Using Python API:

# 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
large_image = cartoon_upsampling_4x( './a_tiny_input_image.png', './a_4x_larger_output_image.png' )

from super_resolution import cartoon_upsampling_8x
large_image = cartoon_upsampling_8x( './a_tiny_input_image.png', './a_8x_larger_output_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


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.2.3.tar.gz (28.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

super_resolution-0.2.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file super_resolution-0.2.3.tar.gz.

File metadata

  • Download URL: super_resolution-0.2.3.tar.gz
  • Upload date:
  • Size: 28.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for super_resolution-0.2.3.tar.gz
Algorithm Hash digest
SHA256 fb410a17465be5c475d85550242f485f7cbc2ee60f79cc89620d23e48f792f08
MD5 def1620556531fb440ac8a3386d810c6
BLAKE2b-256 249d0c26d2ee5a4d3a9362a09baf18879d32b1e8c28ac5eda921eec0c1342689

See more details on using hashes here.

File details

Details for the file super_resolution-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: super_resolution-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for super_resolution-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 23cb9d958f03972d71fe091d9d5d43ee3bf90cd0edf1379ddef39f9aa2297727
MD5 2450e05c90653d8aaecd9c65d50d9a88
BLAKE2b-256 63503b5bd7152700429d66bfd987dd9264ad0dfdc82c812ef9ce0cca32eb1388

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page