BFMatcher.create constructor

BFMatcher.create({
  1. int type = NORM_L2,
  2. bool crossCheck = false,
})

Implementation

factory BFMatcher.create({int type = NORM_L2, bool crossCheck = false}) {
  final p = calloc<cfeatures2d.BFMatcher>();
  cvRun(() => cfeatures2d.BFMatcher_CreateWithParams(type, crossCheck, p));
  return BFMatcher._(p);
}