groupRectanglesAsync function

Future<VecRect> groupRectanglesAsync(
  1. VecRect rects,
  2. int groupThreshold,
  3. double eps
)

Implementation

Future<VecRect> groupRectanglesAsync(
  VecRect rects,
  int groupThreshold,
  double eps,
) async {
  final rval = cvRunAsync0<VecRect>(
      (callback) => cffi.GroupRectangles_Async(rects.ptr, groupThreshold, eps, callback), (c) {
    rects.reattach();
    return c.complete(rects);
  });
  return rval;
}