code: def to_tuple_if_list(self, obj):
      if isinstance(obj, list):
          return tuple(obj)
      return obj
  
file_path: PaddleOCR/ppocr/data/imaug/iaa_augment.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import imgaug
  import imgaug.augmenters
label_desc: Use image node_id 3 for calling the AugmenterBuilder obj's underlying member method code with example usage: obj.to_tuple_if_list(obj) and returns: obj, tuple