Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Following you will find a brief of Textract

...

Dependencies:

Python 3.7

pip 19.03

Installing dependencies documentation requiredDocumentation :

https://serverfault.com/questions/918335/best-way-to-run-python-3-7-on-ubuntu-16-04-which-comes-with-python-3-5

https://docs.aws.amazon.com/cli/latest/userguide/install-linux.html#install-linux-pip


User configuration

Create an IAM user with the following permissions

  • AmazonTextractFullAccess
  • AmazonSQSFullAccess
  • Sufficient permissions to upload and read images from a bucket in S3

Documentation :

https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started_create-admin-group.html


  1. Install AWS CLI

This client is available in Linux, Windows, macOS, Virtualenv, Bundled Installer. We will test it in Ubuntu 16.04

https://docs.aws.amazon.com/cli/latest/userguide/install-linux.html#install-linux-pip

Verify that the AWS CLI installed correctly.

Image Modified

2. Configure AWS Cli

...

3. Test by executing a list operation



Related links:

https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Textract.TextractClient.html