Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Line.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
Line |
build() |
Line.Builder |
confidence(Float confidence)
The confidence score between 0 and 1.
|
Line.Builder |
copy(Line model) |
Line.Builder |
text(String text)
The text recognized.
|
Line.Builder |
wordIndexes(List<Integer> wordIndexes)
The array of words.
|
public Line.Builder text(String text)
The text recognized.
text
- the value to setpublic Line.Builder confidence(Float confidence)
The confidence score between 0 and 1.
confidence
- the value to setpublic Line.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public Line.Builder wordIndexes(List<Integer> wordIndexes)
The array of words.
wordIndexes
- the value to setpublic Line build()
public Line.Builder copy(Line model)
Copyright © 2016–2024. All rights reserved.