imdecodeVecAsync function
Same as imdecodeAsync but accepts VecUChar
Implementation
Future<Mat> imdecodeVecAsync(VecUChar vec, int flags, {Mat? dst}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => cimgcodecs.cv_imdecode(vec.ref, flags, dst!.ptr, callback),
(c) {
return c.complete(dst);
},
);
}