nicetoolbox.detectors.method_detectors.base_method

Base class for Method Detectors. Method detectors run external inference scripts in separate virtual environments.

Classes

BaseMethod

Abstract base class for method detectors.

class nicetoolbox.detectors.method_detectors.base_method.BaseMethod(io: SequenceIO, data: SequenceData, sequence_context: SequenceRuntimeConfig, algorithm_instance: str)[source]

Abstract base class for method detectors.

Method detectors run inference in external virtual environments via subprocess.

Initialize base method detector with references.

abstract post_inference() None[source]

Post-processing after inference completes.

run() None[source]

Execute method detector: run subprocess inference + post_inference.

Returns None - visualization uses external data.