opencv-ts
Version:
This package is a work in progress to translate opecv with a typescript definition
17 lines (15 loc) • 727 B
TypeScript
import { NDArray } from "../core/Core";
import { MatVector } from "../core/MatVector";
import { Rect } from "../core/Rect";
declare module ObjectDetection {
interface ObjectDetection {
/**
* Groups the object candidate rectangles
* @param rectList Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.)
* @param weights Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it
* @param groupThreshold
*/
groupRectangles(rectList: NDArray<Rect>, weights: MatVector, groupThreshold: number): void;
}
}
export = ObjectDetection;