You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
private void enhanceDocument(Mat src) {
// Imgproc.cvtColor(src, src, Imgproc.COLOR_RGBA2GRAY); <===== COMMENT THE LINE TO SOLVE THE BLACK & WHITE COLOR ISSUES
src.convertTo(src, CvType.CV_8UC1, colorGain, colorBias);
}
I'm only able to take black and white images. How can I take coloured images?
The text was updated successfully, but these errors were encountered: