bounding_box module#

class edgeimpulse_api.models.bounding_box.BoundingBox(
*,
label: StrictStr,
x: StrictInt,
y: StrictInt,
width: StrictInt,
height: StrictInt,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
classmethod from_dict(
obj: dict,
) BoundingBox[source]#

Create an instance of BoundingBox from a dict

classmethod from_json(
json_str: str,
) BoundingBox[source]#

Create an instance of BoundingBox from a JSON string

height: StrictInt#
label: StrictStr#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

width: StrictInt#
x: StrictInt#
y: StrictInt#