| 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
- All 10 features
| - matches sparse keypoints and descriptors and returns corresponding point indices with scores
- pretrained weights for SuperPoint, DISK, ALIKED, SIFT and DoGHardNet features
- adaptive depth (early stopping) and width (point pruning) per image pair
- FlashAttention, mixed precision and torch.compile support
- match_pair convenience function for two images
- benchmark script for GPU and CPU
- in Hugging Face Transformers (LightGlueForKeypointMatching)
- available through Kornia's LightGlue and LightGlueMatcher
- All 10 features
| - pixel-dense warp with a per-pixel certainty for any image pair
- pretrained outdoor and indoor models downloaded automatically
- Tiny RoMa: a lightweight variant built on XFeat
- match arbitrary keypoints with match_keypoints
- balanced sampling of matches for RANSAC estimation
- configurable coarse and upsampled resolutions (560 and 864 by default)
- optional fused local correlation kernel
- training and benchmark code for MegaDepth-1500 and other datasets
- All 9 features
| - image filtering, thresholding (including adaptive), morphology, contours and Hough transforms
- geometric transforms: warpPerspective, warpAffine and remap, revised in OpenCV 5 for accuracy and speed
- feature detectors and descriptors: ORB, SIFT, FAST, MSER and GoodFeaturesToTrack
- learned local features ALIKED and DISK and the LightGlue matcher in the Features module (OpenCV 5)
- homography, fundamental and essential matrix estimation with the USAC robust estimation framework
- ECC image alignment (findTransformECC) for sub-pixel registration
- template matching
- camera calibration, including a multi-view calibration pipeline in OpenCV 5
- All 20 features
|
| Limitations | | - SuperPoint features not licensed for commercial use: SuperPoint and the LightGlue weights trained on it are non-commercial research only; DISK, ALIKED and SIFT aren't
| | - No CUDA GPU acceleration in the PyPI wheels: the pip packages are CPU-only, and CUDA modules need a build from source
- Patented non-free algorithms such as SURF aren't in the pip packages: they can't be distributed as binaries (SIFT is included)
|