Packages

object ImageAssembler extends DefaultParamsReadable[ImageAssembler] with Serializable

This is the companion object of ImageAssembler. Please refer to that class for the documentation.

Linear Supertypes
Serializable, Serializable, DefaultParamsReadable[ImageAssembler], MLReadable[ImageAssembler], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImageAssembler
  2. Serializable
  3. Serializable
  4. DefaultParamsReadable
  5. MLReadable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def load(path: String): ImageAssembler
    Definition Classes
    MLReadable
    Annotations
    @Since( "1.6.0" )
  13. def loadImagesAsBytes(spark: SparkSession, path: String): DataFrame

    Helper function that loads images from a path and returns them as raw bytes, instead of the default OpenCV compatible format.

    Helper function that loads images from a path and returns them as raw bytes, instead of the default OpenCV compatible format.

    Supported image types are JPEG, PNG, GIF, BMP (limited to images supported by stb_image.h).

    Multimodal inference with llama.cpp requires raw bytes as input.

    spark

    The SparkSession

    path

    The path to the images. Supported image types are JPEG, PNG, GIF, BMP.

    returns

    A dataframe with the images as raw bytes, as well as their metadata.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def read: MLReader[ImageAssembler]
    Definition Classes
    DefaultParamsReadable → MLReadable
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from DefaultParamsReadable[ImageAssembler]

Inherited from MLReadable[ImageAssembler]

Inherited from AnyRef

Inherited from Any

Ungrouped