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,
]) {
final p = calloc<cvg.VecMat>();
final rval = calloc<cvg.VecVecChar>();
cvRun(() => cffi.WeChatQRCode_DetectAndDecode(ptr, img.ref, p, rval));
final vec = VecVecChar.fromPointer(rval);
final points = VecMat.fromPointer(p);
return (vec.asStringList(), points);
}