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(() => cffi.HOGDescriptor_Load(ref, cname.cast(), p));
    return p.value;
  });
}