computeAsync method
Implementation
Future<(VecF32 descriptors, VecPoint locations)> computeAsync(
Mat img, {
(int, int) winStride = (0, 0),
(int, int) padding = (0, 0),
}) {
final descriptors = VecF32();
final locations = VecPoint();
return cvRunAsync0(
(callback) => cobjdetect.cv_HOGDescriptor_compute(
ref,
img.ref,
descriptors.ptr,
winStride.cvd.ref,
padding.cvd.ref,
locations.ptr,
callback,
),
(c) {
return c.complete((descriptors, locations));
},
);
}