DetectionBox

class DetectionBox(x: Int, y: Int, width: Int, height: Int, threshold: Int)

2d area for EOCV to use.

Constructors

Link copied to clipboard
fun DetectionBox(x: Int, y: Int, width: Int, height: Int, threshold: Int)

Properties

Link copied to clipboard
var height: Int

Box height.

Link copied to clipboard
val pointA: Point

Top left point of the box

Link copied to clipboard
val pointB: Point

Bottom right point of the box.

Link copied to clipboard
val rectangle: Rect

Rectangle representation of the box.

Link copied to clipboard
var threshold: Int

Minimum value to count as a detection.

Link copied to clipboard
var width: Int

Box width.

Link copied to clipboard
var x: Int

Top left corner x coordinate from the right.

Link copied to clipboard
var y: Int

Top left corner y coordinate from the top.