BoundingBoxAnnotation

class scenebox.models.annotation.BoundingBoxAnnotation(bounding_boxes, **kwargs)

Create a Bounding Box annotation.

Created from a union of one or more BoundingBoxes.

Parameters:
  • bounding_boxes – All BoundingBoxes to include in the BoundingBoxAnnotation.

  • **kwargs – Additional annotation attributes. The keyword arguments are passed to scenebox.models.annotation.

Methods

to_dic

return a dictionary object representative of Annotation :return: dictionary object

to_dic()

return a dictionary object representative of Annotation :return: dictionary object