OpenCV correction