code: def get_bbox_after_aug(aug_info, bbox, aug_threshold=0.3):
      if aug_info is None:
          return bbox
  
      cbox = aug_info["crop_box"]
      w = cbox[2] - cbox[0]
      h = cbox[3] - cbox[1]
  
      l = max(min(bbox[0], cbox[2]), cbox[0])
      r = max(min(bbox[2], cbox[2]), cbox[0])
      t = max(min(bbox[1], cbox[3]), cbox[1])
      b = max(min(bbox[3], cbox[3]), cbox[1])
  
      if (b - t) * (r - l) <= (bbox[3] - bbox[1]) * (
          bbox[2] - bbox[0]
      ) * aug_threshold:
          return None
      ret = [
          (l - cbox[0]) / w,
          (t - cbox[1]) / h,
          (r - cbox[0]) / w,
          (b - cbox[1]) / h,
      ]
  
      if aug_info["flip"]:
          ret = [1.0 - ret[2], ret[1], 1.0 - ret[0], ret[3]]
  
      pad_ratio = aug_info["pad_ratio"]
      ret = [
          ret[0] / pad_ratio[0],
          ret[1] / pad_ratio[1],
          ret[2] / pad_ratio[0],
          ret[3] / pad_ratio[1],
      ]
  
      return ret
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_bbox_after_aug(aug_info, bbox, aug_threshold) and returns: ret, bbox, None