(Android emulator + OpenCV)
I'm using the android camera app to take a picture. I am successfully able to get the newly taken picture bitmap and display (Bitmap theImage = (Bitmap) data.getExtras().get("data");) it but now i need to get an Mat out of the picture. For that, i've been using a simple line:
Mat a = Highgui.imread("data");
I've testing it and it is always empty! How can i reach the picture then? Reaching a gallery photo would be fine as well but i don't know how.
Thanks