class documentation
class CVATImageTag(CVATImageAnno): (source)
Constructor: CVATImageTag(label, attributes)
A tag in CVAT image format.
Parameters | |
label | the tag string |
attributes | a list of CVATAttribute instances |
Class Method | from |
Creates a CVATImageTag from a fiftyone.core.labels.Classification . |
Class Method | from |
Creates a CVATImageTag from a <tag> tag of a CVAT image annotation XML file. |
Method | __init__ |
Undocumented |
Method | to |
Returns a fiftyone.core.labels.Classification representation of the tag. |
Instance Variable | label |
Undocumented |
Inherited from CVATImageAnno
:
Instance Variable | occluded |
Undocumented |
Static Method | _parse |
Undocumented |
Static Method | _parse |
Undocumented |
Method | _to |
Undocumented |
Creates a CVATImageTag
from a
fiftyone.core.labels.Classification
.
Parameters | |
classification | a fiftyone.core.labels.Classification |
Returns | |
a CVATImageTag |
Creates a CVATImageTag
from a <tag> tag of a
CVAT image annotation XML file.
Parameters | |
d | a dict representation of a <tag> tag |
Returns | |
a CVATImageTag |
Returns a fiftyone.core.labels.Classification
representation of the tag.
Returns | |
a fiftyone.core.labels.Classification |