@openhps/opencv
    Preparing search index...

    Function NMSBoxes

    • Performs non maximum suppression given boxes and corresponding scores.

      https://docs.opencv.org/4.x/d6/d0f/group__dnn.html#ga9d118d70a1659af729d01b10233213ee

      Parameters

      • bboxes: Rect[]

        a set of bounding boxes to apply NMS.

      • scores: number[]

        a set of corresponding confidences.

      • scoreThreshold: number

        a threshold used to filter boxes by score.

      • nmsThreshold: number

        a threshold used in non maximum suppression.

      • Optionaleta: number

        a coefficient in adaptive threshold formula: nms_thresholdi+1=eta⋅nms_thresholdi.

      • OptionaltopK: number

      Returns number[]

      the kept indices of bboxes after NMS.

    • Performs non maximum suppression given boxes and corresponding scores.

      https://docs.opencv.org/4.x/d6/d0f/group__dnn.html#ga9d118d70a1659af729d01b10233213ee

      Parameters

      • bboxes: Rect[]

        a set of bounding boxes to apply NMS.

      • scores: number[]

        a set of corresponding confidences.

      • scoreThreshold: number

        a threshold used to filter boxes by score.

      • nmsThreshold: number

        a threshold used in non maximum suppression.

      • opts: { eta?: number; topK?: number }

      Returns number[]

      the kept indices of bboxes after NMS.