opencv/modules/features2d
Patrick Snape 05cfe28612 Fix parsing of training vecs for FlannBasedMatcher
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 26d9a7c but was
ultimately not accepted in #4111. This is likely due to the
fact that the input arrays were not parsed properly and the
case of a single matrix was being improperly handled. I believe
this commit to be correct given the logic from
DescriptorMatcher::add.
2016-01-23 15:58:16 +00:00
..
doc added comments and test perl examples for agast tree version 2015-11-19 07:39:57 +03:00
include/opencv2 change links from samples/python2 to samples/python 2015-12-18 11:00:30 +03:00
misc/java Modified java wrapping mechanism 2015-03-02 18:12:30 +03:00
perf Leave AGAST at thresold=10, cosmetic for perf tests. 2015-04-30 02:23:58 +03:00
src Fix parsing of training vecs for FlannBasedMatcher 2016-01-23 15:58:16 +00:00
test Valgrind: fixed uninitialized image usage in descriptors regression tests 2015-12-09 14:25:09 +03:00
CMakeLists.txt Python support 2015-03-02 18:13:00 +03:00