Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Word.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
Word |
build() |
Word.Builder |
confidence(Float confidence)
the confidence score between 0 and 1.
|
Word.Builder |
copy(Word model) |
Word.Builder |
text(String text)
The string of text characters in the word.
|
public Word.Builder text(String text)
The string of text characters in the word.
text
- the value to setpublic Word.Builder confidence(Float confidence)
the confidence score between 0 and 1.
confidence
- the value to setpublic Word.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public Word build()
public Word.Builder copy(Word model)
Copyright © 2016–2024. All rights reserved.