Functionnormalize_anchor from [c_x, cy, w, h] to [x0, x1, y0, y1]
data/anchors_opr/anchor_utils.py:4
Functionresize_img(img, bbox_labels, settings, resize_height=None, resize_width=None, resize_ratio=None)
data/transform/image_util.py:304
Functiontransform_anchor from [x0, x1, y0, y1] to [c_x, cy, w, h] x1 = x0 + w - 1 c_x = (x0 + x1) / 2 = (2x0 + w - 1) / 2 = x0 + (w - 1) / 2
data/anchors_opr/anchor_utils.py:33