dnn_NMSBoxesRotated
import { dnn_NMSBoxesRotated } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSbboxes, scores, score_threshold, nms_threshold
FUNCTIONdnn_NMSBoxesRotated
RETURN TYPEvoid
Performs non maximum suppression given boxes and corresponding scores.
dnn_NMSBoxesRotated(bboxes: RotatedRectVector, scores: FloatVector, score_threshold: number, nms_threshold: number, indices: IntVector, eta: number, top_k: number): void;3 available overloads
dnn_NMSBoxesRotated(bboxes: RotatedRectVector, scores: FloatVector, score_threshold: number, nms_threshold: number, indices: IntVector): void;dnn_NMSBoxesRotated(bboxes: RotatedRectVector, scores: FloatVector, score_threshold: number, nms_threshold: number, indices: IntVector, eta: number): void;dnn_NMSBoxesRotated(bboxes: RotatedRectVector, scores: FloatVector, score_threshold: number, nms_threshold: number, indices: IntVector, eta: number, top_k: number): void;bboxesa set of bounding boxes to apply NMS.
scoresa set of corresponding confidences.
score_thresholda threshold used to filter boxes by score.
nms_thresholda threshold used in non maximum suppression.
indicesOutput destination, filled by the native operation. the kept indices of bboxes after NMS.
etaa coefficient in adaptive threshold formula:
nms\_threshold_{i+1}=eta\cdot nms\_threshold_i.top_kif
>0, keep at mosttop_kpicked indices.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.