| """ | |
| Pipeline package β local processing stages that run BEFORE the | |
| orchestrator fans out to providers. | |
| Flow: | |
| raw user input (bytes / URL / base64) | |
| β | |
| validation.py β InputValidator (reject bad input) | |
| β | |
| preprocessing.py β ImagePreprocessor (decode, resize, normalize) | |
| β | |
| hashing.py β ImageHasher (SHA-256 cache key) | |
| β | |
| feature_extraction.py β FeatureExtractor (face crops, default-detector boxes) | |
| β | |
| PipelineOutput (consumed by orchestrator) | |
| The orchestrator receives a PipelineOutput, never raw user input. | |
| """ | |
| from pipeline.validation import InputValidator, ValidationResult | |
| from pipeline.preprocessing import ImagePreprocessor, PreprocessedImage | |
| from pipeline.hashing import ImageHasher | |
| from pipeline.feature_extraction import FeatureExtractor, PipelineOutput | |
| from pipeline.postprocessing import ResultPostprocessor | |
| __all__ = [ | |
| "InputValidator", | |
| "ValidationResult", | |
| "ImagePreprocessor", | |
| "PreprocessedImage", | |
| "ImageHasher", | |
| "FeatureExtractor", | |
| "PipelineOutput", | |
| "ResultPostprocessor", | |
| ] | |