/super-easy-super-resolution

super easy super resolution

Primary LanguagePythonApache License 2.0Apache-2.0

super-easy-super-resolution

  • 😊 a super easy and small project to realise super resolution (real-esr)
  • ☕ just clone & pip install some libs in common use, then you can run !

👌 Super easy install

$ git clone https://github.com/LSTM-Kirigaya/super-easy-super-resolution
$ pip install opencv-python numpy pillow torch colorama tqdm

🙌 Super easy usage

$ python real-esrgan.py -i image/test.jpg -o test.sr.jpg

🐳 Use SR in your browser

If you don't like command usage, we support use SR in a web app:

First install streamlit

$ pip install streamlit

Then, run streamlit:

$ python -m streamlit run app.py

The command will automatically open a web page in your browser:

streamlit


Appendix: Compare reconstruction quality

test.jpg test.sr.jpg
Image 1 Image 2