code: def filter_tag_det_res(self, dt_boxes, image_shape):
      img_height, img_width = image_shape[0:2]
      dt_boxes_new = []
      for box in dt_boxes:
          box = self.order_points_clockwise(box)
          box = self.clip_det_res(box, img_height, img_width)
          rect_width = int(np.linalg.norm(box[0] - box[1]))
          rect_height = int(np.linalg.norm(box[0] - box[3]))
          if rect_width <= 3 or rect_height <= 3:
              continue
          dt_boxes_new.append(box)
      dt_boxes = np.array(dt_boxes_new)
      return dt_boxes
  
imports: import os
  import yaml
  import glob
  from functools import reduce
  import time
  import cv2
  import numpy
  import math
  import paddle
  import sys
  from python.infer import get_test_images
  from python.preprocess import preprocess, NormalizeImage, Permute, Resize_Mult32
  from pipeline.ppvehicle.vehicle_plateutils import create_predictor, get_infer_gpuid, get_rotate_crop_image, draw_boxes
  from pipeline.ppvehicle.vehicleplate_postprocess import build_post_process
  from pipeline.cfg_utils import merge_cfg, print_arguments, argsparser
label_desc: Use image node_id 5 for calling the PlateDetector obj's underlying member method code with example usage: obj.filter_tag_det_res(dt_boxes, image_shape) and returns: dt_boxes