Coder Social home page Coder Social logo

sovit-123 / image-deblurring-using-deep-learning Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 5.0 3.84 MB

PyTorch implementation of image deblurring using deep learning. Use a simple convolutional autoencoder neural network to deblur Gaussian blurred images.

Python 1.39% Jupyter Notebook 98.61%
deep-learning neural-networks pytorch computer-vision machine-learning convolutional-neural-networks deep-neural-networks image-deblurring computer-vision-neural-networks image-deblur deeplearning-image-deblur

image-deblurring-using-deep-learning's Introduction

README

  • First of all, you can find the dataset on Kaggle:

  • Get the dataset and extract it inside the input folder. Following is the directory structure for the project:

    ├───input
    │   ├───defocused_blurred
    │   ├───gaussian_blurred
    │   ├───motion_blurred
    │   └───sharp
    ├───outputs
    │   └───saved_images
    └───src
    

Steps to Execute

  • I have not used the blurred images that are given in the original dataset for image deblurring. They are spatially variant due to motion blurring and defocus-blurring. I have added Gaussian blurring to the images using the add_guassian_blur.py script inside the src folder. Then I have used these images for deblurring.
  • The following is the order of execution:
    1. add_gaussian_blur.py
    2. deblur_ae.py
  • Note: Execute all the scripts while being within the src folder inside the terminal.

Some Results

  • Loss Plot

  • Blurred Image

    Final Deblurred Image

Future Work

  • To deblur the spatially variant images inside the defocused_blurred and motion_blurred folders.
  • Add more and better models to models.py script.
  • Any useful contribution to the project is highly appreciated.

References

image-deblurring-using-deep-learning's People

Contributors

sovit-123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

image-deblurring-using-deep-learning's Issues

model

hellow,where is the "model.pth"?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.