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
11.78k stars 2.89k forks source link

"Switch outside" property does not work with the Datumaro format while tracking instances #7571

Open Krupal09 opened 3 months ago

Krupal09 commented 3 months ago

Actions before raising this issue

Steps to Reproduce

  1. Upload a series of images to the CVAT tool
  2. Utilize polygon tracking feature to annotate objects over a set of consecutive images
  3. At certain point (for example, at image number 10), opt for "switch outside" property to stop tracking one of the objects
  4. Save the annotations in Datumaro format (Menu -> Export job dataset -> Datumaro format)
  5. Create a fresh job and upload the same set of images as mentioned in the step 1
  6. Upload the annotations generated in step 4
  7. Go to the image where the "switch outside" property was opted for (, which was carried out in step 3)
  8. The object's annotation polygon still shows up and keeps on penetrating to the further frames

Expected Behavior

  1. Upload a series of images to the CVAT tool
  2. Utilize polygon tracking feature to annotate objects over a set of consecutive images
  3. At certain point (for example, at image number 10), opt for "switch outside" property to stop tracking one of the objects
  4. Save the annotations in Datumaro format (Menu -> Export job dataset -> Datumaro format)
  5. Create a fresh job and upload the same set of images as mentioned in the step 1
  6. Upload the annotations generated in step 4
  7. Go to the image where the "switch outside" property was opted for (, which was carried out in step 3) ---->> 8. The object's annotation polygon should not show up after uploading the saved Datumaro annotation <<---------

Possible Solution

No response

Context

I am tracking objects over multiple frames and want to remove their annotations from further images when objects are not present on the current frame. The problem with the current state is that all labels from the previous frames are being accumulated to the current frame !

Environment

Operating system : Linux 22.04 OS type : 64-bit Using google chrome's latest version Using CVAT docker on local system

bsekachev commented 3 months ago

Please, fill the environment.

Krupal09 commented 3 months ago

As it is clearly visible in attached image, annotations from previous images are being accumulated in the current images which is not expected. Any help in this regard would be really appreciated.

Screenshot from 2024-03-08 10-52-57

Krupal09 commented 3 months ago

Please, fill the environment.

@bsekachev Thank you for your quick response ! I have updated the environment field. Kindly let me know if further details are required.

Yeek020407 commented 3 months ago

Hi, I am interested in this issue, could you please assign it to me?