vismatch.im_models.zippypoint

Classes

ZippyPointMatcher([device, ...])

class vismatch.im_models.zippypoint.ZippyPointMatcher(device='cpu', max_num_keypoints=2048, keypoint_threshold=0.0001, nms_window=3, ratio_threshold=0.95, input_shape=(480, 640), **kwargs)[source][source]

Bases: BaseMatcher

Parameters:

device (str)

preprocess(img)[source][source]

Convert to TF tensor, resize, normalize, and pad to multiples of 8.

infer(img)[source][source]

Run ZippyPoint extraction and return keypoints + descriptors.