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(() => cffi.BFMatcher_CreateWithParams(type, crossCheck, p));
  return BFMatcher._(p);
}