co-tracker icon indicating copy to clipboard operation
co-tracker copied to clipboard

how to track a specified x-y point?

Open mikebilly opened this issue 1 year ago • 3 comments

I'm creating a car edit. I want to move around the car and focus on the logo. Suppose at the first frame, the logo is at (x0, y0). How to track the point (x0, y0) and then output as a list of coordinates, for example [(x1, y1), (x2, y2),...] (which means that the initial logo point (x0, y0) has moved to (x1, y1) at the second frame, to (x2, y2) at the third frame, etc,...) for every frames from second frame to the last frame of the video. So that later I can re-position the frames in such a way that those points in the list are centered in the screen.

mikebilly avatar Apr 21 '24 03:04 mikebilly

Hi @mikebilly, you can check out our Colab demo that shows how to track a single query point from any frame in a video. Please look at the section "Tracking manually selected points" and let me know if that's what you need. Also, could you send this car video?

nikitakaraevv avatar Apr 21 '24 12:04 nikitakaraevv

@nikitakaraevv sorry for my late reply, please try to track and stabilize the motion moving around the car logo: https://drive.google.com/drive/folders/1FdO9T3qEyaXvt7dUIkCTJZP2AMtIvTt0?usp=sharing

mikebilly avatar Apr 23 '24 06:04 mikebilly

Hi @mikebilly, you can check out our Colab demo that shows how to track a single query point from any frame in a video. Please look at the section "Tracking manually selected points" and let me know if that's what you need. Also, could you send this car video?

2842d1c5-59ba-4db9-8af2-578c240815ea

This is how the frame is how do I make it 0->y and 0->x ? to plot those on a graph?

maheshreddy24 avatar Aug 29 '24 12:08 maheshreddy24