• Stars
    star
    659
  • Rank 68,091 (Top 2 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🤗 image matching toolbox webui

Contributors Forks Stargazers Issues


$\color{red}{\textnormal{Image\ Matching\ WebUI}}$
find matches between 2 images

Description

This simple tool 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:

How to use

HuggingFace

Just try it on HF Open in OpenXLab

or deploy it locally following the instructions below.

Requirements

git clone --recursive https://github.com/Vincentqyw/image-matching-webui.git
cd image-matching-webui
conda env create -f environment.yaml
conda activate imw

Run demo

python3 ./app.py

then open http://localhost:7860 in your browser.

Add your own feature / matcher

I provide an example to add local feature in hloc/extractors/example.py. Then add feature settings in confs in file hloc/extract_features.py. Last step is adding some settings to matcher_zoo in file common/utils.py.

Contributions welcome!

External contributions are very much welcome. Please follow the PEP8 style guidelines using a linter like flake8 (reformat using command python -m black .). This is a non-exhaustive list of features that might be valuable additions:

  • 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 third_party/GlueStick

If remote submodule repositories are updated, don't forget to pull submodules with git submodule update --remote, if you only want to update one submodule, use git submodule update --remote third_party/GlueStick.

Resources

Acknowledgement

This code is built based on Hierarchical-Localization. We express our gratitude to the authors for their valuable source code.

More Repositories

1

Recent-Stars-2024

🔥SLAM, VIsual localization, keypoint detection, Image matching, Pose/Object tracking, Depth/Disparity/Flow Estimation, 3D-graphic, etc. related papers and code
941
star
2

cv-arxiv-daily

🎓Automatically Update CV Papers Daily using Github Actions (Update Every 12th hours)
Python
856
star
3

LineSegmentsDetection

📐A collection of line segments detection algorithms.
Shell
217
star
4

Depth-Estimation-Light-Field

👾 A collection of code of depth estimation using light field data.
Shell
85
star
5

ORB-SLAM2-CHINESE

🚀中文注释版ORB-SLAM2
C++
68
star
6

light-field-Processing

🐤This is an useful tool to decode/display lightfield files(.lfp) OR 2D remapping images into 5D data.
MATLAB
45
star
7

depth-from-defocus-and-correspondence

⛄Depth from Combining Defocus and Correspondence Using Light-Field Cameras.
MATLAB
24
star
8

GPT-GitHubRadar

Python
23
star
9

light-field-TB

🍎This is a simple test for light field ToolBox.
MATLAB
19
star
10

Light-Field-Refocusing

🍉This is a demo of light field refocusing
C
14
star
11

Optimal-Transport

🦆 A simple sinkhorn algorithm to solve optimal transport problem writen in Matlab
MATLAB
10
star
12

background-bokeh

😄Blur background using depth map and color image.
MATLAB
7
star
13

fire

Learning Super-Features for Image Retrieval
Python
6
star
14

youtube-dl-webui

youtube video downloader webui
Python
5
star
15

camera2_demo

本项目使用Camera2 API实现相机图像实时预览与连续图像保存。
Java
4
star
16

COTR

Code release for "COTR: Correspondence Transformer for Matching Across Images"(ICCV 2021)
Python
4
star
17

SLAM-Collections

This repo collects some open source SLAM codes or links.
3
star
18

disparity_refinement

This is a matlab toolbox for depth enhancement using color information
C++
2
star
19

gitalk

1
star
20

Gitment

blog issues
1
star
21

DeepLearning

A demo of matlab deeplearning toolbox.
MATLAB
1
star