@classmethod<EOL><INDENT>def read(cls, path, sc=None, min_partitions=<NUM_LIT:1>, bigdl_type="<STR_LIT:float>"):<DEDENT>
return ImageFrame(jvalue=callBigDlFunc(bigdl_type, "<STR_LIT>", path, sc, min_partitions))<EOL>
Read images as Image Frame
if sc is defined, Read image as DistributedImageFrame from local file system or HDFS
if sc is null, Read image as LocalImageFrame from local file system
:param path path to read images
if sc is defined, path can be local or HDFS. Wildcard character are supported.
if sc is null, path is local directory/image file/image file with wildcard character
:param sc SparkContext
:param min_partitions A suggestion value of the minimal splitting number for input data.
:return ImageFrame