NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Remove standardization
Nicolas Mowendd7b1be7f45a
diff --git a/frigate/embeddings/functions/onnx.py b/frigate/embeddings/functions/onnx.pyindex 8fd58c1688..67b2c44a25 100644--- a/frigate/embeddings/functions/onnx.py+++ b/frigate/embeddings/functions/onnx.py@@ -220,10 +220,6 @@ class GenericONNXEmbedding:# copy img image into center of result imageframe[y_center : y_center + og_h, x_center : x_center + og_w] = og-- # standardize pixel values across channels- mean, std = frame.mean(), frame.std()- frame = (frame - mean) / stdframe = np.expand_dims(frame, axis=0)return [{"input_2": frame}]elif self.model_type == ModelTypeEnum.lpr_detect: