read method

void read(
  1. String filename
)

Read detector

Implementation

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