class documentation
class OpenLABELShape(AttributeParser): (source)
Known subclasses: fiftyone.utils.openlabel.OpenLABELBBox
, fiftyone.utils.openlabel.OpenLABELPoint
, fiftyone.utils.openlabel.OpenLABELPoly2D
Constructor: OpenLABELShape(coords, attributes, stream)
A single OpenLABEL shape like a bounding box or polygon.
Class Method | from |
Constructs a shape from a dictionary of information. |
Method | __init__ |
Undocumented |
Instance Variable | attributes |
Undocumented |
Instance Variable | coords |
Undocumented |
Instance Variable | stream |
Undocumented |
Inherited from AttributeParser
:
Class Method | _parse |
Undocumented |
Class Method | _parse |
Undocumented |
Constant | _IGNORE |
Undocumented |
Constant | _STREAM |
Undocumented |
Constructs a shape from a dictionary of information.
Parameters | |
d | a dictionary containing information about a shape |
Returns | |
an OpenLABELShape |