View a markdown version of this page

ReadForMe - ReadForMe

ReadForMe

Publication date: January 25, 2022 (Diagram history)

This architecture shows how the ReadForMe web app uses the AWS Cloud to assist the visually impaired with hearing paper documents. With an event-driven serverless architecture and AI services, you can convert images of text into audio output.

ReadForMe

Architecture diagram showing the ReadForMe serverless application with Amazon Textract, Amazon Polly, and AWS Step Functions.

The following steps describe the architecture:

  1. AWS Amplify distributes the ReadForMe web app (HTML, JavaScript, and CSS) to end users' mobile devices.

  2. The Amazon Cognito identity pool grants temporary access to the Amazon Simple Storage Service bucket.

  3. The user uploads an image file to the Amazon S3 bucket by using the AWS SDK through the web app.

  4. The ReadForMe web app invokes the backend AI services by sending the Amazon S3 object key in the payload to Amazon API Gateway.

  5. API Gateway instantiates an AWS Step Functions workflow. The state machine orchestrates Amazon Textract, Amazon Comprehend, Amazon Translate, and Amazon Polly by using AWS Lambda functions.

  6. The Step Functions workflow creates an audio file as output and stores it in Amazon S3 in MP3 format.

  7. A pre-signed URL with the location of the audio file is sent back to the user's browser through API Gateway. The user's mobile device plays the audio file.

Further reading

For additional information, refer to the following resources:

Diagram history

To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.

ChangeDescriptionDate

Initial publication

Reference architecture diagram first published.

January 25, 2022

Note

To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.