Vision, text and speech service selection
Choose by input and output
Start with the task rather than the AI brand. A fictional warehouse wants searchable receipts, captions for training clips, translated product instructions and labels for photographs of boxes. Textract extracts printed or handwritten text and structured fields from supported documents; Rekognition analyzes supported images and videos for objects and scenes. Transcribe converts speech to text, Polly converts text to speech, Translate translates text, and Comprehend extracts NLP signals such as entities and sentiment. None of these outputs is guaranteed correct. Use non-personal synthetic inputs only in this chapter.
Select the contract and lifecycle
For receipts, compare DetectDocumentText with AnalyzeExpense: the former detects text, the latter returns expense-oriented fields. For captions choose batch or streaming Transcribe according to latency; AWS also announced a synchronous transcription API in November 2026. Verify media duration, language, Region and SDK support for the exact operation. Polly voice and engine support varies by language; it does not translate. For new search workloads AWS recommends Bedrock Managed Knowledge Base rather than Kendra, which entered maintenance on June 30, 2026 and closed to new customers July 30, 2026. Migration requires checking connector, filtering and feature gaps. Rekognition Streaming Video and Bulk Image Analysis features closed to new customers April 30, 2026; other features were not affected by that announcement. Do not equate feature availability with the entire service being discontinued.
A fictional extraction result
The JSON below is an application-normalized fixture, not an AWS response schema. The expected invoice total is 1200 cents; the candidate is 1200 with confidence 96 on a 0–100 scale. A different field or service may use another scale; normalize only after checking its contract. Preserve page, bounding box or time offsets when available so a reviewer can trace an error. For speech, compare a mock transcript with its reference words rather than asking whether it sounds plausible.
{ "expected": 1200, "amount": 1200, "confidence": 96, "currency": "USD", "line_items": [ 700, 500 ]}Compare alternatives
A fixed field extractor can be cheaper to validate than a free-form generative answer. Bedrock is useful when the task needs flexible reasoning or multimodal generation; validate its structure and factual grounding. A custom SageMaker model may help when specialized APIs fail on a domain and enough labeled data and operational capacity exist. Run the same held-out examples through all candidates, compare exact field accuracy, language slices, latency, cost and review burden, and prefer a deterministic parser for already structured input. For enterprise search evaluate permission-filtered retrieval, not just answer fluency.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Vision, text and speech service selection — knowledge check
Select specialized APIs, evaluate errors and constrain usage.
Which service best fits extracting structured expense fields from a fictional receipt?
What does Polly do?
What is the recommended starting point for new enterprise search after Kendra closure?
How should a fictional box photo be analyzed for object labels?
When is a deterministic parser a useful baseline?