Closed ganeshchenniah closed 4 years ago
As you suggested in other thread . We need to comment these two lines
Mat ImageProcessor::process_image(Mat img, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) { // cvtColor(img, img, COLOR_BGR2GRAY); Mat dst = ImageProcessor::crop_and_transform(img, x1, y1, x2, y2, x3, y3, x4, y4); // adaptiveThreshold(dst, dst, 255, cv::ADAPTIVE_THRESH_MEAN_C, cv::THRESH_BINARY, 53, 10);
return dst;
}
Thank you .
Hi ,
How to keep the same colored image as it is after processing the final image in Android.
Regards, GaneshC