class documentation
class CVATVideoPoints(CVATVideoAnno, HasCVATPoints): (source)
Constructor: CVATVideoPoints(frame, label, points, outside, ...)
A set of keypoints in CVAT video format.
Parameters | |
frame | the 0-based frame number |
label | the keypoints label string |
points | a list of (x, y) pixel coordinates defining the keypoints |
outside | whether the keypoints is outside (invisible) |
occluded | whether the keypoints are occluded |
keyframe | whether the frame is a keyframe |
attributes | a list of CVATAttribute instances |
Class Method | from |
Creates a CVATVideoPoints from a fiftyone.core.labels.Keypoint . |
Class Method | from |
Creates a CVATVideoPoints from a <points> tag of a CVAT video annotation XML file. |
Method | __init__ |
Undocumented |
Method | to |
Returns a fiftyone.core.labels.Keypoint representation of the points. |
Instance Variable | frame |
Undocumented |
Instance Variable | label |
Undocumented |
Inherited from CVATVideoAnno
:
Static Method | _parse |
Undocumented |
Static Method | _parse |
Undocumented |
Method | _to |
Undocumented |
Inherited from HasCVATPoints
(via CVATVideoAnno
):
Instance Variable | points |
a list of (x, y) pixel coordinates defining points |
Property | points |
Undocumented |
Static Method | _parse |
Undocumented |
Static Method | _to |
Undocumented |
Static Method | _to |
Undocumented |
Static Method | _to |
Undocumented |
Creates a CVATVideoPoints
from a
fiftyone.core.labels.Keypoint
.
Parameters | |
frame | the frame number |
keypoint | a fiftyone.core.labels.Keypoint |
frame | the (width, height) of the video frames |
Returns | |
a CVATVideoPoints |
Creates a CVATVideoPoints
from a <points> tag of a
CVAT video annotation XML file.
Parameters | |
label | the object label |
d | a dict representation of a <points> tag |
Returns | |
a CVATVideoPoints |
def __init__(self, frame, label, points, outside=None, occluded=None, keyframe=None, attributes=None):
(source)
¶
Undocumented
Returns a fiftyone.core.labels.Keypoint
representation of
the points.
Parameters | |
frame | the (width, height) of the video frames |
Returns | |
a fiftyone.core.labels.Keypoint |