class_docstr: dataset Augmentation for SiamRPN tracking.
  
  Parameters
  ----------
  shift : int
      length of template augmentation shift
  scale : float
      template augmentation scale ratio
  blur : float
      template augmentation blur ratio
  flip : float
      template augmentation flip ratio
  color : float
      template augmentation color ratio
class_docstr_tok: ["dataset","Augmentation","for","SiamRPN","tracking",".","Parameters","--","--","--","--","--","shift",":","int","length","of","template","augmentation","shift","scale",":","float","template","augmentation","scale","ratio","blur",":","float","template","augmentation","blur","ratio","flip",":","float","template","augmentation","flip","ratio","color",":","float","template","augmentation","color","ratio"]
code: def __call__(self, image, bbox, size, gray=False):
      shape = image.shape
      crop_bbox = center2corner(
          Center(shape[0] // 2, shape[1] // 2, size - 1, size - 1)
      )
      # gray augmentation
      if gray:
          image = self._gray_aug(image)
  
      # shift scale augmentation
      image, bbox = self._shift_scale_aug(image, bbox, crop_bbox, size)
  
      # color augmentation
      if self.color > np.random.random():
          image = self._color_aug(image)
  
      # blur augmentation
      if self.blur > np.random.random():
          image = self._blur_aug(image)
  
      # flip augmentation
      if self.flip and self.flip > np.random.random():
          image, bbox = self._flip_aug(image, bbox)
      return image, bbox
  
file_path: gluon-cv/gluoncv/data/transforms/track.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  from gluoncv.utils.filesystem import try_import_cv2
  from gluoncv.model_zoo.siamrpn.siamrpn_tracker import corner2center, center2corner
  from gluoncv.model_zoo.siamrpn.siamrpn_tracker import Center, Corner
label_desc: Use image node_id 9 for calling the SiamRPNaugmentation obj's underlying member method code with example usage: obj.__call__(image, bbox, size, gray) and returns: image,  bbox