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

MegaDetectorV6 for batch video detection #541

Open
1 task done
andrewzamp opened this issue Nov 19, 2024 · 1 comment
Open
1 task done

MegaDetectorV6 for batch video detection #541

andrewzamp opened this issue Nov 19, 2024 · 1 comment
Labels
question Further information is requested

Comments

@andrewzamp
Copy link

Search before asking

  • I have searched the Pytorch-Wildlife issues and found no similar bug report.

Question

I'm using MDv6 without problems for batch image detection, however I need to apply it to a video dataset. From the Jupyter notebook demos I'm seeing that the only application in this sense is on single video to produce an annotated one with bounding boxes. Is there a way to run MDv6 on a video dataset the same way I'd do it on batches of images, with the objective of producing a Timelapse-ready JSON file? I couldn't find anything apart from the process_video() method which only takes a single video as input and a callback where single image detection is carried out on targte frames, and returns the annotated video.

Additional

No response

@andrewzamp andrewzamp added the question Further information is requested label Nov 19, 2024
@zhmiao
Copy link
Collaborator

zhmiao commented Dec 1, 2024

Hello @andrewzamp, thanks for asking, and sorry for the late reply! Currently there is no batch video processing options, because we need to generate batches of frames within each videos. Therefore, we recommend you start with single video streaming process for your video processing. I think the processing time won't be too inferior. Please let us know how it goes! Thanks!

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

No branches or pull requests

2 participants