From b04b1d0dc8eeb3c5f1b0c8756be2723b36bbec5c Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 29 Mar 2026 12:30:39 -0500 Subject: [PATCH] fix json serialization error for license plate box coordinates (#22689) --- frigate/data_processing/common/license_plate/mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/data_processing/common/license_plate/mixin.py b/frigate/data_processing/common/license_plate/mixin.py index 462a314f2..f767a5c2f 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