In this tutorial a user is configured with the required permissions to run the Amazon AWS Rekognition service (detect-text, specifically) on two images from the command line.
We then briefly review the results returned by the Rekognition web service.
Technical details include the following:
aws –version
aws-cli/1.16.72 Python/3.6.0 Windows/7 botocore/1.12.62
IAM User Permissions Required:
– AmazonS3ReadOnlyAccess
– AmazonRekognitionFullAccess
Command Executed (I can’t include angled brackets here so consult with the AWS Rekognition docs for an example of the jsonPathToS3Object value):
aws rekognition detect-text –image jsonPathToS3Object –region us-east-1 –profile yourIAMUserName
You need to have yourIAMUserName in the ~/.aws/credentials file as follows:
[yourIAMUserName]
aws_access_key_id=// availableWhenTheUserIsCreated
aws_secret_access_key=// availableWhenTheUserIsCreated
See also:
[1] AWS Rekognition, https://console.aws.amazon.com/rekognition/
Feel free to connect with me on LinkedIn:
Visit my company website here:

#cloud
Comments