This repo contains the C++ implementation of the CVPR 2024 paper XFeat: Accelerated Features for Lightweight Image Matching.
Original Repo: https://github.com/verlab/accelerated_features
Paper: https://arxiv.org/abs/2404.19174
In this project, the following packages are used. Make sure the right versions of libraries are installed and linked.
To download the project:
git clone https://github.com/udaysankar01/xfeat_cpp
cd xfeat_cpp
To install the necessary packages (OpenCV and libtorch):
chmod +x project_setup.sh
./project_setup.sh
To build the project:
mkdir -p build
cd build
cmake ..
make -j4
To perform matching between two images, use this command:
./build/examples/example /absolute/path/to/image1 /absolute/path/to/image2
Matching Example:
./build/examples/match $(pwd)/ref.png $(pwd)/tgt.png
Realtime Matching Example:
./build/examples/realtime_demo
@misc{potje2024xfeatacceleratedfeatureslightweight,
title={XFeat: Accelerated Features for Lightweight Image Matching},
author={Guilherme Potje and Felipe Cadar and Andre Araujo and Renato Martins and Erickson R. Nascimento},
year={2024},
eprint={2404.19174},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2404.19174},
}