public class DetectTextResult extends Object implements Serializable
Constructor and Description |
---|
DetectTextResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<TextDetection> |
getTextDetections()
An array of text that was detected in the input image.
|
int |
hashCode() |
void |
setTextDetections(Collection<TextDetection> textDetections)
An array of text that was detected in the input image.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectTextResult |
withTextDetections(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.
|
public 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(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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.