Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why does DescriptorMatcher::add takes vector of Mats?

DescriptorMatcher::add method ( wants a vector of matrices with descriptors. So, even if I want to train matcher for only one image (object), I have to create a dummy vector, put my descriptors there and give this vector to the DescriptorMatcher.

Is there an elegant way to add descriptors without a temporary vector?