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<cvg.BFMatcher>();
  cvRun(() => cfeatures2d.cv_BFMatcher_create_1(type, crossCheck, p));
  return BFMatcher._(p);
}