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.64k stars 3.01k forks source link

Can't remove annotations (keypoints skeleton and bounding box) #7376

Closed devvaibhav455 closed 10 months ago

devvaibhav455 commented 10 months ago

Actions before raising this issue

Steps to Reproduce

I referred to https://opencv.github.io/cvat/docs/manual/basics/top-panel/#:~:text=Remove%20Annotations%20%E2%80%94%20calls%20the%20confirmation,the%20tracks%2C%20on%20the%20selected for deleting annotations.

Input video: https://www.youtube.com/watch?v=_zudxPk8WuQ

  1. Create a task and upload a video to it.
  2. Open the annotation view.
  3. Select frame # 197 (just for the sake of it.../ any frame in the middle)
  4. Draw a rectangle bounding box and keypoints skeleton using Track mode for both.
  5. All frames from 197 till the end will show the BB and skeleton
  6. Since, I don't want the annotations till the end of the video, I plan to delete annotations from 201 till end.
  7. Select Menu --> Remove Annotations --> Select Range from 201 till 2456

Before: image

After: image

CVAT version: image

Expected Behavior

  1. Only the annotations between the frame range [197,200] should be shown after doing so but as can be seen in the images above, annotations are still shown on the screen for all the frames. I tried saving after performing the remove annotations action but it still remains the same.

Possible Solution

No response

Context

No response

Environment

No response

bsekachev commented 10 months ago

Hello,

Your understanding of "Remove annotations" feature is wrong. To stop automatic propagation track on frame 201 set "Outside" property to True on this frame for the skeleton and bounding box. Please, refer to documentation (Track mode basics) for more details.

Track is a type of object that exist on many frames, if you remove it, it will be removed from all frames.

devvaibhav455 commented 10 months ago

@bsekachev Thanks for the quick response. I see. "Remove annotations" doesn't work on the "Track" but works if I draw the BB and skeleton using shape.