docstr: Resize image to target size, convert normalized xywh to pixel xyxy
  format ([x_center, y_center, width, height] -> [x0, y0, x1, y1]).
  Args:
      target_size (int|list): image target size.
docstr_tok: ["Resize","image","to","target","size",",","convert","normalized","xywh","to","pixel","xyxy","format","(","[","x_center",",","y_center",",","width",",","height","]","-",">","[","x0",",","y0",",","x1",",","y1","]",")",".","Args",":","target_size","(","int|list",")",":","image","target","size","."]
code: def __init__(self, target_size):
      """
      Resize image to target size, convert normalized xywh to pixel xyxy
      format ([x_center, y_center, width, height] -> [x0, y0, x1, y1]).
      Args:
          target_size (int|list): image target size.
      """
      super(LetterBoxResize, self).__init__()
      if isinstance(target_size, int):
          target_size = [target_size, target_size]
      self.target_size = target_size
  
imports: import numpy
  import cv2
  import copy
label_desc: Use image node_id 1 to create a new LetterBoxResize object from inherited base classes: object with example: obj = LetterBoxResize(target_size)