Class TextDetectionResult
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.TextDetectionResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TextDetectionResult.Builder,TextDetectionResult>
@Generated("software.amazon.awssdk:codegen") public final class TextDetectionResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextDetectionResult.Builder,TextDetectionResult>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTextDetectionResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextDetectionResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TextDetectionResult.Builder>serializableBuilderClass()TextDetectiontextDetection()Details about text detected in a video.Longtimestamp()The time, in milliseconds from the start of the video, that the text was detected.TextDetectionResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
timestamp
public final Long timestamp()
The time, in milliseconds from the start of the video, that the text was detected. Note that
Timestampis not guaranteed to be accurate to the individual frame where the text first appears.- Returns:
- The time, in milliseconds from the start of the video, that the text was detected. Note that
Timestampis not guaranteed to be accurate to the individual frame where the text first appears.
-
textDetection
public final TextDetection textDetection()
Details about text detected in a video.
- Returns:
- Details about text detected in a video.
-
toBuilder
public TextDetectionResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TextDetectionResult.Builder,TextDetectionResult>
-
builder
public static TextDetectionResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends TextDetectionResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-