Git Product home page Git Product logo

Comments (17)

gLuColte avatar gLuColte commented on August 18, 2024 7

Hi, am wondering is this issue fixed?
I am trying to upload coco annotation JSON with specified tracking ID within attributes (under interpolation mode), current CVAT seem to still reset the ID, turn the bbox into a normal annotation and loose the track. Is there a way around?
Thanks!

from cvat.

sttobia avatar sttobia commented on August 18, 2024 1

@sjoycode , at the moment if you annotate images you annotation will be in "annotation" format: https://github.com/opencv/cvat/blob/develop/cvat/apps/documentation/xml_format.md#annotation

Are there still plans to integrate an object ID into the annotation format anytime soon? For tracking purposes this is crucial and a lot of labelling effort is lost if not being able to save the object id for later use. Especially when labelling frames of a video as single images using the interpolation mode.

from cvat.

nmanovic avatar nmanovic commented on August 18, 2024 1

Hi @sttobia , first of all you can workaround the issue. Go to admin panel and change "mode" for a task from "annotation" to "interpolation". You will loose image names but you will be able to dump the task in "interpolation" format.

In our nearst plans is to improve export/import annotations in different data annotation formats. It will close the issue completely. You will be able to upload/download annotations in most popular formats like COCO, PascalVOC, etc... I realized that it is the most critical feature for many users.

from cvat.

sttobia avatar sttobia commented on August 18, 2024 1

Hi @sttobia , first of all you can workaround the issue. Go to admin panel and change "mode" for a task from "annotation" to "interpolation". You will loose image names but you will be able to dump the task in "interpolation" format.

In our nearst plans is to improve export/import annotations in different data annotation formats. It will close the issue completely. You will be able to upload/download annotations in most popular formats like COCO, PascalVOC, etc... I realized that it is the most critical feature for many users.

Thanks for the quick reply! Does this also work for images and not videos? I am using single frames named using a sensor timestamp which is crucial for later reuse of the labels. Therefore the image name is somehow also critical for me.
Those plans sound very nice. Still I thought the xml file was a nice solution giving the conversion scripts in /utils you provided for the most popular formats.

from cvat.

nmanovic avatar nmanovic commented on August 18, 2024

Hi @abcilike ,

At the moment it isn't possible but we will consider to resolve the problem in one of our next releases. Thank you for your question.

from cvat.

abcilike avatar abcilike commented on August 18, 2024

I found that the annotation file can save the target ID when importing the video, but not when importing the image sequence.

from cvat.

nmanovic avatar nmanovic commented on August 18, 2024

It doesn't work for videos in general case. The main problem here that each time when you press "save" button annotations are written to DB from scratch (not an increment). Need to track ID explicitly as an automatic attribute.

from cvat.

SunskyF avatar SunskyF commented on August 18, 2024

Hello, @nmanovic
Could u give me an advice about how to dump annotation with track id?
Actually, I just want to dump the relative object id (it means that in some frames, the same object has same id), not the id in annotation.
Thanks a lot!

from cvat.

nmanovic avatar nmanovic commented on August 18, 2024

@SunskyF ,

You should create "interpolation" task for that. It is created automatically if you upload a video file. If you load images the task will be considered as "annotation". At the moment the only way to dump "tracks" for "annotation" tasks is to change DB manually or change code (https://github.com/opencv/cvat/blob/master/cvat/apps/engine/annotation.py#L1015).

Does it answer your question?

from cvat.

SunskyF avatar SunskyF commented on August 18, 2024

@nmanovic
Thanks!
It helps me a lot.

from cvat.

nmanovic avatar nmanovic commented on August 18, 2024

#120 implements client_id for each annotation object.

from cvat.

sjoycode avatar sjoycode commented on August 18, 2024

#120 implements client_id for each annotation object.

Is this feature already in develop branch? If I give image sequences as input the dumped annotation file still does not contain track ids. Instead, if I input the video file, the annotation file does contain the track ids. In both cases I made sure I was annotating in interpolation mode. I wonder if I am doing something wrong --- why track ids are not dumped for image sequences?

from cvat.

nmanovic avatar nmanovic commented on August 18, 2024

@sjoycode , at the moment if you annotate images you annotation will be in "annotation" format: https://github.com/opencv/cvat/blob/develop/cvat/apps/documentation/xml_format.md#annotation

from cvat.

blakete avatar blakete commented on August 18, 2024

Hi, am wondering is this issue fixed? I am trying to upload coco annotation JSON with specified tracking ID within attributes (under interpolation mode), current CVAT seem to still reset the ID, turn the bbox into a normal annotation and loose the track. Is there a way around? Thanks!

Hello, have you found an answer to this?

from cvat.

blakete avatar blakete commented on August 18, 2024

Hi @sttobia , first of all you can workaround the issue. Go to admin panel and change "mode" for a task from "annotation" to "interpolation". You will loose image names but you will be able to dump the task in "interpolation" format.

In our nearst plans is to improve export/import annotations in different data annotation formats. It will close the issue completely. You will be able to upload/download annotations in most popular formats like COCO, PascalVOC, etc... I realized that it is the most critical feature for many users.

Hi, has this label upload improvement been implemented? I am still experiencing the issue of tracking labels turning back to regular labels upon upload of labels in COCO 1.0 format. This feature is a critical requirement for my project. I look forward to hearing back from you. Thank you.

from cvat.

castrovictor avatar castrovictor commented on August 18, 2024

Hi @sttobia , first of all you can workaround the issue. Go to admin panel and change "mode" for a task from "annotation" to "interpolation". You will loose image names but you will be able to dump the task in "interpolation" format.
In our nearst plans is to improve export/import annotations in different data annotation formats. It will close the issue completely. You will be able to upload/download annotations in most popular formats like COCO, PascalVOC, etc... I realized that it is the most critical feature for many users.

Hi, has this label upload improvement been implemented? I am still experiencing the issue of tracking labels turning back to regular labels upon upload of labels in COCO 1.0 format. This feature is a critical requirement for my project. I look forward to hearing back from you. Thank you.

I'm in the same situation. I have been able to dump ids for objects manually drawn when creating task from video, but I am not able to import annotations with the ids, it rewrites them. It's not a problem at all the change of ids itself, the biggest problem is that it uses new ones for each frame. So it completely ignores the tracking part. I have tried with both MOT and PascalVOC format

from cvat.

castrovictor avatar castrovictor commented on August 18, 2024

I don't mind trying to modify the function in charge of it and doing a pull request if I make it. But I do not longer see the file cvat/apps/engine/annotation.py
Could anyone indicate me where should I look at? Unfortunately I don't have time to read the whole code of the project. Would you mind giving me a hint? @nmanovic

from cvat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.