I have a picture that I had located in the drwable directroy. I need to use it as a mat file.
I found in the site that I should do this
bitmap batt= bitmapFactory.decodeFile("path");
Utils.bitmapToMat(batt,mBatt);
but it does not seem to work,
am I doing somthing wrong?