AWSRekognitionImage Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSRekognitionModel.h


Provides the source image either as bytes or an S3 object.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

You may need to Base64-encode the image bytes depending on the language you are using and whether or not you are using the AWS SDK. For more information, see example4.

If you use the Amazon CLI to call Amazon Rekognition operations, passing image bytes using the Bytes property is not supported. You must first upload the image to an Amazon S3 bucket and then call the operation using the S3Object property.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see manage-access-resource-policies.


Blob of image bytes up to 5 MBs.

@property (nonatomic, strong) NSData *bytes

Declared In



Identifies an S3 object as the image source.

@property (nonatomic, strong) AWSRekognitionS3Object *s3Object

Declared In