Detection Engine Factory
app.infrastructure.detection.engine.detection_engine_factoryModule for detection engine factory; implements concrete processing and I/O behind application-facing contracts.
See Also
DetectionEngineFactoryInterface— defines the factory boundaryDetectionEngine— concrete engine created by this factory
Layer: Infrastructure. Context: Implements concrete processing and i/o behind application-facing contracts at this architectural boundary.
DetectionEngineAdapterFactory
Bases: DetectionEngineFactoryInterface
Represent detection engine adapter factory.
Layer: Infrastructure. Context: Implements concrete processing or I/O behind application-facing contracts.
create(model_name: str) -> DetectionEngineInterface
Load a detection engine and expose it through the application interface.
| PARAMETER | DESCRIPTION |
|---|---|
model_name
|
Registered name of the model to load.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
DetectionEngineInterface
|
Adapter delegating detection-engine operations to the loaded engine. |