detectAsync method
Implementation
Future<Mat> detectAsync(Mat image) async {
final ret = Mat.empty();
return cvRunAsync0(
(callback) => cobjdetect.cv_FaceDetectorYN_detect(ref, image.ref, ret.ptr, callback),
(c) {
return c.complete(ret);
},
);
}