Used Laplace of the Variance as the sole feature to train MLP (MultiLayer Perceptron) that can determine if an image is blurred or not, with an accuracy of 83.04%.
Dataset used: CERTH image blur dataset found here
- Download and install the latest version of Anaconda (Python 3.6) from here(https://www.anaconda.com/download) (Will include numpy, pandas and scikit-learn by default).
- Both pip and conda are included in Anaconda and Miniconda, so you do not need to install them separately.
- Install latest version of OpenCV using
pip install opencv-python
- Run script (both train and test script included) using
python blur_detector.py
and wait for the prompt to stop.