matchAsync method
Match Finds the best match for each descriptor from a query set.
For further details, please see: https://docs.opencv.org/4.x/db/d39/classcv_1_1DescriptorMatcher.html#a0f046f47b68ec7074391e1e85c750cba
Implementation
Future<VecDMatch> matchAsync(Mat query, Mat train) async {
final ret = VecDMatch();
return cvRunAsync0(
(callback) => cfeatures2d.cv_BFMatcher_match(ref, query.ref, train.ref, ret.ptr, callback),
(c) {
return c.complete(ret);
},
);
}