XFeat: Accelerated Features for Lightweight Image Matching

Guilherme A. Potje, Felipe Cadar, Andre Araujo, Renato Martins, E. R. Nascimento
2/9/2026

No official code found. Best implementation: cuixing158/pretrained-XFeat-onnx-Model (1 star, last commit 2025-07-29). 1 more below.

Abstract

We introduce a lightweight and accurate architecture for resource-efficient visual correspondence. Our method, dubbed XFeat (Accelerated Features), revisits fundamen-tal design choices in convolutional neural networks for de-tecting, extracting, and matching local features. Our new model satisfies a critical need for fast and robust algorithms suitable to resource-limited devices. In particular, accu-rate image matching requires sufficiently large image res-olutions -for this reason, we keep the resolution as large as possible while limiting the number of channels in the net-work. Besides, our model is designed to offer the choice of matching at the sparse or semi-dense levels, each of which may be more suitable for different downstream applications, such as visual navigation and augmented reality. Our model is the first to offer semi-dense matching efficiently, leveraging a novel match refinement module that relies on coarse local descriptors. XFeat is versatile and hardware-independent, surpassing current deep learning-based local features in speed (up to 5xfaster) with comparable or better accuracy, proven in pose estimation and visual localization. We showcase it running in real-time on an inexpensive lap-top CPU without specialized hardware optimizations. Code and weights are available at verlab.dcc.ufmg.br/descriptors/xfeat_cvpr24.

View on arXivView PDF

Code Implementations(2)

Pretrained XFeat(Accelerated Features for Lightweight Image Matching) MATLAB Model

10MATLABMay 26, 20251 years ago
deep-learningfeature-extractionfeature-matchingimage-algorithmsimage-matching+2 more
Apache-2.0

This project provides a comprehensive analysis, replication, and enhancement of the XFeat: Accelerated Features for Lightweight Image Matching paper. XFeat proposes a lightweight CNN for efficient detection, description, and matching of local image features, offering both sparse (XFeat) and semi-dense (XFeat*) modes.

10Shell, PythonOct 21, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{potje2026xfeat,
  title  = {XFeat: Accelerated Features for Lightweight Image Matching},
  author = {Guilherme A. Potje and Felipe Cadar and Andre Araujo and Renato Martins and E. R. Nascimento},
  year   = {2026},
  eprint = {2404.19174},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2404.19174},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.19174.svg)](https://codeofpaper.com/paper/2404.19174)

Discussion