NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
fix json serialization error for license plate box coordinates (#22689)
Josh Hawkinsb04b1d0dc8ee
diff --git a/frigate/data_processing/common/license_plate/mixin.py b/frigate/data_processing/common/license_plate/mixin.pyindex 462a314f2b..f767a5c2f4 100644--- a/frigate/data_processing/common/license_plate/mixin.py+++ b/frigate/data_processing/common/license_plate/mixin.py@@ -1095,7 +1095,7 @@ class LicensePlateProcessingMixin:logger.debug(f"{camera}: Found license plate. Bounding box: {expanded_box.astype(int)}")- return tuple(expanded_box.astype(int)) # type: ignore[return-value]+ return tuple(int(x) for x in expanded_box) # type: ignore[return-value]else:return None # No detection above the threshold