Streamlit App to Upscale images and compared visualization - Repo of the code from the Medium article
This app leverage the amazing Repository Real-ESRGAN
you can find it also on HuggingFace - https://huggingface.co/ai-forever/Real-ESRGAN
I tried to use also x2_Upscaler and x8_Upscaler but I always get an error from pytorch
- you upload a picture
- you generate the Upscaled image
- you compare the results
NOTE
The bigger the original image, the longer the Upscale time
python -m venv venv
venv\Scripts\activate
pip install git+https://github.com/sberbank-ai/Real-ESRGAN.git
pip install streamlit
pip install streamlit-image-comparison
from https://huggingface.co/ai-forever/Real-ESRGAN
Download RealESRGAN_x4.pth into weights
subfolder
from the terminal, with the venv still activated, run
python -m streamlit run .\stUpscaler4x.py
Note: original Image of Remo Williams from here
Here a low resolution image i used for my Medium article
Original url: https://mamvas.blogspot.com/2013/06/fruto-de-la-crisis-los-bancos-italianos.html