code: def region_wise_random_select(self, regions, max_size):
      selected_index = list(np.random.choice(len(regions), 2))
      selected_values = []
      for index in selected_index:
          axis = regions[index]
          xx = int(np.random.choice(axis, size=1))
          selected_values.append(xx)
      xmin = min(selected_values)
      xmax = max(selected_values)
      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 7 for calling the EastRandomCropData obj's underlying member method code with example usage: obj.region_wise_random_select(regions, max_size) and returns: xmin,  xmax