load method

bool load(
  1. String name
)

Implementation

bool load(String name) {
  return using<bool>((arena) {
    final cname = name.toNativeUtf8(allocator: arena);
    final p = arena<ffi.Bool>();
    cvRun(() => cobjdetect.cv_HOGDescriptor_load(ref, cname.cast(), p));
    return p.value;
  });
}