Enhance your images effortlessly using the advanced Real-ESRGAN model. This simple web app allows you to upload an image, choose an enhancement scale, and process it using state-of-the-art deep learning models for image upscaling.
- Image Upload: Upload your image in JPG, PNG, or JPEG format.
- Enhancement Settings: Choose from different enhancement scales (2x, 3x, 4x).
- Real-ESRGAN Processing: Enhance your image using the Real-ESRGAN model for improved resolution.
- Download Enhanced Image: After the image is enhanced, download the improved version with just a click.
To run this app locally, make sure you have the following libraries installed:
- Python 3.x
- Streamlit
- Pillow
- torch
- realesrgan
You can install the necessary Python libraries with:
pip install streamlit Pillow torch realesrgan
- Clone or download this repository.
- Install the required dependencies as mentioned above.
- Run the Streamlit app by navigating to the directory and executing:
streamlit run app.py
- Once the app opens in your browser, simply upload an image.
- Select the enhancement scale (2x, 3x, or 4x).
- Click on "Enhance Image" to start the image enhancement process.
- After processing, download your enhanced image!
The app uses the Real-ESRGAN model for image enhancement. Make sure the weights for the Real-ESRGAN model are properly set (RealESRGAN_x{scale}plus.pth
).
This project is licensed under the MIT License - see the LICENSE file for details.
- Powered by Real-ESRGAN for image enhancement.
- Built with ❤️ using Streamlit.