code: def setUp(self) -> None:
      self.box_array = np.array([1, 1, 2, 2])
      self.box_list = [1, 1, 2, 2]
      self.box_tensor = torch.tensor([1, 1, 2, 2])
      self.gt_xyxy = np.array([1, 1, 2, 1, 2, 2, 1, 2])
      self.gt_xywh = np.array([1, 1, 3, 1, 3, 3, 1, 3])
  
imports: import unittest
  import numpy
  import torch
  from mmocr.utils import bbox2poly, bbox_center_distance, bbox_diag_distance, bezier2polygon, is_on_same_line, rescale_bbox, rescale_bboxes, stitch_boxes_into_lines
  from mmocr.utils.bbox_utils import bbox_jitter
label_desc: Use image node_id 1 for calling the TestBbox2poly obj's underlying member method code with example usage: obj.setUp() without return types