getOriginalWindowSizeAsync method

Future<(int, int)> getOriginalWindowSizeAsync()

Implementation

Future<(int, int)> getOriginalWindowSizeAsync() async {
  final rval = cvRunAsync<(int, int)>(
      (callback) => cobjdetect.CascadeClassifier_getOriginalWindowSize_Async(ref, callback), (c, p) {
    final size = p.cast<cobjdetect.Size>().ref;
    final ret = (size.width, size.height);
    return c.complete(ret);
  });
  return rval;
}