cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.2k stars 2.95k forks source link

[Idea] Mask track for CVAT #6264

Closed astkwcz closed 1 year ago

astkwcz commented 1 year ago

My actions before raising this issue

During partial updating of annotations (api_client.tasks_api.partial_update_annotations) I have an issue with updating PatchedLabeledDataRequest for tracks for a mask ShapeType. (PatchedLabeledDataReques -> LabeledTrackRequest -> TrackedShapeRequest) https://opencv.github.io/cvat/docs/api_sdk/sdk/reference/apis/tasks-api/#partial_update_annotations

When I do it through python cvat_sdk, it is updated, but when I go to CVAT IU, I get a message that job (task) is broken due to not allowed ShapeType for a mask and I also cannot download any data thought UI.

While looking in CVAT UI for which ShapeType is allowed to create tracks it is almost all of them i.e.: rectangle, polygon polyline, points, ellipse, cuboid, skeleton, but not a mask (a pictures below shows what I mean) cvat-mask

cvat-rectangle

Will track label for mask will be implemented in the future like all of others shape types?

bsekachev commented 1 year ago

@astkwcz

Tracked masks are not supported at all. But you can work with tracked masks if they are represented as polygons. Probably there are some bugs on the server if it allows to put tracked masks.