computeGradientAsync method
Future<(Mat, Mat)>
computeGradientAsync(
- InputArray img,
- Mat grad,
- Mat angleOfs, {
- (int, int) paddingTL = (0, 0),
- (int, int) paddingBR = (0, 0),
})
Implementation
Future<(Mat grad, Mat angleOfs)> computeGradientAsync(
InputArray img,
Mat grad,
Mat angleOfs, {
(int, int) paddingTL = (0, 0),
(int, int) paddingBR = (0, 0),
}) async {
final rval = cvRunAsync0<(Mat, Mat)>(
(callback) => cffi.HOGDescriptor_computeGradient_Async(
ref,
img.ref,
grad.ref,
angleOfs.ref,
paddingTL.cvd.ref,
paddingBR.cvd.ref,
callback,
), (c) {
return c.complete((grad, angleOfs));
});
return rval;
}