detect method
Detect detects QR code in image and returns the quadrangle containing the code.
For further details, please see: https://docs.opencv.org/master/de/dc3/classcv_1_1QRCodeDetector.html#a64373f7d877d27473f64fe04bb57d22b
Implementation
(bool ret, VecPoint points) detect(InputArray input, {VecPoint? points}) {
points ??= VecPoint();
final ret = calloc<ffi.Bool>();
cvRun(() => cobjdetect.cv_QRCodeDetector_detect(ref, input.ref, points!.ptr, ret, ffi.nullptr));
final rval = (ret.value, points);
calloc.free(ret);
return rval;
}