regionAsync method

Future<Mat> regionAsync(
  1. Rect rect
)

Implementation

Future<Mat> regionAsync(Rect rect) async {
  final dst = Mat.empty();
  return cvRunAsync0<Mat>(
    (callback) => ccore.cv_Mat_region(ref, rect.ref, dst.ptr, callback),
    (c) => c.complete(dst),
  );
}