Skip to content

Repository for performing feature matching using the DeDoDev2 model in PyTorch

License

Notifications You must be signed in to change notification settings

ibaiGorordo/dedodev2-pytorch-inference

Repository files navigation

DeDoDe v2 Pytorch Inference

Repository for performing feature matching using the DeDoDev2 model in PyTorch

matches

Installation

Option1: pip installation

git clone https://github.com/ibaiGorordo/dedodev2-pytorch-inference.git
cd dedodev2-pytorch-inference
pip install -r requirements.txt

Option2: uv installation

Recommended but requires uv to be installed (https://docs.astral.sh/uv/getting-started/installation/)

git clone https://github.com/ibaiGorordo/dedodev2-pytorch-inference.git
cd dedodev2-pytorch-inference
uv sync
  • Additionally, to activate the uv environment: source .venv/bin/activate in macOS and Linux or .venv\Scripts\activate in Windows

Examples:

Image keypoint detection example

python example_image_keypoints.py

Image pair matching example

python example_image_pair_matching.py

Webcam feature tracking example

python example_webcam_feature_tracking.py

Video feature tracking example (https://youtu.be/cDHNvORTRjo?si=aMZt5hiCrqWf3lhQ)

python example_video_feature_tracking.py

dedodev2

License

The code is taken from the official DeDoDe repository which is distributed under the MIT License. See LICENSE for more information.

References:

About

Repository for performing feature matching using the DeDoDev2 model in PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages