Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.06 KB

BoundingBox.md

File metadata and controls

32 lines (23 loc) · 1.06 KB

BoundingBox

Properties

Name Type Description Notes
x_min int photo bounding box coordinates top left x
y_min int photo bounding box coordinates top left y
x_max int photo bounding box coordinates bottom right x
y_max int photo bounding box coordinates bottom right y

Example

from mosquito_alert.models.bounding_box import BoundingBox

# TODO update the JSON string below
json = "{}"
# create an instance of BoundingBox from a JSON string
bounding_box_instance = BoundingBox.from_json(json)
# print the JSON string representation of the object
print(BoundingBox.to_json())

# convert the object into a dict
bounding_box_dict = bounding_box_instance.to_dict()
# create an instance of BoundingBox from a dict
bounding_box_from_dict = BoundingBox.from_dict(bounding_box_dict)

[Back to Model list] [Back to API list] [Back to README]