detectAndDecodeCurved method
      
(String, VecPoint, Mat)
detectAndDecodeCurved(
    
- InputArray img, {
- VecPoint? points,
- Mat? straightQRcode,
Both detects and decodes QR code on a curved surface.
https://docs.opencv.org/4.x/de/dc3/classcv_1_1QRCodeDetector.html#a9166527f6e20b600ed6a53ab3dd61f51
Implementation
(String rval, VecPoint points, Mat straightQRcode) detectAndDecodeCurved(
  InputArray img, {
  VecPoint? points,
  Mat? straightQRcode,
}) {
  points ??= VecPoint();
  straightQRcode ??= Mat.empty();
  final v = calloc<ffi.Pointer<ffi.Char>>();
  cvRun(
    () => cobjdetect.cv_QRCodeDetector_detectAndDecodeCurved(
      ref,
      img.ref,
      points!.ptr,
      straightQRcode!.ptr,
      v,
      ffi.nullptr,
    ),
  );
  final ss = v.value.cast<Utf8>().toDartString();
  calloc.free(v);
  return (ss, points, straightQRcode);
}