code: def _extract_images(images_zip_path, scratch_dir):
      tmp_dir = os.path.join(scratch_dir, "images")
      images_dir = os.path.join(tmp_dir, "leftImg8bit")
  
      if not os.path.isdir(images_dir):
          logger.info("Extracting images...")
          etau.extract_zip(
              images_zip_path, outdir=tmp_dir, delete_zip=False
          )
  
      return images_dir
  
imports: import logging
  import os
  import eta.core.serial
  import eta.core.utils
  import fiftyone.core.dataset
  import fiftyone.core.fields
  import fiftyone.core.labels
  import fiftyone.core.media
  import fiftyone.core.sample
  import fiftyone.core.utils
  import fiftyone.utils.data
  import fiftyone.types
label_desc: Use image node_id 6 for calling a global function with example usage: _extract_images(images_zip_path, scratch_dir) and returns: images_dir