Read the directory of images into DataFrame from the local or remote source.
Read the directory of images into DataFrame from the local or remote source.
Directory to the input data files, the path can be comma separated paths as the list of inputs. Wildcards path are supported similarly to sc.binaryFiles(path).
SparkContext to be used.
Number of the DataFrame partitions, if omitted uses defaultParallelism instead
height after resize, by default is -1 which will not resize the image
width after resize, by default is -1 which will not resize the image
specifying the color type of a loaded image, same as in OpenCV.imread. By default is Imgcodecs.CV_LOAD_IMAGE_UNCHANGED
DataFrame with a single column "image" of images; see DLImageSchema.byteSchema for the details
Primary DataFrame-based image loading interface, defining API to read images into DataFrame.