code: def test_image_set_from_image_folder_with_sc(self):
      image_set = ImageSet.read(
          self.image_folder, sc=self.sc, with_label=True
      )
      label_map = image_set.label_map
      assert len(label_map) == 4
      imgs = image_set.get_image().collect()
      assert len(imgs) == 11
      labels = image_set.get_label().collect()
      labels = [l[0] for l in labels]
      assert len(labels) == 11
      assert len(set(labels)) == 4
  
imports: import pytest
  import cv2
  from bigdl.dllib.nncontext import *
  from bigdl.dllib.feature.image import *
label_desc: Use image node_id 13 for calling the Test_Image_Set obj's underlying member method code with example usage: obj.test_image_set_from_image_folder_with_sc() without return types