sample_id.ann.ann module¶
-
class
sample_id.ann.ann.Matcher(metadata)[source]¶ Bases:
abc.ABCNearest neighbor matcher that may use one of various implementations under the hood.
-
can_add_fingerprint(fingerprint)[source]¶ Check if fingerprint can be added to matcher.
- Return type
Boolean
-
classmethod
create(sr=None, hop_length=None, **kwargs)[source]¶ Create an instance, pass any kwargs needed by the subclass.
- Return type
-
classmethod
from_fingerprint(fp, **kwargs)[source]¶ Useful for determining metadata for the Matcher based on the data being added.
- Return type
-