I'm matching two images and in the 80% of the cases works but in some cases it crashes and show up this message:
... matches = matcher.match(d1, d2) error: ......\opencv-2.4.6\modules\features2d\src\matchers.cpp:365: error: (-215) trainDescCollection[iIdx].rows < IMGIDX_ONE
where d1
and d2
are the descriptors of the two images. I searh in Google but didn't found an answer. Maybe its a stupid error but I'm a noob in this field.
Furthermore I read in this website the following declaration :'it works perfectly just with SIFT and SURF descriptors(which are non free)'. Do you know if SIFT and SURF are protected by copyright?
Thanks all!
You have right! I got a tip of the problem (I think). I take the two images where I get the problem and I run the same code in an another Computer. Well, in the other one I didn't get the error. In the one that crash I have these packages:
In the one that Works I have:
And other more. Much more :D. Seems that I miss something but I don't know why it crash with the updated versions. Now I'm installing scipy-stack and scipy and scikit-image...Maybe the error is a missing of packages