Make default region multiplier consistent

This commit is contained in:
Nicolas Mowen 2024-02-05 15:28:17 -07:00 committed by GitHub
parent 3df8b5829c
commit 8e34490178
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -414,7 +414,7 @@ def get_cluster_region(frame_shape, min_region, cluster, boxes):
max_x = max(boxes[b][2], max_x) max_x = max(boxes[b][2], max_x)
max_y = max(boxes[b][3], max_y) max_y = max(boxes[b][3], max_y)
return calculate_region( return calculate_region(
frame_shape, min_x, min_y, max_x, max_y, min_region, multiplier=1.2 frame_shape, min_x, min_y, max_x, max_y, min_region, multiplier=1.35
) )