The ESRGAN CLI package is a command-line tool that enhances images using the ESRGAN (Enhanced Super-Resolution Generative Adversarial Networks) algorithm. It provides a convenient interface to interact with an ESRGAN API service and process images for improved visual quality.
- Enhance images using the RealESRGAN algorithm
- Simple and intuitive command-line interface
- Supports specifying the URL of the ESRGAN API service
- Process images from various sources (local file or remote URL)
- Specify custom output filenames for processed images
esrgan <service_url> <img_url> <output_filename>
Example:
esrgan https://cf13-35-197-62-150.ngrok-free.app "https://static.wikia.nocookie.net/breakingbad/images/b/b4/Walter_2008.png/revision/latest?cb=20200704164147" walter
pip install esrgan-cli
Click here for service_url setup details.
docker build -t esrgan-service .
docker run --gpus all -p 5000:5000 esrgan-service
Please note that these commands assume that you have Docker installed and configured properly on your system. Additionally, if you have made any modifications to the Dockerfile, ensure that the necessary dependencies and files are included for the ESRGAN service to function correctly.
Contributions and bug reports are welcome!