inpaintAsync function
Future<Mat>
inpaintAsync(
- InputArray src,
- InputArray inpaintMask,
- double inpaintRadius,
- int flags,
Implementation
Future<Mat> inpaintAsync(
InputArray src,
InputArray inpaintMask,
double inpaintRadius,
int flags,
) async {
return cvRunAsync(
(callback) => cffi.PhotoInpaint_Async(
src.ref,
inpaintMask.ref,
inpaintRadius,
flags,
callback,
),
(c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cvg.Mat>())),
);
}