Mapper
app.infrastructure.detection.model.mtcnn_tf.mapperMapper for converting MTCNN model output to DetectionPayload.
See Also
DetectionResult— normalized detection record produced by the mapperMTCNNTFDetectionModel— runs the mapped model output
[NOTE] [IMPORTANT] !!! NOT supported as of current development status !!!
Layer: Infrastructure. Context: Implements concrete processing and I/O behind application-facing contracts.
MTCNNTFDetectionMapper
Maps raw MTCNN detection results to DetectionPayload format.
Layer: Infrastructure. Context: Implements concrete processing or I/O behind application-facing contracts.
map(results: list, chosen_labels: list[str] | None = None) -> list[DetectionResult]
staticmethod
Map MTCNN raw inference output to DetectionResult list.
| PARAMETER | DESCRIPTION |
|---|---|
results
|
MTCNN face-result mappings containing
TYPE:
|
chosen_labels
|
Optional label allowlist; this mapper emits only
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[DetectionResult]
|
Person detections meeting the configured confidence threshold and label filter. |