class_docstr: RandAugment wrapper to auto fit different img types 
code: def __call__(self, data):
      if np.random.rand() > self.prob:
          return data
      img = data["image"]
      if not isinstance(img, Image.Image):
          img = np.ascontiguousarray(img)
          img = Image.fromarray(img)
  
      if six.PY2:
          img = super(RandAugment, self).__call__(img)
      else:
          img = super().__call__(img)
  
      if isinstance(img, Image.Image):
          img = np.asarray(img)
      data["image"] = img
      return data
  
file_path: PaddleOCR/ppocr/data/imaug/randaugment.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from PIL import Image, ImageEnhance, ImageOps
  import numpy
  import random
  import six
label_desc: Use image node_id 2 for calling the RandAugment obj's underlying member method code with example usage: obj.__call__(data) and returns: data, data