Adjusted vertical speed, set up limits, lowered bbox up bias

This commit is contained in:
Tomás L
2024-07-24 14:25:23 -04:00
parent 761b1026eb
commit 0c3e6c49b7
2 changed files with 7 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ class BBoxProcessor:
closest_distance = 9999
for box in box_list:
distance = math.sqrt(
(box[0] + box[2] / 2 - 500) ** 2 + (box[1] + box[3] / 2 - 300) ** 2
(box[0] + box[2] / 2 - 500) ** 2 + (box[1] + box[3] / 2 - 400) ** 2
)
if distance < closest_distance:
closest = box