ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


public abstract class ImageProperties

Represents the properties of an image object when being loaded to a TensorImage. See TensorImage.load(Bitmap). ImageProperties currently is only used with TensorBuffer.

Nested Classes

class ImageProperties.Builder Builder for ImageProperties

Public Constructors

Public Methods

static ImageProperties.Builder
abstract ColorSpaceType
abstract int
abstract int

Inherited Methods

Public Constructors

public ImageProperties ()

Public Methods

public static ImageProperties.Builder builder ()

public abstract ColorSpaceType getColorSpaceType ()

public abstract int getHeight ()

public abstract int getWidth ()