code: def filter_tag_det_res_only_clip(self, dt_boxes, image_shape):
      img_height, img_width = image_shape[0:2]
      dt_boxes_new = []
      for box in dt_boxes:
          box = self.clip_det_res(box, img_height, img_width)
          dt_boxes_new.append(box)
      dt_boxes = np.array(dt_boxes_new)
      return dt_boxes
  
file_path: PaddleOCR/tools/infer/predict_e2e.py
imports: import os
  import sys
  import cv2
  import numpy
  import time
  import sys
  import tools.infer.utility
  from ppocr.utils.logging import get_logger
  from ppocr.utils.utility import get_image_file_list, check_and_read
  from ppocr.data import create_operators, transform
  from ppocr.postprocess import build_post_process
label_desc: Use image node_id 3 for calling the TextE2E obj's underlying member method code with example usage: obj.filter_tag_det_res_only_clip(dt_boxes, image_shape) and returns: dt_boxes