code: def _load_next(self):
      in_img = None
      # Skip input image if format isn't supported by OpenCV
      while in_img is None:
          filename = self.files[self.i]
          in_img = cv2.imread(os.path.join(images_dir, filename))
          self.i = (self.i + 1) % len(self.files)
      # Convert to rgb, to match dali channel order
      rgb = cv2.cvtColor(in_img, cv2.COLOR_BGR2RGB)
      return rgb
  
file_path: DALI/dali/test/python/operator_1/test_jpeg_compression_distortion.py
imports: from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  import nvidia.dali.types
  from random import shuffle
  import numpy
  from test_utils import as_array
  import os
  import cv2
label_desc: Use image node_id 2 for calling the InputImagesIter obj's underlying member method code with example usage: obj._load_next() and returns: rgb