Ask Your Question

Humberto's profile - activity

2016-04-08 11:49:35 -0600 received badge  Supporter (source)
2016-04-04 15:33:54 -0600 asked a question cannot load image on android

Every time I try to run template match function in android studio, I get Assertion failed error. I have started to debug and my img.cols() and img.rows() is always 0. Some kind of empty matrix is being created. When I run the code as a normal Java application, it works like a charm. However, using android with the same purpose, has not been that great.

Mat img = Imgcodecs.imread(inFile). //img.cols() is 0??

Has anynone faced the same issue?

Any help will be appreciated.

2016-04-04 08:41:32 -0600 commented question Android - OpenCV Imgproc.matchTempate: Method not avaliable

Hi Mytheral! When you say issue with your image, you mean its size and/or resolution?