magicleap / SuperPointPretrainedNetwork

PyTorch pre-trained model for real-time interest point detection, description, and sparse tracking (https://arxiv.org/abs/1712.07629)
Other
1.9k stars 393 forks source link

Custom Point Tracking #17

Open rnag5076 opened 3 years ago

rnag5076 commented 3 years ago

How can I use the code to provide custom points for tracking in the whole video? Suppose I want only 4 points to be tracked in the whole video so how can I specify them in the code to customize it.

sarlinpe commented 3 years ago

You would need to provide the same 4 keypoints for each frame of the video. If you want to specify only for the first frame, I suggest looking into optical flow or dense matching instead.

rnag5076 commented 3 years ago

Yes, I want to specify only for the first frame but is it possible to use the points that came as an output for the first frame to be used as an input for the second frame?