Convert to OpenCV. Receipt not fully functional