Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand


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 ()