GitHub

BoundingBox

API reference for BoundingBox.

The smallest rectangle around a located target. Each edge is a fraction of the image's size from the top-left corner: left and right of its width, top and bottom of its height, all in [0, 1], with left <= right and top <= bottom.

Attributes

AttributeTypeDescription
leftfloat
topfloat
rightfloat
bottomfloat

Functions

__init__

__init__(left, top, right, bottom) -> None
ParameterTypeDescription
leftfloat
topfloat
rightfloat
bottomfloat