getDescriptorSizeAsync method

Future<int> getDescriptorSizeAsync()

Implementation

Future<int> getDescriptorSizeAsync() async {
  final rval = cvRunAsync<int>(
      (callback) => cobjdetect.HOGDescriptor_getDescriptorSize_Async(ref, callback), (c, p) {
    final rval = p.cast<ffi.Size>().value;
    calloc.free(p);
    return c.complete(rval);
  });
  return rval;
}