class documentation

A set of keypoints in CVAT image format.

Parameters
labelthe keypoints label string
pointsa list of (x, y) pixel coordinates defining the vertices of the keypoints
occludedwhether the keypoints are occluded
attributesa list of CVATAttribute instances
Class Method from_keypoint Creates a CVATImagePoints from a fiftyone.core.labels.Keypoint.
Class Method from_points_dict Creates a CVATImagePoints from a <points> tag of a CVAT image annotation XML file.
Method __init__ Undocumented
Method to_keypoint Returns a fiftyone.core.labels.Keypoint representation of the points.
Instance Variable label Undocumented

Inherited from CVATImageAnno:

Static Method _parse_anno_dict Undocumented
Static Method _parse_attributes Undocumented
Method _to_attributes Undocumented

Inherited from HasCVATPoints (via CVATImageAnno):

Instance Variable points a list of (x, y) pixel coordinates defining points
Property points_str Undocumented
Static Method _parse_cvat_points_str Undocumented
Static Method _to_abs_points Undocumented
Static Method _to_cvat_points_str Undocumented
Static Method _to_rel_points Undocumented
@classmethod
def from_keypoint(cls, keypoint, metadata): (source)
@classmethod
def from_points_dict(cls, d): (source)

Creates a CVATImagePoints from a <points> tag of a CVAT image annotation XML file.

Parameters
da dict representation of a <points> tag
Returns
a CVATImagePoints
def __init__(self, label, points, occluded=None, attributes=None): (source)
def to_keypoint(self, frame_size): (source)

Returns a fiftyone.core.labels.Keypoint representation of the points.

Parameters
frame_sizethe (width, height) of the image
Returns
a fiftyone.core.labels.Keypoint

Undocumented