toFmtString method
String
toFmtString(
{ - int fmtType = FMT_NUMPY,
- int f16Precision = 4,
- int f32Precision = 8,
- int f64Precision = 16,
- 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;
}