Source code for rastervision.core.analyzer.analyzer

from abc import (ABC, abstractmethod)

from rastervision.core.data import Scene


[docs]class Analyzer(ABC): """Analyzes scenes and writes some output while running the analyze command. This output can be used to normalize images, for example. """
[docs] @abstractmethod def process(self, scenes: list[Scene], tmp_dir: str): """Process scenes and save result."""