format the python block in readme
Browse files
README.md
CHANGED
|
@@ -28,7 +28,7 @@ source .venv/bin/activate
|
|
| 28 |
uv pip install vismatch
|
| 29 |
```
|
| 30 |
Usage
|
| 31 |
-
```
|
| 32 |
from vismatch import get_matcher
|
| 33 |
from vismatch.viz import plot_matches
|
| 34 |
|
|
@@ -41,4 +41,5 @@ img1 = matcher.load_image("path/to/img1.jpg", resize=512)
|
|
| 41 |
result = matcher(img0, img1)
|
| 42 |
plot_matches(img0, img1, result, save_path="plot_matches.png")
|
| 43 |
```
|
|
|
|
| 44 |
All model weights are hosted here and automatically downloaded by vismatch.
|
|
|
|
| 28 |
uv pip install vismatch
|
| 29 |
```
|
| 30 |
Usage
|
| 31 |
+
```python
|
| 32 |
from vismatch import get_matcher
|
| 33 |
from vismatch.viz import plot_matches
|
| 34 |
|
|
|
|
| 41 |
result = matcher(img0, img1)
|
| 42 |
plot_matches(img0, img1, result, save_path="plot_matches.png")
|
| 43 |
```
|
| 44 |
+
|
| 45 |
All model weights are hosted here and automatically downloaded by vismatch.
|