autofocus prototype to estimate the image 'sharpness' using OpenCV, which can be used for camera auto-focus control.