Skip to content

Web app that allows users to upload images, enhance their resolution, and download the improved images.

Notifications You must be signed in to change notification settings

williamdevena/Super-resolution-web-app

Repository files navigation

Super resolution web app

Description

This web app allows users to upload images, enhance their resolution, and download the improved images.

Installation

  • Clone this repository
git clone https://github.com/williamdevena/Super-resolution-web-app.git
cd Super-resolution-web-app
  • Install required dependencies using
pip install -r requirements.txt

Usage

  • Run the web app
python app.py
  • Open the web app in your browser (default URL: http://localhost:5000)
  • Upload an image, select the scale level, and click 'Upload'
  • View the enhanced and original images side by side
  • Download the enhanced image using the provided button

Experiments execution

In addition to the web app, this repo contains the code used to implement, train and test the machine learning models.

For more details on the approaches proposed refer to the report 'SR_report.pdf' contained in this repo.

To execute and replicate the results written in the report run the file 'main.py'. This should create two folders: 'project_log' and 'ouput_images'.

The first contains the file 'assignment.log' where the results are going to be written, while the second contains the output images of all the proposed approaches:

  • nearest-neighbor (baseline)
  • bilinear interpolation (baseline)
  • PSNR-oriented CNN
  • GAN

The image below shows an example of the output of the proposed methods.

My Image

Dataset

NTIRE 2017 Super Resolution Challenge (https://data.vision.ee.ethz.ch/cvl/ntire17/)

Technologies Used

  • Python
  • PyTorch
  • NumPy
  • OpenCV
  • Flask
  • Javascript
  • HTML
  • CSS
  • Bootstrap

About

Web app that allows users to upload images, enhance their resolution, and download the improved images.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published