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

Tracking at different fps #4

Closed
matiasandina opened this issue Mar 26, 2024 · 1 comment
Closed

Tracking at different fps #4

matiasandina opened this issue Mar 26, 2024 · 1 comment

Comments

@matiasandina
Copy link

matiasandina commented Mar 26, 2024

We film long videos (24 h), which means DAMM would need to iterate over a really long time. Ideally we would like to quantify faster than acquisition time (hopefully a few hours for each 24 h video?). We have not been able to get DAMM to predict much faster than acquisition rate (we are ~20fps right now on an NVIDIA GeForce RTX 3080 Ti). We would really welcome input in order to improve this.

What we tried to speed things up was to reduce the number of frames. We did a tests at 15, 10, and 5 fps.

This is 15 fps

tracking_visulized_15fps_codec.mp4

This is 10 fps

tracking_visulized_10fps_codec.mp4

This is 5 fps

tracking_visulized_5fps_codec.mp4

Predictably, the time it took to predict these files scaled with the number of frames (eyeballing it, it seems quite linear so there isn't much of optimization for large files? We might be wrong here).
The not so nice surprise was that the tracking at 5 fps is much worse. Is this due to post-processing or due to the nature of the network expecting certain amount of pixel to pixel movement?

@backprop64
Copy link
Owner

This is a good point, a of people have really long recordings at high FPSs, I will add some functionality that lets the user specify the tracking FPS when using DAMM so they dont need to adjust their video.

Unfortuanatly the speed of the video analysis will depend on your GPU, model size, and video FPS. Ill add some additional tips for speed/compute efficency under the usage examples.

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