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
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import ast
  import base64
  import os
  import time
  from io import BytesIO
  import cv2
  import numpy
  from paddle.inference import Config
  from paddle.inference import create_predictor
  from PIL import Image
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import runnable
  from paddlehub.module.module import serving
  from paddlehub.utils.log import logger
label_desc: Use image node_id 8 for calling the ChineseTextDetectionDB obj's underlying member method code with example usage: obj.filter_tag_det_res_only_clip(dt_boxes, image_shape) and returns: dt_boxes