An OpenCV based image straightener