def METHOD_NAME(self, pred_box: list, resize_factor: float):
    cx_prev, cy_prev = self.state[0] + 0.5 * self.state[2], self.state[
        1] + 0.5 * self.state[3]
    cx, cy, w, h = pred_box
    half_side = 0.5 * self.cfg.TEST.SEARCH_SIZE / resize_factor
    cx_real = cx + (cx_prev - half_side)
    cy_real = cy + (cy_prev - half_side)
    return [cx_real - 0.5 * w, cy_real - 0.5 * h, w, h]