Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Android: Mat converting to CV_8U

Hi and thanks for your help!

I am trying to use CascadeClassifier.detectMultiScale()

I understand that it takes as an input a Mat of type CV_8U.

Therefore, after using bitmapToMat()

I try to convert the Mat to CV_8U. with

mat.convertTo(mat2, CV_8U);

but apparently Eclipse does not take as an argument CV_8U

image description

Thank you for your help!!