LightGlue
An AI model that finds matching points between two photos of the same scene, quickly and accurately.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
An AI model that finds matching points between two photos of the same scene, quickly and accurately.
LightGlue is a neural network, a type of AI model, that compares two images and finds the spots that show the same thing. For example, it can find the same corner of a building in two photos taken from different angles. These matched points are used in tasks like building 3D models from photos or working out where a camera was.
It works with 'keypoints', small distinctive spots that another tool first picks out in each image. LightGlue then pairs up the keypoints that correspond. Its makers say it adjusts how much work it does, so easy image pairs are handled faster and hard pairs take more effort.
This repository holds the code for running the model, plus ready-trained versions for several keypoint finders. Training code is in a separate project from the same team. There is also an online demo and a notebook you can try in the browser.
Researchers and developers working on computer vision, 3D reconstruction, mapping or camera positioning who need to match points between images.
Developers only. Using it means writing Python code, though an online demo lets anyone try it. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?