Skip to content
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

Annotation Frame amount does not align with clipped image number #17

Open
Eden-Wang1710 opened this issue Oct 9, 2024 · 3 comments
Open

Comments

@Eden-Wang1710
Copy link

Eden-Wang1710 commented Oct 9, 2024

Hi, I encountered an issue while processing one video. After downloading and converting the video to individual frames, I noticed that the number of annotations doesn't align with the number of processed images.

"videoid": "TgavkeWrV7U"
According to the JSON file, this video has 4762 seconds. The first 90s and last 30s should be discarded. So it should be 46420 frames left after processed.
截屏2024-10-09 11 03 05

But After proceesing, I find 46400 images(0.jpg to 46399.jpg) in my folder. And the annotation in split7 json file has 46061 frames, where the last one is from 46060.jpg to 46099.jpg. They have 30 second difference.
截屏2024-10-09 11 10 09

It's acceptable if this 30-second discrepancy is from the end of the video. But it would be problematic if it's from the beginning, as that would affect the data alignment. Since I only download one video, I'm not sure if other videos also have this problem. Could you kindly confirm this? Thanks a lot!

@GihhArwtw
Copy link
Contributor

GihhArwtw commented Oct 9, 2024

Hi @Eden-Wang1710

Thanks for your report.
We checked the dataset and yes the 30-second discrepancy is from the end of the video.
There are also some other videos for which we further discarded the last 60 seconds instead of 30 seconds at the end of them, but the current metadata still works since they are already discarded in the annotation file.

@GihhArwtw
Copy link
Contributor

GihhArwtw commented Oct 9, 2024

We now updated the Metadata Google Sheet for videos with longer length to be discarded at the ending. But still, the former version of metadata works well since frames are already discarded in the anno file. So you could still choose to use the former version.

@Eden-Wang1710
Copy link
Author

We now updated the Metadata Google Sheet for videos with longer length to be discarded at the ending. But still, the former version of metadata works well since frames are already discarded in the anno file.

OK, thanks for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants