create LocalImageSet
create LocalImageSet
array of ImageFeature
create DistributedImageSet
create DistributedImageSet
rdd of ImageFeature
Read images as Image Set if sc is defined, Read image as DistributedImageSet from local file system or HDFS if sc is null, Read image as LocalImageSet from local file system
Read images as Image Set if sc is defined, Read image as DistributedImageSet from local file system or HDFS if sc is null, Read image as LocalImageSet from local file system
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
SparkContext
A suggestion value of the minimal splitting number for input data.
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
ImageSet