DEV Community

Lester Sim
Lester Sim

Posted on • Updated on

Intro to AWS AI Services: Textract, Comprehend, Rekognition

Sharing these demos and compiled docs of AWS AI Services to help you visualize how these services work. These pre-built models will be beneficial for developers with no prior experience to machine learning as the models have been pre-trained. You will only need to call the API with the inputs to get the predicted results.

Text & Documents

Amazon Textract

Extract text from scanned documents using Optical Character Recognition (OCR).

Documents

Returns text, forms, tables and query responses.

Image description

Expenses

Extracts data from invoices/receipts eg. vendor name, invoice/receipt date, invoice/receipt number, item name, item price, item quantity, total amount

Image description

Amazon Comprehend

Extract entities, key phrases, language, personal identifiable information (PII), and sentiments from text.

Entities

Extract entities from text documents eg. people, places, locations.

Using AWS Console:
Image description
Using AWS API:
Image description

Key Phrases

Extract the key phrases (one or more words) from text documents.

Using AWS Console:
Image description
Using AWS API:
Image description

Sentiment

Predict the overall sentiment of the text - positive, negative, neutral, mixed.

Using AWS Console:
Image description

Using AWS API:
Image description

Language

Predict the dominant language of the entire text. Amazon Comprehend can recognize 100 languages.

Using AWS Console:
Image description

Using AWS API:
Image description

Personally Identifiable Information (PII)

List out entities in your input text that contain personal information eg. address, bank account number, or phone number.

Using AWS Console:
Image description

Using AWS API:
Image description

Vision

Amazon Rekognition

Analyze images and videos to identify objects, people, text, scenes, and activities.

Label Detection

Extract labels of objects, concepts, scenes, and actions in your images.

Image description

Facial Analysis

Detect faces and retrieve facial attributes in an image eg. facial expressions, accessories, facial features, etc.

Image description

Face Comparison

Compare faces within a set of images with multiple faces in them. Compares the largest face in the source image (reference face) with up to 100 faces detected in the target image (comparison faces), and generate a similarity score.

Image description

Sources:

Disclaimer: The opinions expressed here are my own and I'm not writing on behalf of AWS or Amazon.

Top comments (0)