aws rekognition detect-labels --image '{"S3Object":{"Bucket":"my-bucket","Name":"photo.jpg"}}' --max-labels 10
Topics
58
Amazon API Gateway
Amazon Athena
Amazon CloudFront & Content Delivery
Amazon DynamoDB
Amazon ECS (Elastic Container Service)
Amazon EFS (Elastic File System)
Amazon EKS (Elastic Kubernetes Service)
Amazon ElastiCache (Redis & Memcached)
Amazon EventBridge
Amazon Kinesis & Data Streaming
Amazon QuickSight & Business Intelligence
Amazon Redshift & Data Warehousing
Amazon Route 53 & DNS Management
Amazon SageMaker & Machine Learning on AWS
Amazon SNS (Simple Notification Service)
Amazon SQS (Simple Queue Service)
Auto Scaling Groups
AWS AI Services (Rekognition, Polly, Lex & Comprehend)
AWS Backup & Disaster Recovery
AWS Batch
AWS Certificate Manager (ACM)
AWS Certification Paths & Career Roadmap
AWS CLI & SDKs
AWS CloudTrail & Auditing
AWS CodePipeline, CodeBuild & CodeDeploy (CI/CD)
AWS Config
AWS Cost Management & Billing
AWS Database Migration Service & Application Migration
AWS Direct Connect & Hybrid Connectivity
AWS Elastic Beanstalk
AWS Fargate
AWS Free Tier & Account Setup
AWS Global Infrastructure (Regions, AZs & Edge Locations)
AWS Glue & ETL
AWS KMS & Data Encryption
AWS Organizations & Multi Account Strategy
AWS Outposts & Hybrid Cloud
AWS Secrets Manager & Parameter Store
AWS Security Hub & GuardDuty
AWS Serverless Application Model (SAM)
AWS Step Functions
AWS Storage Gateway
AWS Systems Manager
AWS Trusted Advisor
AWS WAF & Shield
Core Services Overview
EC2 & Compute
Elastic Container Registry (ECR)
Elastic Load Balancing (ALB, NLB & CLB)
IaC (CloudFormation)
IAM
Lambda & Serverless
Monitoring (CloudWatch)
RDS & Databases
S3 & Storage
Tagging Strategies & Resource Management
VPC & Networking
Well-Architected Framework
AWS AI Services (Rekognition, Polly, Lex & Comprehend)
7 questions found
Amazon Rekognition is a fully managed computer vision service that can analyze images and videos to detect objects, scenes, faces, and text, and it can also perform tasks such as facial comparison, content moderation to flag inappropriate images, and celebrity recognition, all through a simple API call without requiring you to build or train your own computer vision models.
Real-world example
A social media platform uses Rekognition to automatically scan uploaded images for inappropriate content, flagging anything that violates community guidelines before it becomes publicly visible to other users.
S3 & Storage;IAM
Amazon Polly is a text to speech service that uses advanced deep learning technology to turn written text into lifelike spoken audio in dozens of languages and voices, letting developers add voice capabilities such as reading articles aloud or providing voice responses in an application without needing any expertise in speech synthesis.
aws polly synthesize-speech --text 'Welcome to our application' --output-format mp3 --voice-id Joanna output.mp3
Real-world example
A news application uses Polly to automatically generate an audio version of every published article, allowing users to listen to the news during their commute instead of only reading it on screen.
Amazon SageMaker & Machine Learning on AWS;S3 & Storage
Amazon Lex is a service for building conversational interfaces, such as chatbots and voice assistants, using the same natural language understanding and automatic speech recognition technology that powers Amazon Alexa, letting you define intents representing what a user wants to accomplish, along with sample phrases and slots for capturing specific pieces of information needed to fulfill that intent.
aws lexv2-models create-intent --bot-id abc123 --bot-version DRAFT --locale-id en_US --intent-name BookFlight --sample-utterances '[{"utterance":"I want to book a flight"}]'
Real-world example
An airline builds a Lex based chatbot that understands when a customer says they want to book a flight, then guides the conversation to collect the departure city, destination, and travel date needed to complete the booking.
Lambda & Serverless;Amazon API Gateway
Amazon Comprehend is a natural language processing service that uses machine learning to extract insights from text, including identifying the overall sentiment of a piece of text, recognizing key phrases and named entities such as people or organizations, detecting the dominant language, and even identifying custom entities or classifications specific to your own business when trained with your own labeled examples.
aws comprehend detect-sentiment --text 'The customer service was excellent' --language-code en
Real-world example
A customer support platform runs every incoming support ticket through Comprehend to automatically detect sentiment, allowing frustrated or negative tickets to be prioritized and routed to senior support agents immediately.
Amazon SageMaker & Machine Learning on AWS;AWS Glue & ETL
How can these AI services, such as Rekognition and Comprehend, be combined into a single automated workflow?
IntermediateThese AI services are commonly combined using event driven architectures, such as triggering a Lambda function whenever a new file is uploaded to S3, which then calls Rekognition to analyze an image or Comprehend to analyze a document's text, and the extracted insights can then be stored in a database, trigger further workflow steps through Step Functions, or generate notifications through SNS, all without requiring any dedicated machine learning infrastructure.
// Lambda function triggered by S3 upload
// calls Rekognition then stores results in DynamoDB
response = rekognition.detect_labels(image_s3_object)
dynamodb.put_item(response)
Real-world example
An insurance company automatically analyzes photos submitted with a claim using Rekognition to detect vehicle damage, then uses Comprehend to analyze the accompanying written description for sentiment and key details, combining both results to help prioritize urgent claims.
AWS Step Functions;Lambda & Serverless
How do you train a custom model in Amazon Rekognition Custom Labels or Comprehend Custom Classification for domain specific needs?
AdvancedBoth Rekognition Custom Labels and Comprehend Custom Classification let you provide your own labeled training examples, such as images tagged with specific product defect types or text documents tagged with custom business categories, and the service automatically handles the underlying machine learning training process, producing a custom model you can then use through the same simple API pattern as the built in features, without requiring deep machine learning expertise.
aws rekognition create-project-version --project-arn arn:aws:rekognition:us-east-1:123456789012:project/defect-detection --version-name v1 --output-config S3Bucket=my-bucket
Real-world example
A manufacturing company trains a Rekognition Custom Labels model using thousands of labeled photos of both defective and acceptable parts from its own assembly line, achieving accurate defect detection specific to its unique products that a generic model could never provide.
Amazon SageMaker & Machine Learning on AWS;AWS Cost Management & Billing
What security and privacy considerations should be addressed when using AI services that process sensitive text, images, or voice data?
AdvancedWhen using services like Rekognition, Comprehend, or Lex to process sensitive data such as customer faces, personal conversations, or confidential documents, it is important to encrypt data both in transit and at rest, apply strict IAM policies limiting which roles can invoke these services, consider whether data should be processed within a VPC using interface endpoints to avoid traversing the public internet, and review each service's data retention and usage policies to ensure compliance with relevant privacy regulations.
aws comprehend detect-pii-entities --text 'Customer John Smith called about invoice 12345' --language-code en
Real-world example
A healthcare provider uses Comprehend Medical alongside strict IAM policies and VPC endpoints to detect and redact personally identifiable information from patient notes before that data is shared with any downstream analytics system.
IAM;VPC & Networking