AbstractAnalyzer#

class AbstractAnalyzer[source]#

Bases: ABC

Abstract base class for template matching analyzers.

Attributes

AbstractAnalyzer.shareable

Indicate whether the analyzer can be shared across processes.

Methods

AbstractAnalyzer.__call__(state, scores, ...)

Update the analyzer state with new scoring data.

AbstractAnalyzer.init_state(*args, **kwargs)

Initialize the analyzer state.

AbstractAnalyzer.merge(results, **kwargs)

Merge results from multiple analyzer instances.

AbstractAnalyzer.result(state, **kwargs)

Finalize the analysis and produce the final result.