groupRectanglesAsync method
Implementation
Future<(VecRect rectList, VecF64 weights)> groupRectanglesAsync(
VecRect rectList,
VecF64 weights,
int groupThreshold,
double eps,
) async {
final rval = cvRunAsync0<(VecRect, VecF64)>(
(callback) => cobjdetect.HOGDescriptor_groupRectangles_Async(
ref,
rectList.ptr,
weights.ptr,
groupThreshold,
eps,
callback,
), (c) {
rectList.reattach();
weights.reattach();
return c.complete((rectList, weights));
});
return rval;
}