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

How to extract annotated images (frames) from the video in .jpg or .png format? #154

Open
soheilysf opened this issue Sep 4, 2018 · 1 comment

Comments

@soheilysf
Copy link

So I've been using BeaverDam to annotate my videos. I was wondering if I could extract the labeled frames in a .jpg or .png format so that I could do some data augmentations on the images on a separate application?
I'd appreciate it, if possible, you could write a code snippet that does that.

Thank you.

@antingshen
Copy link
Owner

Hmm I don't have a code snippet for that, but there's annotator/management/commands/export_annotations.py that'll get you the annotations, and then there's probably a command in ffmpeg to extract the frames from your video as images

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