code: def __init__(self, img, gridSize=(512, 512), overlap=(24, 24)):
      self.clear()
      self.detimg = img
      self.gridSize = np.array(gridSize)
      self.overlap = np.array(overlap)
  
file_path: PaddleSeg/EISeg/eiseg/plugin/n2grid/grid.py
imports: import math
  import numpy
  from PIL import Image
label_desc: Use image node_id 1 to create a new Grids object  with example: obj = Grids(img, gridSize, overlap)