FlannBasedMatcher::add is overloaded, but the style of parsing the
InputArrayOfArrays does not match the style from
DescriptorMatcher::add. The issue is that InputArrayOfArrays
must be properly marshalled so that the data can be read
correctly. In this case, the method expects the training
descriptors to be either a vector of matrices or a single matrix
(as is shown in DescriptorMatcher::add). These code
replicates that for the case of the FlannBasedMatcher::add.
In fact, a similar commit to this was added by
|
||
|---|---|---|
| .. | ||
| kaze | ||
| opencl | ||
| agast_score.cpp | ||
| agast_score.hpp | ||
| agast.cpp | ||
| akaze.cpp | ||
| bagofwords.cpp | ||
| blobdetector.cpp | ||
| brisk.cpp | ||
| draw.cpp | ||
| dynamic.cpp | ||
| evaluation.cpp | ||
| fast_score.cpp | ||
| fast_score.hpp | ||
| fast.cpp | ||
| feature2d.cpp | ||
| gftt.cpp | ||
| kaze.cpp | ||
| keypoint.cpp | ||
| main.cpp | ||
| matchers.cpp | ||
| mser.cpp | ||
| orb.cpp | ||
| precomp.hpp | ||