Image Matching WebUI (IMCUI) efficiently matches image pairs using multiple famous image matching algorithms. The tool features a Graphical User Interface (GUI) designed using gradio. You can effortlessly select two images and a matching algorithm and obtain a precise matching result.
Note: the images source can be either local images or webcam images.
Here is a demo of the tool:
imw.mp4
The tool currently supports various popular image matching algorithms, namely:
| Algorithm | Supported | Conference/Journal | Year | GitHub Link |
|---|---|---|---|---|
| RIPE | β | ICCV | 2025 | Link |
| RDD | β | CVPR | 2025 | Link |
| LiftFeat | β | ICRA | 2025 | Link |
| DaD | β | ARXIV | 2025 | Link |
| MINIMA | β | ARXIV | 2024 | Link |
| XoFTR | β | CVPR | 2024 | Link |
| EfficientLoFTR | β | CVPR | 2024 | Link |
| MASt3R | β | CVPR | 2024 | Link |
| DUSt3R | β | CVPR | 2024 | Link |
| OmniGlue | β | CVPR | 2024 | Link |
| XFeat | β | CVPR | 2024 | Link |
| RoMa | β | CVPR | 2024 | Link |
| DeDoDe | β | 3DV | 2024 | Link |
| Mickey | β | CVPR | 2024 | Link |
| GIM | β | ICLR | 2024 | Link |
| ALIKED | β | ICCV | 2023 | Link |
| LightGlue | β | ICCV | 2023 | Link |
| DarkFeat | β | AAAI | 2023 | Link |
| SFD2 | β | CVPR | 2023 | Link |
| IMP | β | CVPR | 2023 | Link |
| ASTR | β | CVPR | 2023 | Link |
| SEM | β | CVPR | 2023 | Link |
| DeepLSD | β | CVPR | 2023 | Link |
| GlueStick | β | ICCV | 2023 | Link |
| ConvMatch | β | AAAI | 2023 | Link |
| LoFTR | β | CVPR | 2021 | Link |
| SOLD2 | β | CVPR | 2021 | Link |
| LineTR | β | RA-L | 2021 | Link |
| DKM | β | CVPR | 2023 | Link |
| NCMNet | β | CVPR | 2023 | Link |
| TopicFM | β | AAAI | 2023 | Link |
| AspanFormer | β | ECCV | 2022 | Link |
| LANet | β | ACCV | 2022 | Link |
| LISRD | β | ECCV | 2022 | Link |
| REKD | β | CVPR | 2022 | Link |
| CoTR | β | ICCV | 2021 | Link |
| ALIKE | β | TMM | 2022 | Link |
| RoRD | β | IROS | 2021 | Link |
| SGMNet | β | ICCV | 2021 | Link |
| SuperPoint | β | CVPRW | 2018 | Link |
| SuperGlue | β | CVPR | 2020 | Link |
| D2Net | β | CVPR | 2019 | Link |
| R2D2 | β | NeurIPS | 2019 | Link |
| DISK | β | NeurIPS | 2020 | Link |
| Key.Net | β | ICCV | 2019 | Link |
| OANet | β | ICCV | 2019 | Link |
| SOSNet | β | CVPR | 2019 | Link |
| HardNet | β | NeurIPS | 2017 | Link |
| SIFT | β | IJCV | 2004 | Link |
or deploy it locally following the instructions below.
Update: now support install from pip, just run:
pip install imcuigit clone --recursive https://github.com/Vincentqyw/image-matching-webui.git
cd image-matching-webui
conda env create -f environment.yaml
conda activate imcui
pip install -e .or using docker:
docker pull vincentqin/image-matching-webui:latest
# Start the WebUI service
docker-compose up webui
# Or run in the background
docker-compose up -d webuiMore Docker Compose Commands (click to expand)
# Build and start the WebUI service
docker-compose up --build webui
# Check the status of the WebUI service
docker-compose ps webui
# View logs for the WebUI service
docker-compose logs webui
docker-compose logs -f webui # Follow logs in real time
# Stop the WebUI service
docker-compose stop webui
# Restart the WebUI service
docker-compose restart webui
# Remove the WebUI service container
docker-compose rm webui
# Remove all containers
docker-compose down
Deploy to Railway, setting up a Custom Start Command in Deploy section:
python -m imcui.api.server# Using the package CLI (recommended)
imcui
# Or using the direct script
python app.pythen open http://localhost:7860 in your browser.
The imcui package provides a powerful command-line interface with various options:
Basic Usage Commands (click to expand)
# Install the package
pip install imcui
# Run with default settings
imcui
# Run with verbose output
imcui --verbose
# Run on a specific port
imcui -p 7860
# Run on a specific host
imcui -s 127.0.0.1
# Help
imcui --helpBasic Usage Commands (click to expand)
| Option | Short | Default | Description |
|---|---|---|---|
--server-name |
-s |
0.0.0.0 |
Hostname or IP address to bind the server to |
--server-port |
-p |
7860 |
Port number to run the server on |
--config |
-c |
Auto-detected | Path to custom configuration YAML file |
--example-data-root |
-d |
imcui/datasets |
Root directory containing example datasets |
--verbose |
-v |
False |
Enable verbose output for debugging |
--version |
Show version information and exit |
I provide an example to add local feature in imcui/hloc/extractors/example.py. Then add feature settings in confs in file imcui/hloc/extract_features.py. Last step is adding some settings to matcher_zoo in your configuration file.
Configuration file locations (in priority order):
- Custom config file specified with
--configparameter config.yamlin current directoryconfig/config.yamlin current directory- Package default config (
imcui/config/app.yaml)
IMCUI hosts all models on Huggingface. You can upload your model to Huggingface and add it to the Realcat/imcui_checkpoints repository.
External contributions are very much welcome. Please follow the PEP8 style guidelines using a linter like flake8. This is a non-exhaustive list of features that might be valuable additions:
- support pip install command
- add CPU CI
- add webcam support
- add line feature matching algorithms
- example to add a new feature extractor / matcher
- ransac to filter outliers
- add rotation images options before matching
- support export matches to colmap (#issue 6)
- add config file to set default parameters
- dynamically load models and reduce GPU overload
Adding local features / matchers as submodules is very easy. For example, to add the GlueStick:
git submodule add https://github.com/cvg/GlueStick.git imcui/third_party/GlueStickIf remote submodule repositories are updated, don't forget to pull submodules with:
git submodule update --init --recursive # init and download
git submodule update --remote # updateIf you only want to update one submodule, use git submodule update --remote imcui/third_party/GlueStick.
To remove a submodule, follow these steps:
More Remove Submodule Commands (click to expand)
git submodule deinit -f imcui/third_party/GlueStick
git rm -f imcui/third_party/GlueStick
rm -rf .git/modules/imcui/third_party/GlueStick
git add .gitmodules && \
git commit -m "Remove submodule imcui/third_party/dust3r"To format code before committing, run:
pre-commit run -a # Auto-checks and fixesThis code is built based on Hierarchical-Localization. We express our gratitude to the authors for their valuable source code.
