detectAndDecodeMultiAsync method
Implementation
Future<(bool, List<String>, VecPoint, VecMat)> detectAndDecodeMultiAsync(InputArray img) async {
final info = VecVecChar();
final points = VecPoint();
final codes = VecMat();
final rval = calloc<ffi.Bool>();
return cvRunAsync0(
(callback) => cobjdetect.cv_QRCodeDetector_detectAndDecodeMulti(
ref,
img.ref,
info.ptr,
points.ptr,
codes.ptr,
rval,
callback,
),
(c) {
final ret = (
rval.value,
info.asStringList(),
points,
codes,
);
calloc.free(rval);
info.dispose();
return c.complete(ret);
},
);
}