write method

void write(
  1. String filename
)

Write detector

Implementation

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