detectMultiScaleAsync method
Future<VecRect>
detectMultiScaleAsync(
- InputArray image, {
- double hitThreshold = 0,
- int minNeighbors = 3,
- (int, int) winStride = (0, 0),
- (int, int) padding = (0, 0),
- double scale = 1.05,
- double groupThreshold = 2.0,
- bool useMeanshiftGrouping = false,
})
Implementation
Future<VecRect> detectMultiScaleAsync(
InputArray image, {
double hitThreshold = 0,
int minNeighbors = 3,
(int, int) winStride = (0, 0),
(int, int) padding = (0, 0),
double scale = 1.05,
double groupThreshold = 2.0,
bool useMeanshiftGrouping = false,
}) {
final rects = calloc<cvg.VecRect>();
return cvRunAsync0(
(callback) => cobjdetect.cv_HOGDescriptor_detectMultiScale_1(
ref,
image.ref,
hitThreshold,
winStride.cvd.ref,
padding.cvd.ref,
scale,
groupThreshold,
useMeanshiftGrouping,
rects,
callback,
),
(c) {
return c.complete(VecRect.fromPointer(rects));
},
);
}