diff --git a/frigate/detectors/plugins/onnx.py b/frigate/detectors/plugins/onnx.py index 8affc624dc..45e37d6cd3 100644 --- a/frigate/detectors/plugins/onnx.py +++ b/frigate/detectors/plugins/onnx.py @@ -31,6 +31,8 @@ class ONNXDetector(DetectionApi): type_key = DETECTOR_KEY def __init__(self, detector_config: ONNXDetectorConfig): + super().__init__(detector_config) + try: import onnxruntime as ort diff --git a/frigate/detectors/plugins/openvino.py b/frigate/detectors/plugins/openvino.py index b90a22a7b4..08d068d5e3 100644 --- a/frigate/detectors/plugins/openvino.py +++ b/frigate/detectors/plugins/openvino.py @@ -38,6 +38,7 @@ class OvDetector(DetectionApi): ] def __init__(self, detector_config: OvDetectorConfig): + super().__init__(detector_config) self.ov_core = ov.Core() self.ov_model_type = detector_config.model.model_type