createAsync static method

Future<BFMatcher> createAsync({
  1. int type = NORM_L2,
  2. bool crossCheck = false,
})

Implementation

static Future<BFMatcher> createAsync({
  int type = NORM_L2,
  bool crossCheck = false,
}) async =>
    cvRunAsync(
      (callback) => cffi.BFMatcher_CreateWithParams_Async(type, crossCheck, callback),
      (c, p) => c.complete(BFMatcher.fromPointer(p.cast<cvg.BFMatcher>())),
    );