isOldFormatCascadeAsync method

Future<bool> isOldFormatCascadeAsync()

Implementation

Future<bool> isOldFormatCascadeAsync() async {
  final rval = cvRunAsync<bool>(
      (callback) => cobjdetect.CascadeClassifier_isOldFormatCascade_Async(ref, callback), (c, p) {
    final rval = p.cast<ffi.Bool>().value;
    calloc.free(p);
    return c.complete(rval);
  });
  return rval;
}