Tensorflow implementation of "Defocus and Motion Blur Detection with Deep Contextual Features"
For image examples:
This repository contains a test code and sythetic dataset, which consists of scenes including motion and defocus blurs together in each scene.
- Ubuntu 16.04
- Tensorflow 1.6.0 or higher
- Tensorlayer 1.8.2 or higher
- download model weights from google drive and save the model into 'model' folder.
- specify a path of input folder in 'main.py' at line #39
- run 'main.py'