PolygonAnnotation

class scenebox.models.annotation.PolygonAnnotation(polygons, **kwargs)

Create a Polygon annotation.

Created from a union of one or more Polygons.

Parameters
  • polygons – All Polygons to include in the PolygonAnnotation.

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