Companion

object Companion

Functions

iou
Link copied to clipboard
common
fun iou(box1: <ERROR CLASS>, box2: <ERROR CLASS>): Float

Computes the intersection over union value for the box1 and box2.

suppressNonMaxBoxes
Link copied to clipboard
common
fun suppressNonMaxBoxes(boxes: List<<ERROR CLASS>>, topK: Int = -1, threshold: Float = 0.5f): List<<ERROR CLASS>>

Performs non-maximum suppression to filter out boxes with the IoU greater than threshold.