detectAndDecodeAsync method
Implementation
Future<(List<String>, VecMat)> detectAndDecodeAsync(InputArray img, [VecMat? points]) async {
points ??= VecMat();
final strs = VecVecChar();
return cvRunAsync0(
(callback) => ccontrib.cv_wechat_qrcode_WeChatQRCode_detectAndDecode(
ref,
img.ref,
points!.ptr,
strs.ptr,
callback,
),
(c) {
final rval = (strs.asStringList(), points!);
strs.dispose();
return c.complete(rval);
},
);
}