code: def random_select(self, axis, max_size):
      xx = np.random.choice(axis, size=2)
      xmin = np.min(xx)
      xmax = np.max(xx)
      xmin = np.clip(xmin, 0, max_size - 1)
      xmax = np.clip(xmax, 0, max_size - 1)
      return xmin, xmax
  
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 6 for calling the EastRandomCropData obj's underlying member method code with example usage: obj.random_select(axis, max_size) and returns: xmin,  xmax