code: def is_poly_in_rect(self, poly, x, y, w, h):
      poly = np.array(poly)
      if poly[:, 0].min() < x or poly[:, 0].max() > x + w:
          return False
      if poly[:, 1].min() < y or poly[:, 1].max() > y + h:
          return False
      return True
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/data_loader/modules/random_crop_data.py
imports: import random
  import cv2
  import numpy
label_desc: Use image node_id 3 for calling the EastRandomCropData obj's underlying member method code with example usage: obj.is_poly_in_rect(poly, x, y, w, h) and returns: True, False, False