clarify debug output

This commit is contained in:
Josh Hawkins 2025-03-27 06:35:36 -05:00
parent 55080f97e9
commit 43ecd5c26f

View File

@ -814,7 +814,9 @@ class LicensePlateProcessingMixin:
] ]
).clip(0, [input.shape[1], input.shape[0]] * 2) ).clip(0, [input.shape[1], input.shape[0]] * 2)
logger.debug(f"Found license plate: {expanded_box.astype(int)}") logger.debug(
f"Found license plate. Bounding box: {expanded_box.astype(int)}"
)
return tuple(expanded_box.astype(int)) return tuple(expanded_box.astype(int))
else: else:
return None # No detection above the threshold return None # No detection above the threshold