class documentation
Description of the labels in a CVAT image annotation task.
Parameters | |
labels | a list of label dicts in the following format: [ { "name": "car", "attributes": [ { "name": "type" "categories": ["coupe", "sedan", "truck"] }, ... } }, ... ] |
Class Method | from |
Creates a CVATTaskLabels instance that describes the active schema of the given annotations. |
Class Method | from |
Creates a CVATTaskLabels instance that describes the active schema of the given annotations. |
Class Method | from |
Creates a CVATTaskLabels instance from the <labels> tag of a CVAT annotation XML file. |
Class Method | from |
Creates a CVATTaskLabels instance from an eta.core.image.ImageLabelsSchema. |
Method | __init__ |
Undocumented |
Method | merge |
Merges the given CVATTaskLabels into this instance. |
Method | to |
Returns an eta.core.image.ImageLabelsSchema representation of the task labels. |
Instance Variable | labels |
Undocumented |
Creates a CVATTaskLabels
instance that describes the active
schema of the given annotations.
Parameters | |
cvat | a list of CVATImage instances |
Returns | |
a CVATTaskLabels |
Creates a CVATTaskLabels
instance that describes the active
schema of the given annotations.
Parameters | |
cvat | a list of CVATTrack instances |
Returns | |
a CVATTaskLabels |
Creates a CVATTaskLabels
instance from the <labels>
tag of a CVAT annotation XML file.
Parameters | |
d | a dict representation of a <labels> tag |
Returns | |
a CVATTaskLabels |
Creates a CVATTaskLabels
instance from an
eta.core.image.ImageLabelsSchema.
Parameters | |
schema | an eta.core.image.ImageLabelsSchema |
Returns | |
a CVATTaskLabels |