code: def read_image_file(path):
      """
      Read image file into NDArray
      :param path: String
      :return: NDArray
      """
      print("Reading image from " + path)
      img = Image.open(path)
      nd_img = np.array(img)
      # print(nd_img.shape)
      return nd_img
  
file_path: analytics-zoo/pyzoo/zoo/examples/streaming/objectdetection/streaming_object_detection.py
imports: import argparse
  import cv2
  from pyspark.streaming import StreamingContext
  from PIL import Image
  from datetime import datetime
  from zoo.common.nncontext import *
  from zoo.models.image.objectdetection import *
label_desc: Use image node_id 1 for calling a global function with example usage: read_image_file(path) and returns: nd_img