detectAndDecodeAsync method
Implementation
Future<(List<String>, VecMat)> detectAndDecodeAsync(InputArray img) async =>
cvRunAsync2<(List<String>, VecMat)>(
(callback) => ccontrib.WeChatQRCode_DetectAndDecode_Async(ptr, img.ref, callback), (c, p, p2) {
final vec = VecVecChar.fromPointer(p.cast<ccontrib.VecVecChar>());
final points = VecMat.fromPointer(p2.cast<ccontrib.VecMat>());
final rval = vec.asStringList();
vec.dispose();
return c.complete((rval, points));
});