tools/demo_track.py line:198 vertical = tlwh[2] / tlwh[3] > args.aspect_ratio_thresh
i read above code,a little doubt;
if w/h > aspect_ratio_thresh, it can be horizontal, not vertical;
am I understanding correctly?
horizontal = tlwh[2] / tlwh[3] > args.aspect_ratio_thresh
if tlwh[2] * tlwh[3] > args.min_box_area and not horizontal:
vertical = tlwh[3] / tlwh[2] > args.aspect_ratio_thresh
if tlwh[2] * tlwh[3] > args.min_box_area and vertical:
tools/demo_track.py line:198 vertical = tlwh[2] / tlwh[3] > args.aspect_ratio_thresh i read above code,a little doubt; if w/h > aspect_ratio_thresh, it can be horizontal, not vertical; am I understanding correctly?
horizontal = tlwh[2] / tlwh[3] > args.aspect_ratio_thresh if tlwh[2] * tlwh[3] > args.min_box_area and not horizontal:
vertical = tlwh[3] / tlwh[2] > args.aspect_ratio_thresh if tlwh[2] * tlwh[3] > args.min_box_area and vertical: