code: def image_frame(cls, image_frame, bigdl_type="float"):
      jvalue = callBigDlFunc(
          bigdl_type, "createDatasetFromImageFrame", image_frame
      )
      return DataSet(jvalue=jvalue, image_frame=image_frame)
  
file_path: BigDL/python/dllib/src/bigdl/dllib/feature/dataset/dataset.py
imports: import sys
  from bigdl.dllib.utils.common import JavaValue
  from bigdl.dllib.utils.common import callBigDlFunc
  from bigdl.dllib.utils.common import *
  from bigdl.dllib.feature.transform.vision.image import *
label_desc: Use image node_id 2 for calling the DataSet obj's underlying member method code with example usage: obj.image_frame(cls, image_frame, bigdl_type) and returns: DataSet