i want mat to 1row mat(for SVM)
i want make facial emotion recognizer
this is my code
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 size 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
null pointer exception. either your image was not loaded, or rowmat not initialized.
(next time, please avoid screenshots, instead copy code/logcat output)
when i initalize rowMat onCreate rowMat = new Mat(1, 65536, org.opencv.core.CvType.CV_64FC1); error too