File size: 595 Bytes
3b86df3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
license: apache-2.0
tags:
- image-matching
- computer-vision
- feature-matching
library_name: image-matching-models
---

# TopicFM

Fast variant of TopicFM with 2-head attention and full attention mechanism.

## Usage

```python
from matching import get_matcher

matcher = get_matcher("topicfm", device="cuda")
mkpts0, mkpts1, _, _, _, _ = matcher(img0, img1)
```

## Links
- [TopicFM Plus](https://huggingface.co/image-matching-models/topicfm-plus)
- [Original repository](https://github.com/TruongKhang/TopicFM)
- [Image Matching Models](https://github.com/gmberton/image-matching-models)