Cuboid2DAnnotation

class scenebox.models.annotation.Cuboid2DAnnotation(cuboids, **kwargs)

Create a Cuboid annotation.

Created from a union of one or more Cuboids.

Parameters:
  • cuboids – All Cuboids2Ds to include in the Cuboid2DAnnotation.

  • **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