1 | initial version |
I figured out that I can do this by using the imgIdx property on the DMatcher object. The imgIdx property is the order unto which the descriptor was added to the flannbasedmatcher with flannbasedmatcher.add(descriptor).
Having more problems though..
when I call train() on the flannbasedmatcher it seems to run extremely quickly. Like it's not doing anything. The subsequent matching is taking a really long time as well.
What I'm trying to do in a nutshell is:
1) cram a bunch of image descriptors in a flannbasedmatcher 2) match one image against this large number of descriptors 3) see which image has the most matches against the target image 4) display this image to see if it found the right thing
Also, I'm a huge noob to this, so ignorance could certainly be at play here
2 | No.2 Revision |
I figured out that I can do this by using the imgIdx property on the DMatcher object. The imgIdx property is the order unto which the descriptor was added to the flannbasedmatcher with flannbasedmatcher.add(descriptor).
Having more problems though..
when I call train() on the flannbasedmatcher it seems to run extremely quickly. Like it's not doing anything. The subsequent matching is taking a really long time as well.
What I'm trying to do in a nutshell is:
1) cram a bunch of image descriptors in a flannbasedmatcher
flannbasedmatcher
2) match one image against this large number of descriptors
descriptors
3) see which image has the most matches against the target image
image
4) display this image to see if it found the right thing
Also, I'm a huge noob to this, so ignorance could certainly be at play here