Object

com.microsoft.ml.spark

ImageReader

Related Doc: package spark

Permalink

object ImageReader

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImageReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object OpenCVLoader

    Permalink

    This object will load the openCV binaries when the object is referenced for the first time, subsequent references will not re-load the binaries.

    This object will load the openCV binaries when the object is referenced for the first time, subsequent references will not re-load the binaries. In spark, this loads one copy for each running jvm, instead of once per partition. This technique is similar to that used by the cntk_jni jar, but in the case where microsoft cannot edit the jar

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def decode(filename: Option[String], bytes: Array[Byte]): Option[Row]

    Permalink
  8. def decode(filename: String, bytes: Array[Byte]): Option[Row]

    Permalink
  9. def decode(img: BufferedImage): Option[Row]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def read(path: String, recursive: Boolean, spark: SparkSession, sampleRatio: Double = 1, inspectZip: Boolean = true, seed: Long = 0L): DataFrame

    Permalink

    Read the directory of images from the local or remote source

    Read the directory of images from the local or remote source

    path

    Path to the image directory

    recursive

    Recursive search flag

    returns

    DataFrame with a single column of "images", see "columnSchema" for details

  20. def readFromBytes(df: DataFrame, pathCol: String, bytesCol: String, imageCol: String = "image"): DataFrame

    Permalink
  21. def readFromPaths(df: DataFrame, pathCol: String, imageCol: String = "image"): DataFrame

    Permalink
  22. def readFromStrings(df: DataFrame, bytesCol: String, imageCol: String = "image", dropPrefix: Boolean = false): DataFrame

    Permalink
  23. def stream(path: String, spark: SparkSession, sampleRatio: Double = 1, inspectZip: Boolean = true, seed: Long = 0L): DataFrame

    Permalink

    Read the directory of image files from the local or remote source

    Read the directory of image files from the local or remote source

    path

    Path to the directory

    returns

    DataFrame with a single column of "imageFiles", see "columnSchema" for details

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Members