public class TextDetectionResult
extends java.lang.Object
implements java.io.Serializable
Information about text detected in a video. Incudes the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
Constructor and Description |
---|
TextDetectionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
TextDetection |
getTextDetection()
Details about text detected in a video.
|
java.lang.Long |
getTimestamp()
The time, in milliseconds from the start of the video, that the text was
detected.
|
int |
hashCode() |
void |
setTextDetection(TextDetection textDetection)
Details about text detected in a video.
|
void |
setTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the text was
detected.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TextDetectionResult |
withTextDetection(TextDetection textDetection)
Details about text detected in a video.
|
TextDetectionResult |
withTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the text was
detected.
|
public java.lang.Long getTimestamp()
The time, in milliseconds from the start of the video, that the text was detected.
The time, in milliseconds from the start of the video, that the text was detected.
public void setTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the text was detected.
timestamp
- The time, in milliseconds from the start of the video, that the text was detected.
public TextDetectionResult withTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the text was detected.
Returns a reference to this object so that method calls can be chained together.
timestamp
- The time, in milliseconds from the start of the video, that the text was detected.
public TextDetection getTextDetection()
Details about text detected in a video.
Details about text detected in a video.
public void setTextDetection(TextDetection textDetection)
Details about text detected in a video.
textDetection
- Details about text detected in a video.
public TextDetectionResult withTextDetection(TextDetection textDetection)
Details about text detected in a video.
Returns a reference to this object so that method calls can be chained together.
textDetection
- Details about text detected in a video.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.