class documentation
class OpenLABELPoly2D(OpenLABELShape): (source)
Constructor: OpenLABELPoly2D(coords, attributes, stream)
An OpenLABEL polyline.
Method | to |
Convert this shape to a FiftyOne label. |
Inherited from OpenLABELShape
:
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
(via OpenLABELShape
):
Class Method | _parse |
Undocumented |
Class Method | _parse |
Undocumented |
Constant | _IGNORE |
Undocumented |
Constant | _STREAM |
Undocumented |
Convert this shape to a FiftyOne label.
Parameters | |
label | the class label for this shape |
attributes | a dictionary of attributes for this shape |
width | the width of the frame in pixels |
height | the height of the frame in pixels |
Returns | |
an fiftyone.core.labels.Polyline |