Skip to main content

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

Metadata

Release files for super-resolution 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for super-resolution 0.2.4
File Size Uploaded Provenance
super_resolution-0.2.4.tar.gz 28.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for super-resolution 0.2.4
File Interpreter ABI Platform
super_resolution-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 MB

Release files / super_resolution-0.2.4.tar.gz

Download URL super_resolution-0.2.4.tar.gz
Size 28.3 MB
Tags Source
SHA-256 checksum
How to use checksums
402c5cfea91752b18576887080b04cecf0efeb57da87f5a6fb9de8bfb0939ef1
BLAKE2b-256 checksum
How to use checksums
d1063c983c71a5cc1bb9acdf5a5f2483859a43475788feef2c1c09eb084aa16e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 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

Release files / super_resolution-0.2.4-py3-none-any.whl

Download URL super_resolution-0.2.4-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
146612a08fc962bdec5c22fb8f4a47a51549e544fb0d463411c02390272dd37b
BLAKE2b-256 checksum
How to use checksums
a77fcae3785479d1527ff79d624594ed7705a56744bef5d67d08f8437455c619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 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

Security for super-resolution 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page