I'm using OpenCV on Android with Eclipse for the first time. I used the following line to read an image and the next one to get its size:
Mat m = Highgui.imread("C:/Users/IMG_5940.jpg"); Size size = m.size();
and Size returns 0x0. I therefore can't convert the image to a bitmap and I receive the error: width and height must be > 0.
Any ideas about what I'm doing wrong ?