PySIFT – GPU-Resident SIFT for Computer Vision

PySIFT is a pure-Python, open-source GPU-resident implementation of the Scale-Invariant Feature Transform (SIFT) built on CuPy and Numba CUDA kernels which is faster and yet more accurate. It runs the entire detection-to-descriptor pipeline on your NVIDIA GPU with zero-copy DLPack interop to PyTorch so that your downstream DL steps will be free from CPU PCIe bottlenecks.

PySIFT is the feature extraction foundation for downstream pipelines in medical imaging, drone/UAV stitching, SLAM, robotics, 3D reconstruction (NeRF, 3DGS, SfM), and satellite remote sensing.

pip install staysift

Key Results

Benchmarked against OpenCV SIFT on RTX 3050 Laptop GPU (4 GB VRAM):

Benchmark

Metric

PySIFT

OpenCV

Delta

HPatches

MMA@10

0.703

0.681

+2.2pp

IMC Phototourism

Inliers/pair

303

205

+47%

MegaDepth-1500

AUC@10

0.503

0.447

+5.6pp

ROxford5K

mAP (Medium)

0.455

0.380

+7.5pp