File size: 123 Bytes
6b41115 | 1 2 3 4 5 6 7 | import numpy as np
def bottom_center(box):
x1, _, x2, y2 = box
return np.array([(x1 + x2) / 2, y2], dtype=float)
|
6b41115 | 1 2 3 4 5 6 7 | import numpy as np
def bottom_center(box):
x1, _, x2, y2 = box
return np.array([(x1 + x2) / 2, y2], dtype=float)
|