I want to know which is the coordinates of cart_box? In training, what xywh do you use(Also Note: for the cart_box, the format is [x_center, y_center, w, h].); but, what yxhw do you use in visual drawing
RADDet/util/drawer.py:
def drawBoxOrEllipse(inputs, class_name, axe, color, x_shape=0, mode="box", \
if_facecolor=False):
""" Draw bounding box onto the image. """
if if_facecolor:
facecolor = color
else:
facecolor = "none"
if mode == "box":
for box in inputs:
I want to know which is the coordinates of cart_box? In training, what xywh do you use(Also Note: for the cart_box, the format is [x_center, y_center, w, h].); but, what yxhw do you use in visual drawing
RADDet/util/drawer.py: def drawBoxOrEllipse(inputs, class_name, axe, color, x_shape=0, mode="box", \ if_facecolor=False): """ Draw bounding box onto the image. """ if if_facecolor: facecolor = color else: facecolor = "none" if mode == "box": for box in inputs:
y1, y2, x1, x2 = box