code: def test_get_pascal_image(self):
      image_path = os.path.join(self.resource_path, "pascal/000025.jpg")
      image_frame = NNImageReader.readImages(image_path, self.sc)
      assert image_frame.count() == 1
      assert type(image_frame).__name__ == "DataFrame"
      first_row = image_frame.take(1)[0][0]
      assert first_row[0].endswith("pascal/000025.jpg")
      assert first_row[1] == 375
      assert first_row[2] == 500
      assert first_row[3] == 3
      assert first_row[4] == 16
      assert len(first_row[5]) == 562500
  
file_path: analytics-zoo/pyzoo/test/zoo/pipeline/nnframes/test_nn_image_reader.py
imports: import os
  import pytest
  from bigdl.transform.vision.image import *
  from bigdl.util.common import *
  from pyspark.sql.types import *
  from zoo.common.nncontext import *
  from zoo.pipeline.nnframes import *
label_desc: Use image node_id 3 for calling the TestNNImageReader obj's underlying member method code with example usage: obj.test_get_pascal_image() without return types