read method

void read(
  1. String filename
)

Read detector

Implementation

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