-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Improve documentation for overlap parameter #22
Comments
Hi @kodonnell , Thanks for your question and feedback. Your understanding is correct. There are several ways to use the parameter:
Does it answer your question? |
Thanks for the thorough response @nmanovic
Hmmm - I thought I tested this by creating a task with multiple segments and overlaps. When I added a track to the first segment (I just left one box in the same place the whole time), then closed it and opened the next segment, I didn't see the track in the overlap. Is there a step I missed? (I can also try to reproduce - I'm going by memory, so might not have done it correctly.)
Just to clarify for others reading this: I take it by 'separate images' you just mean single-frame annotations on the video? (Given CVAT is only for video.) Otherwise I'm not sure how separate images can overlap?
OK, I'm getting a little confused - I thought Just thinking - maybe a video illustrating this would be good? I found the annotation video really useful, so maybe something quick demonstrating how segments/overlap work (and what happens in edge case you refer to e.g. "automatically merged into one (if it is possible)"). |
You have to annotate it explicitly on all segments. After that merge will work. It will not propagate a bounding box from one segment to another automatically because in common case it isn't correct. Thus you annotate an object on first segment. You annotate the same object on second segment and if you do it right you will have one track inside your annotation file. If annotations on different segments (on overlapped frames) are very different or match is bad or overlap is 0 you will have 2 tracks for the same object.
CVAT can annotate video or images (you can upload a set of images or even an archive with images). For example, you upload 100 images, segment size is 50 and overlap is 10. In this case you should have (if I remember correctly) 3 segments: 0 - 49, 40 - 89, 80 - 99. Thus two adjacent segments have 10 images overlap. In general "overlapped" images can be annotated differently. Merge works in such cases. |
Thanks for the clarification.
In our case it would be correct to do this - we'd prefer to label something only once. I.e. I add tracks in segment 1, and then when I go to segment 2, it carries across all tracks from e.g. the last 10 frames of segment 1 (for overlap = 10) to the first 10 frames of segment 2. There won't be any need to merge the tracks, as it's obvious that if you've copied track 1, then it's still track 1. However - maybe ours is a special use case (and we have no experience with big tagging tasks). Anyway, thank @nmanovic - feel free to close the task, or leave it open as a reminder to update the docs etc. |
Fix #22 (Improve documentation for overlap parameter)
Fix #22 (Improve documentation for overlap parameter)
- Extracted common code for Importers, Transforms, Extractors, removed unnecessary code - Improved caching in transforms. Creation of a transform could led to unnecessary source dataset traversal with corresponding performance consequences - Dataset class moved to its own file - All DatasetItems and Extractors now use default subset name "default" instead of "None". The values are interchangeable
My understanding is that
overlap
just specifies how many frames overlap when splitting a video into segments. If that's correct, what's the purpose? Does it actually do anything for the user? (E.g. if I do the tracks on the first segment, are they copied across to the next segment in the overlapping region? This doesn't appear to be the case.) Put another way- should I just setoverlap=0
in my video tagging examples, to avoid having to manually resolve different taggings from each segment in the overlap?Sorry if I've misunderstood something obvious.
PS - great tool!
The text was updated successfully, but these errors were encountered: