write method

void write(
  1. String filename
)

Write detector

Implementation

void write(String filename) {
  final cp = filename.toNativeUtf8().cast<ffi.Char>();
  cvRun(() => cffi.WBDetector_Write(ptr, cp));
  calloc.free(cp);
}