Practical overview
When it fits
Use it when you need a documented C++/TensorRT path for SuperPoint and SuperGlue inference on image pairs or image sequences, and can provide the listed CUDA, TensorRT and supporting libraries.
Who it is for
- C++ developers building GPU-based image-feature matching workflows
- Computer-vision practitioners evaluating SuperPoint and SuperGlue for image-pair or sequence processing
- Developers seeking an inference component for a visual-localization pipeline
Documented uses
- Detect keypoints in two grayscale images and match their features.
- Process an image sequence and save match visualizations.
- Call the detector and matcher from C++ code.
- Build TensorRT engines from the supplied or converted model files.
Requirements & limits
The repository is public and lists an Apache-2.0 license. The documented workflow is self-hosted and requires a CUDA/TensorRT environment.
- The project uses TensorRT rather than documenting an alternate inference backend.
- The README lists CUDA 11.6, TensorRT 8.4.1.5, OpenCV 4.0 or later, Eigen and yaml-cpp as requirements.
- Converted weights are included; conversion is an optional documented step when using the cited pretrained models.
- Changing the configured image size requires deleting the previous engine file.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Build and run image matching
Build the documented C++ programs and process an image pair or sequence.
Before you start
- CUDA 11.6 and TensorRT 8.4.1.5
- OpenCV 4.0 or later, Eigen and yaml-cpp
- A Linux environment with NVIDIA GPU support; the README recommends its Ubuntu 20.04/CUDA 11.6 Docker image
- Repository weights, configuration and input images
Steps
Clone the repository, create a build directory, and run
cmake ..followed bymake.Run
superpointglue_imagewith the configuration, weights directory and two image paths; or runsuperpointglue_sequencewith the configuration, weights directory, sequence folder and output folder.For a different image size, update the configuration and delete the existing
.enginefile in the weights directory.
Expected outcome
The pair executable saves its output image in the build directory; the sequence executable saves output images in the specified output directory.
Guide limitations
- The documented default image size is 320 × 240.
- The README’s Docker invocation uses NVIDIA GPU access and mounts the X11 display socket.
- The published benchmark concerns 320 × 240 images on an RTX3080 and Quadro P620; it is not a general performance guarantee.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- yuefanhao/SuperPoint-SuperGlue-TensorRT · Official homepage title · retained in its source language

