I want to convert an image of type CV_64FC1 to CV_8UC1 in Python using OpenCV. In C++, using convertTo function, we can easily convert image type using following code snippet: image.convertTo(image, CV_8UC1); I have searched on Internet but unable to find any solution without errors. Any function in Python OpenCV to convert this? Continue reading...