toFmtString method

String toFmtString({
  1. int fmtType = FMT_NUMPY,
  2. int f16Precision = 4,
  3. int f32Precision = 8,
  4. int f64Precision = 16,
  5. bool multiLine = true,
})

Implementation

String toFmtString({
  int fmtType = FMT_NUMPY,
  int f16Precision = 4,
  int f32Precision = 8,
  int f64Precision = 16,
  bool multiLine = true,
}) {
  final p = calloc<ffi.Pointer<ffi.Char>>();
  cvRun(() => cffi.Mat_toString(ref, fmtType, f16Precision, f32Precision, f64Precision, multiLine, p));
  final rval = p.value.toDartString();
  calloc.free(p);
  return rval;
}