Crop more tightly on bird

This commit is contained in:
Nicolas Mowen 2025-06-27 06:22:42 -06:00
parent 86a3e31edf
commit 1ed5b5b347

View File

@ -109,7 +109,10 @@ class BirdRealTimeProcessor(RealTimeProcessorApi):
obj_data["box"][1],
obj_data["box"][2],
obj_data["box"][3],
224,
max(
obj_data["box"][1] - obj_data["box"][0],
obj_data["box"][3] - obj_data["box"][2],
),
1.0,
)