code: def random_horizontal_flip(imgs):
      if random.random() < 0.5:
          for i in range(len(imgs)):
              imgs[i] = np.flip(imgs[i], axis=1).copy()
      return imgs
  
file_path: EasyOCR/trainer/craft/data/imgaug.py
imports: import random
  import cv2
  import numpy
  from PIL import Image
  from torchvision.transforms.functional import resized_crop, crop
  from torchvision.transforms import RandomResizedCrop, RandomCrop
  from torchvision.transforms import InterpolationMode
label_desc: Use image node_id 5 for calling a global function with example usage: random_horizontal_flip(imgs) and returns: imgs