detectAndDecode method
Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode. https://docs.opencv.org/4.x/d5/d04/classcv_1_1wechat__qrcode_1_1WeChatQRCode.html#a27c167d2d58e5ee4418fd3a9ed5876cc
Implementation
(List<String>, VecMat points) detectAndDecode(InputArray img, [VecMat? points]) {
points ??= VecMat();
final strs = VecVecChar();
cvRun(
() => ccontrib.cv_wechat_qrcode_WeChatQRCode_detectAndDecode(
ref,
img.ref,
points!.ptr,
strs.ptr,
ffi.nullptr,
),
);
final rval = (strs.asStringList(), points);
strs.dispose();
return rval;
}