code: def __init__(self, LRTB=None, XYWH=None):
      if LRTB is not None:
          self.rect = np.array(LRTB)
      elif XYWH is not None:
          self.rect = np.array(
              [
                  XYWH[0] - XYWH[2] * 0.5,
                  XYWH[1] - XYWH[3] * 0.5,
                  XYWH[0] + XYWH[2] * 0.5,
                  XYWH[1] + XYWH[3] * 0.5,
              ]
          )
      else:
          self.rect = np.full((4,), 0.0, dtype=float)
  
imports: import csv
  import multiprocessing
  import os
  import re
  import nnabla.logger
  import numpy
  import tqdm
  from nnabla.utils.image_utils import imsave, imread, imresize
label_desc: Use image node_id 1 to create a new ObjectRect object  with example: obj = ObjectRect(LRTB, XYWH)