Add slight padding

This commit is contained in:
Nicolas Mowen 2025-06-27 06:28:03 -06:00
parent 1ed5b5b347
commit 35fc147aff

View File

@ -109,9 +109,12 @@ class BirdRealTimeProcessor(RealTimeProcessorApi):
obj_data["box"][1],
obj_data["box"][2],
obj_data["box"][3],
max(
obj_data["box"][1] - obj_data["box"][0],
obj_data["box"][3] - obj_data["box"][2],
int(
max(
obj_data["box"][1] - obj_data["box"][0],
obj_data["box"][3] - obj_data["box"][2],
)
* 1.1
),
1.0,
)