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
|
||
|---|---|---|
| .. | ||
| doc | ||
| include/opencv2 | ||
| misc/java | ||
| perf | ||
| src | ||
| test | ||
| CMakeLists.txt | ||