Loader Factory
app.infrastructure.detection.model.mtcnn_tf.loader_factoryFactory for loading TorchVision detection model with pretrained weights.
See Also
MTCNNTFDetectionModel— consumes the loaded modelDetectionModelError— reports loader failures
Layer: Infrastructure. Context: Implements concrete processing and I/O behind application-facing contracts.
MTCNNModelLoaderFactory
Factory for loading MTCNN detection model.
Layer: Infrastructure. Context: Implements concrete processing or I/O behind application-facing contracts.
create() -> MTCNN
staticmethod
Load MTCNN model.
| RETURNS | DESCRIPTION |
|---|---|
MTCNN
|
MTCNN Model instance |
| RAISES | DESCRIPTION |
|---|---|
DetectionModelError
|
If model loading fails. |