vismatch.im_models.xfeat

Classes

xFeatMatcher([device, max_num_keypoints, mode])

class vismatch.im_models.xfeat.xFeatMatcher(device='cpu', max_num_keypoints=4096, mode='sparse', *args, **kwargs)[source][source]

Bases: BaseMatcher

Parameters:

device (str)

preprocess(img)[source][source]
Parameters:

img (Tensor)

Return type:

Tensor