@staticmethod
def log_boxes(frame_number, boxes, ofile, width, height):
    for box in boxes:
        box = detector.denormalize(box, width, height)
        box = map(int, box)
        box = ([frame_number] + list(box))
        line = '|'.join(map(str, box))
        print(line, file=ofile)
@staticmethod
def log_boxes(frame_number, boxes, ofile, width, height):
    for box in boxes:
        box = detector.denormalize(box, width, height)
        box = map(int, box)
        box = ([frame_number] + list(box))
        line = '|'.join(map(str, box))
        print(line, file=ofile)