computeGradientAsync method

Future<void> computeGradientAsync(
  1. InputArray img,
  2. InputOutputArray grad,
  3. InputOutputArray angleOfs, {
  4. (int, int) paddingTL = (0, 0),
  5. (int, int) paddingBR = (0, 0),
})

Implementation

Future<void> computeGradientAsync(
  InputArray img,
  InputOutputArray grad,
  InputOutputArray angleOfs, {
  (int, int) paddingTL = (0, 0),
  (int, int) paddingBR = (0, 0),
}) {
  return cvRunAsync0(
    (callback) => cobjdetect.cv_HOGDescriptor_computeGradient(
      ref,
      img.ref,
      grad.ref,
      angleOfs.ref,
      paddingTL.cvd.ref,
      paddingBR.cvd.ref,
      callback,
    ),
    (c) {
      return c.complete();
    },
  );
}