https://github.com/ibaigorordo/dedodev2-pytorch-inference
Repository for performing feature matching using the DeDoDev2 model in PyTorch
https://github.com/ibaigorordo/dedodev2-pytorch-inference
dedode feature-detection feature-extraction feature-matching opencv python pytorch
Last synced: about 1 year ago
JSON representation
Repository for performing feature matching using the DeDoDev2 model in PyTorch
- Host: GitHub
- URL: https://github.com/ibaigorordo/dedodev2-pytorch-inference
- Owner: ibaiGorordo
- License: mit
- Created: 2025-04-13T05:33:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T11:46:45.000Z (about 1 year ago)
- Last Synced: 2025-04-21T02:26:59.186Z (about 1 year ago)
- Topics: dedode, feature-detection, feature-extraction, feature-matching, opencv, python, pytorch
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 29
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DeDoDe v2 Pytorch Inference
Repository for performing feature matching using the DeDoDev2 model in PyTorch

## Installation
### Option1: pip installation
```bash
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/)
```bash
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
```bash
python example_image_keypoints.py
```
### Image pair matching example
```bash
python example_image_pair_matching.py
```
### Webcam feature tracking example
```bash
python example_webcam_feature_tracking.py
```
### Video feature tracking example (https://youtu.be/cDHNvORTRjo?si=aMZt5hiCrqWf3lhQ)
```bash
python example_video_feature_tracking.py
```

## License
The code is taken from the official [DeDoDe repository](https://github.com/Parskatt/DeDoDe) which is distributed under the MIT License.
See [LICENSE](https://github.com/Parskatt/DeDoDe/blob/main/LICENSE) for more information.
### References:
- DeDoDe: https://github.com/Parskatt/DeDoDe