twistedfall / opencv-rust

Rust bindings for OpenCV 3 & 4
MIT License
1.96k stars 157 forks source link

DescriptorMatcher missing match fn with training descriptors #565

Closed w-utter closed 5 months ago

w-utter commented 5 months ago

OpenCV has varaints of the match and knn_match fns with training descriptors which are not currently implemented in this wrapper. They seem to have been implemented for some other modules (such as cuda) but are missing in others.

docs for descriptor matcher can be found here here

twistedfall commented 5 months ago

I will take a look, thanks for the report!

twistedfall commented 5 months ago

I think DescriptorMatcher::train_match and DescriptorMatcher::knn_train_match is what you're looking for.