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

Extract feature points manually #28

Open
LXXIANG12 opened this issue Jun 17, 2024 · 2 comments
Open

Extract feature points manually #28

LXXIANG12 opened this issue Jun 17, 2024 · 2 comments

Comments

@LXXIANG12
Copy link

I have a task, I want to use the coordinates of the center point of the detection box of the target detection as the feature point input, so as to match the next frame image to achieve the tracking effect. How are the feature points of XFeat learned?Methods such as COTR do this, but are inefficient.

@LXXIANG12
Copy link
Author

I am new to this field and I would also like to ask can I train with only the homologous transformation data set and not the Megadepth data?

@guipotje
Copy link
Collaborator

guipotje commented Jun 24, 2024

Hello @LXXIANG12, thank you for your interest in XFeat.

XFeat keypoints are distilled from ALIKE, but the keypoint network is exceptionally small.

If I understand correctly, you wish to extract descriptors from a desired input position. This is entirely possible, as XFeat's coarse feature map is dense, allowing interpolation of descriptors at any desired location. This can be achieved using the provided sparse interpolator.

In the next frame, you can focus on the vicinity of the last coordinate from the previous frame. This can be done efficiently by cropping the feature map, for example, into a 5x5xdim patch centered at the coordinate, followed by a fast dot product to extract a heatmap.

For the second question, yes we provided an example by training with fully synthetic data

Best regards,
Guilherme.

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