vismatch

File to import matchers. The module’s import are within the functions, so that a module is imported only if needed, reducing the number of raised errors and warnings due to unused modules.

vismatch.get_version(pkg)[source][source]
Parameters:

pkg (ModuleType)

Return type:

tuple[int, int, int]

vismatch.get_matcher(matcher_name='sift-lightglue', device='cpu', max_num_keypoints=2048, *args, **kwargs)[source][source]
Parameters:
  • matcher_name (str | list[str])

  • device (str)

  • max_num_keypoints (int)

Return type:

BaseMatcher