Make default region multiplier consistent (#9685)

* Make default region multiplier consistent

* Adjust tests
This commit is contained in:
Nicolas Mowen
2024-02-13 16:25:00 -07:00
committed by GitHub
parent 63bc1b1582
commit ac0059cc1a
2 changed files with 28 additions and 4 deletions

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_y = max(boxes[b][3], max_y)
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
)