1 | initial version |
You want optical flow. See THIS tutorial. Pick a bunch of points in one frame, follow them to the next, and take the average. Then add that to all the previous steps, and that gives you a list of every center relative to the current frame.