Ask Your Question

Revision history [back]

i want mat to 1row mat(for SVM)

i want make facial emotion recognizer

this is my code image description

when i use loadface.clone().reshape(1, 1).convertTo(rowMat, org.opencv.core.CvType.CV_64FC1, 1, 0);

in MFC it is done well

but in Android image description

please help me

i want mat to 1row mat(for SVM)

i want make facial emotion recognizer

this is my code image description

when i use loadface.clone().reshape(1, 1).convertTo(rowMat, org.opencv.core.CvType.CV_64FC1, 1, 0);

in MFC it is done well

but in Android image description

image size 256*256

please help me

i want mat to 1row mat(for SVM)

i want make facial emotion recognizer

this is my code image description

when i use loadface.clone().reshape(1, 1).convertTo(rowMat, org.opencv.core.CvType.CV_64FC1, 1, 0);

in MFC it is done well

but in Android image description

image size 256*256

256*256 and i think loadface is not null because when i print log.i loadface.cols and loadface.rows printed 256 256 please help me