Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Cell.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
Cell |
build() |
Cell.Builder |
columnIndex(Integer columnIndex)
The index of the cell inside the column.
|
Cell.Builder |
confidence(Float confidence)
The confidence score between 0 and 1.
|
Cell.Builder |
copy(Cell model) |
Cell.Builder |
rowIndex(Integer rowIndex)
The index of the cell inside the row.
|
Cell.Builder |
text(String text)
The text recognized in the cell.
|
Cell.Builder |
wordIndexes(List<Integer> wordIndexes)
The words detected in the cell.
|
public Cell.Builder text(String text)
The text recognized in the cell.
text
- the value to setpublic Cell.Builder rowIndex(Integer rowIndex)
The index of the cell inside the row.
rowIndex
- the value to setpublic Cell.Builder columnIndex(Integer columnIndex)
The index of the cell inside the column.
columnIndex
- the value to setpublic Cell.Builder confidence(Float confidence)
The confidence score between 0 and 1.
confidence
- the value to setpublic Cell.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public Cell.Builder wordIndexes(List<Integer> wordIndexes)
The words detected in the cell.
wordIndexes
- the value to setpublic Cell build()
public Cell.Builder copy(Cell model)
Copyright © 2016–2024. All rights reserved.