OcrResult Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. OcrResult
- com.
public class OcrResult
The OcrResult model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
language()
Get the language value. |
String |
modelVersion()
Get the modelVersion value. |
String |
orientation()
Get the orientation value. |
List<Ocr |
regions()
Get the regions value. |
double |
textAngle()
Get the textAngle value. |
Ocr |
withLanguage(String language)
Set the language value. |
Ocr |
withModelVersion(String modelVersion)
Set the modelVersion value. |
Ocr |
withOrientation(String orientation)
Set the orientation value. |
Ocr |
withRegions(List<OcrRegion> regions)
Set the regions value. |
Ocr |
withTextAngle(double textAngle)
Set the textAngle value. |
Method Details
language
public String language()
Get the language value.
Returns:
modelVersion
public String modelVersion()
Get the modelVersion value.
Returns:
orientation
public String orientation()
Get the orientation value.
Returns:
regions
public List
Get the regions value.
Returns:
textAngle
public double textAngle()
Get the textAngle value.
Returns:
withLanguage
public OcrResult withLanguage(String language)
Set the language value.
Parameters:
Returns:
withModelVersion
public OcrResult withModelVersion(String modelVersion)
Set the modelVersion value.
Parameters:
Returns:
withOrientation
public OcrResult withOrientation(String orientation)
Set the orientation value.
Parameters:
Returns:
withRegions
public OcrResult withRegions(List
Set the regions value.
Parameters:
Returns:
withTextAngle
public OcrResult withTextAngle(double textAngle)
Set the textAngle value.
Parameters:
Returns:
Applies to
Azure SDK for Java