class documentation
class OpenLABELPoint(OpenLABELShape): (source)
Constructor: OpenLABELPoint(coords, attributes, stream)
An OpenLABEL keypoint.
Method | to |
Convert this shape to a FiftyOne label. |
Class Method | _get |
Undocumented |
Class Method | _sort |
Undocumented |
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 |
skeleton:None | a
fiftyone.core.odm.dataset.KeypointSkeleton used to
sort list attributes based on the labels in the skeleton. Used
only if skeleton_key is provided |
skeletonNone | the string key into the attributes dictionary containing the label of each point, used to sort list attribute fields based on the labels in the skeleton. Used only if skeleton is provided |
Returns | |
an fiftyone.core.labels.Keypoint |