Rekognition and Textract
Amazon Rekognition for finding objects, people, text and unsafe content in images and video, content moderation with Amazon A2I, and Amazon Textract for extracting text and data from documents.
Amazon Rekognition
Amazon Rekognition finds objects, people, text and scenes in images and videos using machine learning.
- Facial analysis and facial search, for user verification and people counting.
- Create a database of "familiar faces" (a face collection), or compare against celebrities.
- Works on images and stored videos in S3, and on streaming video (for example from Kinesis Video Streams).
- Custom Labels: train it to recognise things specific to a business, such as its logo or products.
Use cases:
- labelling (tag photos with "beach", "car", "dog");
- content moderation;
- text detection (text in photos, such as street signs);
- face detection and analysis (age range, emotions…);
- face search and verification;
- celebrity recognition.
Updated since the slides
The slides list pathing (tracking people through a video, for example for sports game analysis). AWS ended support for Rekognition People Pathing on 31 October 2025, so it's no longer available.
Rekognition content moderation
- Detect content that is inappropriate, unwanted or offensive in images and videos.
- Used in social media, broadcast media, advertising and e-commerce to create a safer user experience.
- Set a minimum confidence threshold for the items that will be flagged: a higher threshold flags less, with fewer false alarms.
- Flag sensitive content for manual review in Amazon Augmented AI (A2I), which is built into Rekognition.
- Helps comply with regulations.
Amazon Textract
Amazon Textract automatically extracts text, handwriting and data from any scanned document using AI and ML.
- Extract data from forms and tables (key-value pairs like
Name: Jane Doe, table cells), not just raw text. - Read and process any type of document (PDFs, images…).
- Specialised analysis for invoices and receipts, identity documents (driving licences, passports) and mortgage loan packages.
- Queries: ask for a field in plain language ("What is the policy number?").
Use cases:
- financial services: invoices, financial reports;
- healthcare: medical records, insurance claims;
- public sector: tax forms, ID documents, passports.
Textract now also has Textract Insights, a generative AI capability that turns mixed documents into structured data in a customer-defined shape. It's newer than the course.
Real-world examples
- A photo-sharing app runs every upload through Rekognition moderation and sends borderline images to human reviewers in A2I.
- A bank uses Rekognition face comparison to check that a selfie matches the photo on an ID card during account opening.
- An insurer extracts claim numbers, dates and amounts from thousands of scanned claim forms a day with Textract.
Exam tips
- "Detect objects, scenes, faces, celebrities in images or video" → Rekognition.
- "Moderate user-generated images and videos" → Rekognition content moderation (+ A2I for human review).
- "Human review of low-confidence ML results" → Amazon Augmented AI (A2I).
- "Extract text and data from scanned forms, tables, invoices, IDs" → Textract.
Common traps
- "Textract for faces" or "Rekognition for invoice tables." Images and video → Rekognition; documents → Textract.
- "Lower the confidence threshold to reduce false positives." A lower threshold flags more; raise it to flag less.
Hands-on lab: label an image with Rekognition
Goal: see Rekognition labels and moderation results on your own image.
Costs money
Rekognition image analysis costs about $0.001 per image, so a few tests cost less than a cent. Use a Region where Rekognition is available, such as us-east-1.
Detect labels
Open Rekognition → Label detection (under Demos). Upload a photo, for example of your desk.
Read the results
Look at the labels ("Laptop", "Cup"…) and the confidence for each. Expand the Response to see the JSON the API returns.
Try moderation
Open Content moderation under Demos with the same photo. A normal photo returns no moderation labels.
Expected result: a list of labels with confidence scores, and an empty moderation result.
Clean up: nothing to delete; the demo doesn't store your image.
AWS documentation
Machine Learning
The AWS machine learning services for the exam, what each one does in one line, which are in scope, and how to pick one from a question's keywords.
Transcribe, Polly, Translate and Comprehend
Amazon Transcribe for speech to text, Amazon Polly for text to speech with lexicons and SSML, Amazon Translate, and Amazon Comprehend and Comprehend Medical for natural language processing.