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), ); }