-
Notifications
You must be signed in to change notification settings - Fork 16
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
Support for online tracking tasks #8
Comments
Hi @Soooooda69, you can get considerable speed-ups by playing with the number of initial tracks extracted with CoTracker (this is the time bottleneck in most applications). The flag
Reducing the number of tracks may affect performance, but it does not seem to be the case for this video: varanus_512_tracks.mp4Further speed-ups may be obtained by parallelizing the refinement steps, but it has not been implemented yet. Online tracking is an interesting feature. I have not implemented it yet either. I don't think it would help with speed much though, but it would allow to do inference on long videos. |
Thanks for the reply! So, based on the examples, I wonder if it is the case that with even fewer num of tracks, e.g. 200, the bottle neck for total running time would lies in 'time for refinement'. Seems like it takes 13 seconds no matter the time for initial tracks. Then Cotracker might be faster than Dot for smaller tracks case, or do I understand this correct? |
The goal is to predict a dense field of N tracks from a sparse set of K tracks (extracted with CoTracker). In the example above, N is fixed (N=480*856) which is why the refinement stage always takes the same time (no matter K). Reducing K allows to speed up the first step. However, it should be noted that directly producing the N tracks with CoTracker would take much longer (see paper for details). As mentioned in my response above, the 'time for refinement' could be reduced by parallelizing this loop: dot/dot/models/dense_optical_tracking.py Line 128 in e32c6f7
|
Nice work! I was wondering if Dot supports point tracking for streaming unknown length video? |
Hi @luminousking, this is not supported at the moment. In the current implementation we suppose that we have access to the full video. |
Hi, thanks for this fantastic work!
I'm running the demo but found it takes pretty long time (~1min 30s) to track batch of points on varanus data. Is there any ways to speed it up, or I'm just wondering if Dot could do online tracking that takes images one by one and generate tracked points for each frame. Thanks!
The text was updated successfully, but these errors were encountered: