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 (<= 1.9.0)
- Tensorlayer 1.8.2
- OpenCV2
- We used CUHK blur detection dataset for training our network and generating our synthetic dataset
- Train and test set lists are uploaded in 'dataset' folder
- Need to modify some options and paths in 'main.py' and 'config.py' for training
- 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'
python main.py
- download synthetic train set(337MB) and synthetic test set(11.5MB) from google drive
- Note that sharp pixels, motion-blurred pixels, and defocus-blurred pixels in GT blur maps are labeled as 0, 100, and 200, respectively, in the [0,255] range.
This software is being made available under the terms in the LICENSE file.
Any exemptions to these terms requires a license from the Pohang University of Science and Technology.
Project ‘COUPE’ aims to develop software that evaluates and improves the quality of images and videos based on big visual data. To achieve the goal, we extract sharpness, color, composition features from images and develop technologies for restoring and improving by using it. In addition,ersonalization technology through userreference analysis is under study.
Please checkout out other Coupe repositories in our Posgraph github organization.