Matthias Bisping cd5457840b Refactoring
Various
2023-01-04 18:13:54 +01:00

7 lines
141 B
Python

from cv_analysis.utils.rectangle import Rectangle
def box_to_rectangle(box):
x, y, w, h = box
return Rectangle(x, y, x + w, y + h)