code: def cutout_func(img, pad_size, replace=(0, 0, 0)):
      replace = np.array(replace, dtype=np.uint8)
      H, W = img.shape[0], img.shape[1]
      rh, rw = np.random.random(2)
      pad_size = pad_size // 2
      ch, cw = int(rh * H), int(rw * W)
      x1, x2 = max(ch - pad_size, 0), min(ch + pad_size, H)
      y1, y2 = max(cw - pad_size, 0), min(cw + pad_size, W)
      out = img.copy()
      out[x1:x2, y1:y2, :] = replace
      return out
  
imports: import cv2
  import numpy
label_desc: Use image node_id 15 for calling a global function with example usage: cutout_func(img, pad_size, replace) and returns: out