code: def random_select(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
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import cv2
  import random
label_desc: Use image node_id 4 for calling a global function with example usage: random_select(axis, max_size) and returns: xmin,  xmax