code: def split_regions(self, axis):
      regions = []
      min_axis = 0
      for i in range(1, axis.shape[0]):
          if axis[i] != axis[i - 1] + 1:
              region = axis[min_axis:i]
              min_axis = i
              regions.append(region)
      return regions
  
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 5 for calling the EastRandomCropData obj's underlying member method code with example usage: obj.split_regions(axis) and returns: regions