Blur detection with OpenCV