你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
OcrRegion Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. OcrRegion
- com.
public class OcrRegion
A region consists of multiple lines (e.g. a column of text in a multi-column document).
Constructor Summary
Constructor | Description | |
---|---|---|
OcrRegion() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
boundingBox()
Get the bounding |
List<Ocr |
lines()
Get the lines value. |
Ocr |
withBoundingBox(String boundingBox)
Set the bounding |
Ocr |
withLines(List<OcrLine> lines)
Set the lines value. |
Methods inherited from java.lang.Object
Constructor Details
OcrRegion
public OcrRegion()
Method Details
boundingBox
public String boundingBox()
Get the boundingBox value.
Returns:
the boundingBox value
lines
public List
Get the lines value.
Returns:
the lines value
withBoundingBox
public OcrRegion withBoundingBox(String boundingBox)
Set the boundingBox value.
Parameters:
boundingBox
- the boundingBox value to set
Returns:
the OcrRegion object itself.
withLines
public OcrRegion withLines(List
Set the lines value.
Parameters:
lines
- the lines value to set
Returns:
the OcrRegion object itself.