public class DetectTextResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DetectTextResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<TextDetection> |
getTextDetections()
An array of text that was detected in the input image.
|
java.lang.String |
getTextModelVersion()
The model version used to detect text.
|
int |
hashCode() |
void |
setTextDetections(java.util.Collection<TextDetection> textDetections)
An array of text that was detected in the input image.
|
void |
setTextModelVersion(java.lang.String textModelVersion)
The model version used to detect text.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectTextResult |
withTextDetections(java.util.Collection<TextDetection> textDetections)
An array of text that was detected in the input image.
|
DetectTextResult |
withTextDetections(TextDetection... textDetections)
An array of text that was detected in the input image.
|
DetectTextResult |
withTextModelVersion(java.lang.String textModelVersion)
The model version used to detect text.
|
public java.util.List<TextDetection> getTextDetections()
An array of text that was detected in the input image.
An array of text that was detected in the input image.
public void setTextDetections(java.util.Collection<TextDetection> textDetections)
An array of text that was detected in the input image.
textDetections - An array of text that was detected in the input image.
public DetectTextResult withTextDetections(TextDetection... textDetections)
An array of text that was detected in the input image.
Returns a reference to this object so that method calls can be chained together.
textDetections - An array of text that was detected in the input image.
public DetectTextResult withTextDetections(java.util.Collection<TextDetection> textDetections)
An array of text that was detected in the input image.
Returns a reference to this object so that method calls can be chained together.
textDetections - An array of text that was detected in the input image.
public java.lang.String getTextModelVersion()
The model version used to detect text.
The model version used to detect text.
public void setTextModelVersion(java.lang.String textModelVersion)
The model version used to detect text.
textModelVersion - The model version used to detect text.
public DetectTextResult withTextModelVersion(java.lang.String textModelVersion)
The model version used to detect text.
Returns a reference to this object so that method calls can be chained together.
textModelVersion - The model version used to detect text.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.