-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Video file name / url in output file #56
Comments
Hi @BrunoLansacSBD , I believe it can be useful information. Could you please prepare a merge request for the feature? |
Hi @nmanovic , Could you please give me a hint on where in the code should I implement that? I'm sure it is by far easier for you to point me in the right direction than me going through all the code. Thanks |
Hi @BrunoLansacSBD , I believe you need to modify 'dump' function here: https://github.com/opencv/cvat/blob/develop/cvat/apps/engine/annotation.py#L1636 Also it seems that we don't have name of video file into DB. There are two solutions:
|
Fix #56 * Added extra field into meta section of a dump file. * Add SafeCharField.
Still cannot find video filename at dumped xml annotations:
|
@azhavoro , could you please slightly improve your patch and implement the feature? |
It is already fixed in develop branch.
|
@nmanovic is this solved? I can't see the name of the file anywhere in a "CVAT for video 1.1" export. |
Hi,
First of all, thanks for the tool. It works great!
When I annotate video files, and for that purpose I create an annotation task per video, I cannot seem to find any reference to the original video name / path / url inside the task itself. Moreover, inside the output XML file generated after annotating, there are no references to that information at all. The only thing I can find is the url of the corresponding task, but I don't think I can extract from that url the information I'm looking for (i.e. the name of the video).
The only workaround I can think of is naming the annotation task after the video itself, and do the same for the xml file. However, I don't really like that solution. The ideal solution for me would be to have video file name inside the xml file.
Am I missing something? Please point me in the right direction.
Thank you very much
The text was updated successfully, but these errors were encountered: