patch2pix / README.md
astoken's picture
Update README.md
4715d09 verified
|
raw
history blame
767 Bytes
metadata
license: mit
tags:
  - image-matching
  - computer-vision
  - feature-matching
library_name: image-matching-models

Patch2Pix

Patch2Pix is a dense image matching model for pixel-level correspondence estimation.

Usage

from imm import get_matcher

matcher = get_matcher("xfeat", device=device)
result = matcher(img0, img1)

from imm import get_matcher

matcher = get_matcher("patch2pix", device=device)
result = matcher(img0, img1)
# result.keys() = ["num_inliers", "H", "all_kpts0", "all_kpts1", "all_desc0", "all_desc1", "matched_kpts0", "matched_kpts1", "inlier_kpts0", "inlier_kpts1"]

## Links
- [Original repository](https://github.com/GrumpyZhou/patch2pix)
- [Image Matching Models](https://github.com/gmberton/image-matching-models)