Starts asynchronous detection of text in a stored video.
Amazon Rekognition Video can detect text in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and
the filename of the video. StartTextDetection returns a job identifier (JobId) which you use to get
the results of the operation. When text detection is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic
that you specify in NotificationChannel.
To get the results of the text detection operation, first check that the status value published to the Amazon SNS
topic is SUCCEEDED. if so, call GetTextDetection and pass the job identifier (JobId)
from the initial call to StartTextDetection.
example
Use a bare-bones client and the command you need to make an API call.
Starts asynchronous detection of text in a stored video.
Amazon Rekognition Video can detect text in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video.
StartTextDetection
returns a job identifier (JobId
) which you use to get the results of the operation. When text detection is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify inNotificationChannel
.To get the results of the text detection operation, first check that the status value published to the Amazon SNS topic is
SUCCEEDED
. if so, call GetTextDetection and pass the job identifier (JobId
) from the initial call toStartTextDetection
.Use a bare-bones client and the command you need to make an API call.
import { RekognitionClient, StartTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import // const { RekognitionClient, StartTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import const client = new RekognitionClient(config); const command = new StartTextDetectionCommand(input); const response = await client.send(command);
StartTextDetectionCommandInput for command's
input
shape.StartTextDetectionCommandOutput for command's
response
shape.config for RekognitionClient's
config
shape.