zhuMingXu / super-easy-super-resolution

super easy super resolution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

super easy super resolution

License:Apache License 2.0


Languages

Language:Python 100.0%