ByteBufferMlImageBuilder

classe pública ByteBufferMlImageBuilder

Cria um MlImage com base em um ByteBuffer.

É possível transmitir ByteBuffer mutáveis ou imutáveis. No entanto, depois que ByteBuffer for transmitido, para manter a integridade dos dados, não modifique o conteúdo dele.

Use ByteBufferExtractor para receber ByteBuffer.

Construtores públicos

ByteBufferMlImageBuilder(byteBuffer ByteBuffer, largura int, altura int, int imageFormat)
Cria o builder com o ByteBuffer obrigatório e a imagem representada.

Métodos públicos

MlImage
build()
Cria uma instância de MlImage.
ByteBufferMlImageBuilder
setRotation(rotação completa)
Define o valor para MlImage.getRotation().

Métodos herdados