flair.data.BoundingBox#

class flair.data.BoundingBox(left, top, right, bottom)View on GitHub#

Bases: NamedTuple

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

bottom

Alias for field number 3

left

Alias for field number 0

right

Alias for field number 2

top

Alias for field number 1

left: str#

Alias for field number 0

top: int#

Alias for field number 1

right: int#

Alias for field number 2

bottom: int#

Alias for field number 3