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