-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show image names or video name in UI (now frame numbers only) #170
Comments
Hi @4sfaloth, Currently it works the following way: take all images, sort them by name. In the array first image will have id=0, second id=1, ... |
Hi @nmanovic , thank you for your fast reply. I was under the impression that might be the case, since I had noticed that in previous datasets. However, in this one I have:
Is there really no way as of now to find out the id for each image, through its filename for instance? |
Hi @4sfaloth , ID for an image corresponds to assigned frame number. Code which calculates ID is very simple. It sorts all image paths in lexicographic order and assign ids in accordance with algorithm which I described above. |
Alright, thank you. I'll close the issue |
Just to clarify to anyone who might do the same errors as myself: 'lexicographic order' implies that all capital letters precede lowercase letters. |
@nmanovic is it possible to dive into more detail into the sortering algorithm? |
There are no any details. It is just sort call for a python array of strings: https://github.com/opencv/cvat/blob/4aefbe2630908a7ad20f67e473e5b5e7015e4cec/cvat/apps/engine/task.py#L321 |
@nmanovic thanks a lot. I am also using python to sort the filenames before uploading the annotations, so they should be matching now |
@nmanovic |
I don't think so. |
@nmanovic I have an idea for a new feature related to this issue: |
It makes sense to implement in new UI. Moved to v1.0.0 version. |
…DAR, Datumaro) (cvat-ai#170) * support etxs in camvid * update coco format * update icdar format * update cvat format * add datumaro format tests
I have created a large task (thousands of images), and am trying to generate pre-annotations using an external program. The issue, I do not know which imageId corresponds to each image. I have tried to "Dump Annotations", but that only shows me the Ids for the frames that already have annotations.
Only workaround I can think of is to upload some dummy annotations' file with at least one object per image, and then dumping those annotations to check which imageId corresponds to each image.
Am I missing something? Is there an easier way to achieve this?
The text was updated successfully, but these errors were encountered: