Dummy
app.infrastructure.detection.model.dummyModule for dummy; implements concrete processing and I/O behind application-facing contracts.
See Also
BaseDetectionModel— contract implemented by this modelload_detection_model— selects the dummy model when detection is disabled
Layer: Infrastructure. Context: Implements concrete processing and i/o behind application-facing contracts at this architectural boundary.
DummyDetectionModel
Bases: BaseDetectionModel
No-op detection model — always returns empty list (used when model is "None").
Layer: Infrastructure. Context: Implements concrete processing or I/O behind application-facing contracts.
detect(frame: np.ndarray, chosen_labels: list[str] | None = None) -> list[DetectionResult]
Return empty list (no detections).
| PARAMETER | DESCRIPTION |
|---|---|
frame
|
RGB image array; unused by this no-op model.
TYPE:
|
chosen_labels
|
Optional label filter; unused because no detections are produced.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[DetectionResult]
|
Empty list. |