diff --git a/frigate/object_detection/base.py b/frigate/object_detection/base.py index dfc39ac2d..b837984fa 100644 --- a/frigate/object_detection/base.py +++ b/frigate/object_detection/base.py @@ -77,6 +77,8 @@ class LocalObjectDetector(ObjectDetector): if self.dtype == InputDTypeEnum.float: tensor_input = tensor_input.astype(np.float32) tensor_input /= 255 + elif self.dtype == InputDTypeEnum.float_denorm: + tensor_input = tensor_input.astype(np.float32) return self.detect_api.detect_raw(tensor_input=tensor_input)