This project uses a Super-Resolution Generative Adversarial Network (SRGAN) to enhance the resolution of images by 4x. Users can upload low-resolution images, and the web application—built using Flask—processes these images with a pre-trained SRGAN model, returning high-quality images.
- Image Upload: Users can upload low-resolution images for processing.
- 4x Enhancement: Utilizes a pre-trained SRGAN model to improve image resolution.
- Download Option: Users can download the enhanced image.
- Flask Web App: A simple interface for image enhancement.
- SRGAN: Pre-trained SRGAN model for super-resolution.
- Flask: Backend web framework for handling image uploads and processing.
- HTML/CSS/JavaScript: Basic frontend for user interaction.
- Python 3.7+
- Flask
- Pre-trained SRGAN model
-
Clone the repository:
git clone https://github.com/your-username/srgan-image-enhancer.git cd srgan-image-enhancer -
Install the required dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Open your web browser and go to:
http://127.0.0.1:5000/
- Upload a low-resolution image.
- Wait for the model to process the image.
- Download the high-resolution image.
- Input: Low-resolution image (e.g., 64x64)
- Output: Enhanced high-resolution image (e.g., 256x256)