Class OcrRegion
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.OcrRegion
-
public class OcrRegion extends Object
A region consists of multiple lines (e.g. a column of text in a multi-column document).
-
-
Constructor Summary
Constructors Constructor Description OcrRegion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
boundingBox()
Get the boundingBox value.List<OcrLine>
lines()
Get the lines value.OcrRegion
withBoundingBox(String boundingBox)
Set the boundingBox value.OcrRegion
withLines(List<OcrLine> lines)
Set the lines value.
-
-
-
Method Detail
-
boundingBox
public String boundingBox()
Get the boundingBox value.- Returns:
- the boundingBox value
-
withBoundingBox
public OcrRegion withBoundingBox(String boundingBox)
Set the boundingBox value.- Parameters:
boundingBox
- the boundingBox value to set- Returns:
- the OcrRegion object itself.
-
-