ReadResult Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ReadResult
- com.
public class ReadResult
Text extracted from a page in the input document.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
angle()
Get the angle value. |
double |
height()
Get the height value. |
String |
language()
Get the language value. |
List<Line> |
lines()
Get the lines value. |
int |
page()
Get the page value. |
Text |
unit()
Get the unit value. |
double |
width()
Get the width value. |
Read |
withAngle(double angle)
Set the angle value. |
Read |
withHeight(double height)
Set the height value. |
Read |
withLanguage(String language)
Set the language value. |
Read |
withLines(List<Line> lines)
Set the lines value. |
Read |
withPage(int page)
Set the page value. |
Read |
withUnit(TextRecognitionResultDimensionUnit unit)
Set the unit value. |
Read |
withWidth(double width)
Set the width value. |
Method Details
angle
public double angle()
Get the angle value.
Returns:
height
public double height()
Get the height value.
Returns:
language
public String language()
Get the language value.
Returns:
lines
public List
Get the lines value.
Returns:
page
public int page()
Get the page value.
Returns:
unit
public TextRecognitionResultDimensionUnit unit()
Get the unit value.
Returns:
width
public double width()
Get the width value.
Returns:
withAngle
public ReadResult withAngle(double angle)
Set the angle value.
Parameters:
Returns:
withHeight
public ReadResult withHeight(double height)
Set the height value.
Parameters:
Returns:
withLanguage
public ReadResult withLanguage(String language)
Set the language value.
Parameters:
Returns:
withLines
public ReadResult withLines(List
Set the lines value.
Parameters:
Returns:
withPage
public ReadResult withPage(int page)
Set the page value.
Parameters:
Returns:
withUnit
public ReadResult withUnit(TextRecognitionResultDimensionUnit unit)
Set the unit value.
Parameters:
Returns:
withWidth
public ReadResult withWidth(double width)
Set the width value.
Parameters:
Returns:
Applies to
Azure SDK for Java