compareHistAsync function

Future<double> compareHistAsync(
  1. Mat hist1,
  2. Mat hist2, {
  3. int method = 0,
})

CompareHist Compares two histograms. mode: HistCompMethods For further details, please see: https:///docs.opencv.org/master/d6/dc7/group__imgproc__hist.html#gaf4190090efa5c47cb367cf97a9a519bd

Implementation

Future<double> compareHistAsync(Mat hist1, Mat hist2, {int method = 0}) async => cvRunAsync(
      (callback) => cffi.CompareHist_Async(hist1.ref, hist2.ref, method, callback),
      doubleCompleter,
    );