# XFeat

> Accelerated features for lightweight image matching

Source: https://talira.ai/catalog/xfeat-7m1py293
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, AI model
- Categories: [ai / computer vision / feature matching](https://talira.ai/categories/ai/computer-vision/feature-matching), [languages / python](https://talira.ai/categories/languages/python)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (Apache-2.0), weights included.
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [VeRLab](https://talira.ai/orgs/verlab.md)
- Creator: Guilherme Potje, Felipe Cadar, André Araujo, Renato Martins and Erickson R. Nascimento

XFeat is a fast, lightweight learned keypoint detector and descriptor (CVPR 2024) from VeRLab at UFMG. A small convolutional network outputs keypoints, compact 64-dimensional descriptors and a reliability map, and it supports both sparse matching and a semi-dense mode with match refinement. It runs in real time on a laptop CPU at VGA resolution with plain PyTorch, aims at embedded devices such as Jetson and Raspberry Pi, and is more robust to viewpoint and lighting changes than ORB or SIFT. The repository includes pretrained weights, a torch.hub entry point, training code, a real-time homography demo, and LighterGlue, a smaller [LightGlue](https://talira.ai/catalog/lightglue-vw8e3sxk.md) trained on XFeat; everything is Apache-2.0.

## Links

- GitHub: https://github.com/verlab/accelerated_features

## Problems it solves

- need a learned keypoint detector that runs in real time on a CPU without a GPU
- ORB and SIFT lose track when the camera moves fast or the scene has little texture
- match features between images on a Raspberry Pi or Jetson for a robot or AR app
- drop-in faster replacement for SuperPoint with a permissive licence for commercial use
- extract compact descriptors for thousands of images quickly in batches
- register a live camera view to a reference image with a homography at video frame rate
- semi-dense matching for image pairs where sparse keypoints aren't enough
- lightweight local features to train my own matcher on top of

## Features

- real-time sparse inference on CPU for VGA images with vanilla PyTorch
- compact 64-dimensional descriptors
- sparse and semi-dense (XFeat*) matching with match refinement
- batched inference: about 1,400 FPS on an RTX 4090 for VGA sparse extraction, per the README
- only depends on PyTorch
- pretrained weights in the repository and a torch.hub entry point
- LighterGlue: a LightGlue variant trained on XFeat, about three times faster than LightGlue
- training code with MegaDepth and synthetic COCO pairs
- real-time webcam demo comparing XFeat, ORB and SIFT with homography registration
- MegaDepth-1500 and ScanNet-1500 evaluation scripts

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- backed by VeRLab
- created by Guilherme Potje, Felipe Cadar, André Araujo, Renato Martins and Erickson R. Nascimento

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [LightGlue](https://talira.ai/catalog/lightglue-vw8e3sxk.md): Local feature matching at light speed
- [RoMa](https://talira.ai/catalog/roma-7cd161xj.md): Robust dense feature matching
- [OpenCV](https://talira.ai/catalog/opencv-1r0jceb2.md): Open Source Computer Vision Library

## Sources

[^1]: https://github.com/verlab/accelerated_features/blob/main/LICENSE (checked 20 Nov 2026)
[^2]: https://github.com/verlab/accelerated_features (checked 20 Nov 2026)
