2020-10-11 11:33:08 -0600 | received badge | ● Popular Question (source) |
2012-10-17 02:04:43 -0600 | commented question | batchDistance assert error Not possible, Eclipse tells me that the variable has to be initialized. (Can't compile or run until I do that and the only options are null or new Mat(), both give an error.) |
2012-10-17 01:53:12 -0600 | received badge | ● Editor (source) |
2012-10-17 01:41:50 -0600 | received badge | ● Student (source) |
2012-10-17 01:31:14 -0600 | received badge | ● Supporter (source) |
2012-10-17 01:21:16 -0600 | commented answer | batchDistance assert error That's not possible, the OpenCV4Android signature of batchDistance requires 5, 7 or 10 arguments. Java does not allow omitting parameters. And null cannot be passed, because this results in a NullPointerException. I've tried. |
2012-10-17 00:40:55 -0600 | commented question | batchDistance assert error I've thought of that, but noArray() doesn't seem to exist under Android. |
2012-10-16 15:35:42 -0600 | asked a question | batchDistance assert error When I use batchDistance in OpenCV4Android, I get the following assertion error: I'm using batchDistance as follows: I've used Please help me fix this or help me find another way to calculate the pairwise distance of the descriptors in two Edit: WorkaroundThis doesn't really solve the issue at hand, but a workaround is to call it as follows: This circumvents the assertion |