OcrResult Classe

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.OcrResult

public class OcrResult

O modelo OcrResult.

Resumo do método

Modificador e tipo Método e descrição
String language()

Obtenha o valor do idioma.

String modelVersion()

Obtenha o valor de modelVersion.

String orientation()

Obtenha o valor de orientação.

List<OcrRegion> regions()

Obtenha o valor de regiões.

double textAngle()

Obtenha o valor textAngle.

OcrResult withLanguage(String language)

Defina o valor do idioma.

OcrResult withModelVersion(String modelVersion)

Defina o valor de modelVersion.

OcrResult withOrientation(String orientation)

Defina o valor de orientação.

OcrResult withRegions(List<OcrRegion> regions)

Defina o valor de regiões.

OcrResult withTextAngle(double textAngle)

Defina o valor textAngle.

Detalhes do método

language

public String language()

Obtenha o valor do idioma.

Returns:

o valor do idioma

modelVersion

public String modelVersion()

Obtenha o valor de modelVersion.

Returns:

o valor de modelVersion

orientation

public String orientation()

Obtenha o valor de orientação.

Returns:

o valor de orientação

regions

public List regions()

Obtenha o valor de regiões.

Returns:

o valor de regiões

textAngle

public double textAngle()

Obtenha o valor textAngle.

Returns:

o valor textAngle

withLanguage

public OcrResult withLanguage(String language)

Defina o valor do idioma.

Parameters:

language - o valor do idioma a ser definido

Returns:

o próprio objeto OcrResult.

withModelVersion

public OcrResult withModelVersion(String modelVersion)

Defina o valor de modelVersion.

Parameters:

modelVersion - o valor de modelVersion a ser definido

Returns:

o próprio objeto OcrResult.

withOrientation

public OcrResult withOrientation(String orientation)

Defina o valor de orientação.

Parameters:

orientation - o valor de orientação a ser definido

Returns:

o próprio objeto OcrResult.

withRegions

public OcrResult withRegions(List regions)

Defina o valor de regiões.

Parameters:

regions - o valor de regiões a ser definido

Returns:

o próprio objeto OcrResult.

withTextAngle

public OcrResult withTextAngle(double textAngle)

Defina o valor textAngle.

Parameters:

textAngle - o valor textAngle a ser definido

Returns:

o próprio objeto OcrResult.

Aplica-se a