Processing images in bulk
Note
Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see Amazon Rekognition feature availability changes.
This change does not impact the availability of other Amazon Rekognition features.
You can start a new bulk analysis job by submitting a manifest file and calling the StartMediaAnalysisJob operation. The input manifest file contains references to images in an Amazon S3 bucket and it is formatted as follows:
{"source-ref": "s3://foo/bar/1.jpg"}
To create a bulk analysis job (CLI)
-
If you haven't already:
-
Create or update a user with
AmazonRekognitionFullAccessandAmazonS3ReadOnlyAccesspermissions. For more information, see Step 1: Set up an AWS account and create a User. -
Install and configure the AWS CLI and the AWS SDKs. For more information, see Step 2: Set up the AWS CLI and AWS SDKs.
-
-
Upload images to your S3 bucket.
For instructions, see Uploading Objects into Amazon S3 in the Amazon Simple Storage Service User Guide.
-
Use the following commands to create and retrieve bulk analysis jobs.