SlideShare a Scribd company logo
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sunil Mallya, Startup Solutions Architect
January 19, 2017
Amazon Rekogition
Building a personal image search engine
Images – explosive growth trends
Source: InfoTrends Worldwide Consumer Photos Captured and Stored.
2013 -2017 prepared for Mylio.
Amazon Rekognition
Deep learning-based image recognition service
Search, verify, and organize millions of images
Object and Scene
Detection
Facial
Analysis
Face
Comparison
Facial
Recognition
Amazon Rekognition API
DetectLabels
Object and Scene Detection
Detect objects, scenes, and concepts in images
Amazon Rekognition API
DetectLabels
{
"Confidence": 94.62968444824219,
"Name": "adventure"
},
{
"Confidence": 94.62968444824219,
"Name": "boat"
},
{
"Confidence": 94.62968444824219,
"Name": "rafting"
},
. . .
Object and Scene Detection
Flower
ChairCoffee Table
Living Room
Indoors
Object and Scene Detection
Maple
Villa
Plant
Garden
Water
Swimming Pool
Tree
Potted Plant
Backyard
Using Rekognition Object and Scene Detection
 Photo-sharing apps can power smart searches and
quickly find cherished memories, such as weddings,
hiking, or sunsets.
 Vacation rental markets can automatically label host-
uploaded images with tags, such as fireplace, kitchen,
or swimming pool.
 Travel sites and forums can classify user generated
images with labels such as beach, camping, or
mountains.
Amazon Rekognition API
Facial Analysis
Detect face and key facial characteristics
DetectFaces
Amazon Rekognition API
[
{
"BoundingBox": {
"Height": 0.3449999988079071,
"Left": 0.09666666388511658,
"Top": 0.27166667580604553,
"Width": 0.23000000417232513
},
"Confidence": 100,
"Emotions": [
{"Confidence": 99.1335220336914,
"Type": "HAPPY" },
{"Confidence": 3.3275485038757324,
"Type": "CALM"},
{"Confidence": 0.31517744064331055,
"Type": "SAD"}
],
"Eyeglasses": {"Confidence": 99.8050537109375,
"Value": false},
"EyesOpen": {Confidence": 99.99979400634766,
"Value": true},
"Gender": {"Confidence": 100,
"Value": "Female”}
DetectFaces
Demographic Data
Facial Landmarks
Sentiment Expressed
Image Quality
Facial Analysis
General Attributes
Demographic Data
Facial Landmarks
Sentiment Expressed
Image Quality
Facial Analysis
Brightness: 25.84
Sharpness: 160
General Attributes
Using Rekognition Facial Analysis
 Photo printing service can recommend the best
photos to their users
 Online dating applications can improve their match
recommendations using face attributes
 Retail businesses can understand the demographics
and sentiment of in-store customers
 Ad-tech services can display dynamic and
personalized content to customers
Facial Analysis - Use Case
(Retail – In-store and Online)
Demographic and Sentiment Analysis
Female
Happy
Smiling
Male
No Facial Hair
Happy
Female
Sad
No Eyeglasses
Look Your Best All Day
Time for A New Look?
Facial Analysis - Use Case
(Targeted Marketing)
Demographic and Sentiment Analysis
PersonAPersonB
Sees
Sees
CompareFaces
Amazon Rekognition API
Face Comparison
Face-based user verification
Amazon Rekognition API
CompareFaces
{
"FaceMatches": [
{"Face": {"BoundingBox": {
"Height": 0.2683333456516266,
"Left": 0.5099999904632568,
"Top": 0.1783333271741867,
"Width": 0.17888888716697693},
"Confidence": 99.99845123291016},
"Similarity": 96
},
{"Face": {"BoundingBox": {
"Height": 0.2383333295583725,
"Left": 0.6233333349227905,
"Top": 0.3016666769981384,
"Width": 0.15888889133930206},
"Confidence": 99.71249389648438},
"Similarity": 0
}
],
"SourceImageFace": {"BoundingBox": {
"Height": 0.23983436822891235,
"Left": 0.28333333134651184,
"Top": 0.351423978805542,
"Width": 0.1599999964237213},
"Confidence": 99.99344635009766}
}
Face Comparison
 IoT and camera manufacturers can integrate face-
based verification directly into their products
 Application of face comparison in locating person of
interest for Public Safety
 Hotels & hospitality businesses can provide seamless
access for guests and VIPs
 Online exams or polls can verify presence of registered
person by comparing against image captured by
webcam.
Using Rekognition Face Comparison
Amazon Rekognition API
Facial Recognition
Index and Search faces in a collection
Index
Search
Collection
IndexFaces
SearchFacesByImage
Amazon Rekognition API
f7a3a278-2a59-5102-a549-a12ab1a8cae8
&
v1
02e56305-1579-5b39-ba57-9afb0fd8782d
&
v2
Face ID & vector<float>Face
4c55926e-69b3-5c80-8c9b-78ea01d30690
&
v3transformed
stored
{
f7a3a278-2a59-5102-a549-a12ab1a8cae8,
02e56305-1579-5b39-ba57-9afb0fd8782d,
4c55926e-69b3-5c80-8c9b-78ea01d30690
}
IndexFaces Collection
Amazon Rekognition API
Face
{
f7a3a278-2a59-5102-a549-a12ab1a8cae8,
02e56305-1579-5b39-ba57-9afb0fd8782d,
4c55926e-69b3-5c80-8c9b-78ea01d30690
}
SearchFacesByImage
Collection
Nearest neighbor
search
Face ID
Facial Recognition
Using Facial Recognition
 Family photo sharing apps can use face recognition to
group all faces of the same person in a family
 Entertainment and news organizations can index decades
of archived images to find celebrities
 Secure campuses / workplaces can use face search to
ensure all personnel in their facilities are authorized to be
there
 Public safety teams can leverage face collections to
automate tracking of persons of interest
Now lets build something
Personal Photo Search Engine
Traditional Search Engine Basics
• Vector space model
• Cosine Similarity
q
documents and queries are represented as vectors
src: https://en.wikipedia.org/wiki/Vector_space_model
Document Representation
• Convert a document into a list of words or terms.
• But Images don’t have terms!
• Rekognition gives us labels with confidence
• This can be used as a proxy for terms and term
frequency
quick oak is called
Freq 4 2 1 1
The Oak is called the king
of trees.
The Oak quivers in the
breeze,
{
"Confidence":
94.62968444824219,
"Name": "adventure"
},
{
"Confidence":
94.62968444824219,
"Name": "boat"
},
{
"Confidence":
94.62968444824219,
"Name": "rafting"
},
. . .
TF-IDF: Term frequency, Inverse document frequency

Scikit-learn makes it easy
• Generate TF-IDF Model for documents
• Build the query as a document
• Find similar documents
vec = sklearn.feature_extraction.DictVectorizer()
counts = vec.fit_transform(d_index.values()).toarray()
transformer = sklearn.feature_extraction.text.TfidfTransformer(smooth_idf=True)
tfidf = transformer.fit_transform(counts)
from sklearn.metrics.pairwise import cosine_similarity
cosine_similarities = cosine_similarity(test, tfidf).flatten()
related_docs_indices = cosine_similarities.argsort()[:-100:-1] # TOP 100 results
test = np.zeros((tfidf[0].shape))
for word in query.split(‘ ‘):
idx = features.index(word)
test[0][idx] = 1
{
img1 : [{cat, 90}, {animal, 95} ..],
img2 : [{sea, 70}, {water, 91}..] …
}
Finally, Its time to code #realdeal
Amazon Rekognition – Availability and Pricing
1. Released General Availability
2. Available in 3 regions,
1. US East (N. Virginia)
2. US West (Oregon)
3. EU (Ireland)
3. Pricing
• Pay as you go
• Free Tier – 5000 images per month for first 12 months
• Tiered Pricing designed
Amazon Rekognition – Pricing Details
*Images processed: For APIs with image as input, it’s the number of images analyzed. For APIs with no image input 1 API call = 1 image processed.
Image Analysis Tiers
Price per 1000
images processed
First 1 million images processed* per month $1.00
Next 9 million images processed* per month $0.80
Next 90 million images processed* per month $0.60
Over 100 million images processed* per month $0.40
*Images processed: For APIs with image as input, it’s the number of images analyzed. For APIs with no image input 1 API call = 1 image processed.
Summary
1. Fully managed and easy-to-use image recognition service
2. Four primary capabilities
1. Object and Scene Detection
2. Facial Analysis
3. Face Comparison
4. Facial Recognition
3. Integrated with AWS and AI Services
• Amazon S3
• Lex and Polly
4. Scalable and low cost
Thank You!
smallya@amazon.com

More Related Content

Viewers also liked

NEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon Lex
NEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon LexNEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon Lex
NEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon Lex
Amazon Web Services
 
Incident Coordination Workshop
Incident Coordination WorkshopIncident Coordination Workshop
Incident Coordination Workshop
Amazon Web Services
 
AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)
AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)
AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)
Amazon Web Services
 
Artificial Intelligence in Fashion, Beauty and related Creative industries
Artificial Intelligence in Fashion, Beauty and related Creative industriesArtificial Intelligence in Fashion, Beauty and related Creative industries
Artificial Intelligence in Fashion, Beauty and related Creative industries
PetteriTeikariPhD
 
Artificial Intelligence for Visual Arts
Artificial Intelligence for Visual ArtsArtificial Intelligence for Visual Arts
Artificial Intelligence for Visual Arts
PetteriTeikariPhD
 
Medical ImageNet
Medical ImageNetMedical ImageNet
Medical ImageNet
PetteriTeikariPhD
 
Building a Machine Learning App with AWS Lambda
Building a Machine Learning App with AWS LambdaBuilding a Machine Learning App with AWS Lambda
Building a Machine Learning App with AWS Lambda
Sri Ambati
 
Shallow introduction for Deep Learning Retinal Image Analysis
Shallow introduction for Deep Learning Retinal Image AnalysisShallow introduction for Deep Learning Retinal Image Analysis
Shallow introduction for Deep Learning Retinal Image Analysis
PetteriTeikariPhD
 
Tensorflow in production with AWS Lambda
Tensorflow in production with AWS LambdaTensorflow in production with AWS Lambda
Tensorflow in production with AWS Lambda
Fabian Dubois
 
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech TalksAnnouncing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Amazon Web Services
 
Deep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applicationsDeep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applications
Buhwan Jeong
 
Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...
Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...
Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...
Amazon Web Services
 
スタートアップ支援 NVIDIA Inception プログラムのご紹介
スタートアップ支援 NVIDIA Inception プログラムのご紹介スタートアップ支援 NVIDIA Inception プログラムのご紹介
スタートアップ支援 NVIDIA Inception プログラムのご紹介
NVIDIA Japan
 
Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...
Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...
Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...
Amazon Web Services
 
Deep Learning through Examples
Deep Learning through ExamplesDeep Learning through Examples
Deep Learning through Examples
Sri Ambati
 

Viewers also liked (15)

NEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon Lex
NEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon LexNEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon Lex
NEW LAUNCH! Enhance Your Mobile Apps with AI Using Amazon Lex
 
Incident Coordination Workshop
Incident Coordination WorkshopIncident Coordination Workshop
Incident Coordination Workshop
 
AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)
AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)
AWS re:Invent 2016: Using MXNet for Recommendation Modeling at Scale (MAC306)
 
Artificial Intelligence in Fashion, Beauty and related Creative industries
Artificial Intelligence in Fashion, Beauty and related Creative industriesArtificial Intelligence in Fashion, Beauty and related Creative industries
Artificial Intelligence in Fashion, Beauty and related Creative industries
 
Artificial Intelligence for Visual Arts
Artificial Intelligence for Visual ArtsArtificial Intelligence for Visual Arts
Artificial Intelligence for Visual Arts
 
Medical ImageNet
Medical ImageNetMedical ImageNet
Medical ImageNet
 
Building a Machine Learning App with AWS Lambda
Building a Machine Learning App with AWS LambdaBuilding a Machine Learning App with AWS Lambda
Building a Machine Learning App with AWS Lambda
 
Shallow introduction for Deep Learning Retinal Image Analysis
Shallow introduction for Deep Learning Retinal Image AnalysisShallow introduction for Deep Learning Retinal Image Analysis
Shallow introduction for Deep Learning Retinal Image Analysis
 
Tensorflow in production with AWS Lambda
Tensorflow in production with AWS LambdaTensorflow in production with AWS Lambda
Tensorflow in production with AWS Lambda
 
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech TalksAnnouncing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
 
Deep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applicationsDeep learning - Conceptual understanding and applications
Deep learning - Conceptual understanding and applications
 
Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...
Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...
Introducing Amazon Lex – A Service for Building Voice or Text Chatbots - Marc...
 
スタートアップ支援 NVIDIA Inception プログラムのご紹介
スタートアップ支援 NVIDIA Inception プログラムのご紹介スタートアップ支援 NVIDIA Inception プログラムのご紹介
スタートアップ支援 NVIDIA Inception プログラムのご紹介
 
Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...
Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...
Optimizing the Data Tier for Serverless Web Applications - March 2017 Online ...
 
Deep Learning through Examples
Deep Learning through ExamplesDeep Learning through Examples
Deep Learning through Examples
 

Similar to Introduction to Amazon Rekogition

Amazon Rekognition
Amazon RekognitionAmazon Rekognition
Amazon Rekognition
Amazon Web Services
 
Deep learning-based image recognition: Intro to Amazon Rekognition
Deep learning-based image recognition: Intro to Amazon RekognitionDeep learning-based image recognition: Intro to Amazon Rekognition
Deep learning-based image recognition: Intro to Amazon Rekognition
Amazon Web Services
 
Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...
Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...
Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...
Amazon Web Services
 
Deep learning-based image recognition: Intro to Amazon Rekognition:
Deep learning-based image recognition: Intro to Amazon Rekognition: Deep learning-based image recognition: Intro to Amazon Rekognition:
Deep learning-based image recognition: Intro to Amazon Rekognition:
Amazon Web Services
 
Best practices for integrating amazon rekognition into your own applications
Best practices for integrating amazon rekognition into your own applicationsBest practices for integrating amazon rekognition into your own applications
Best practices for integrating amazon rekognition into your own applications
Amazon Web Services
 
Amazon Rekognition Best Practices - DevDay Austin 2017
Amazon Rekognition Best Practices - DevDay Austin 2017Amazon Rekognition Best Practices - DevDay Austin 2017
Amazon Rekognition Best Practices - DevDay Austin 2017Amazon Web Services
 
Deep Learning-based Image Recognition: Intro to Amazon Rekognition
Deep Learning-based Image Recognition: Intro to Amazon RekognitionDeep Learning-based Image Recognition: Intro to Amazon Rekognition
Deep Learning-based Image Recognition: Intro to Amazon Rekognition
Amazon Web Services
 
Best Practices for Integrating Amazon Rekognition into Your Own Applications ...
Best Practices for Integrating Amazon Rekognition into Your Own Applications ...Best Practices for Integrating Amazon Rekognition into Your Own Applications ...
Best Practices for Integrating Amazon Rekognition into Your Own Applications ...
Amazon Web Services
 
MCL334_Find Missing Persons by Scanning Social Media with Amazon Rekognition
MCL334_Find Missing Persons by Scanning Social Media with Amazon RekognitionMCL334_Find Missing Persons by Scanning Social Media with Amazon Rekognition
MCL334_Find Missing Persons by Scanning Social Media with Amazon Rekognition
Amazon Web Services
 
Build Computer Vision Applications with Amazon Rekognition and SageMaker
Build Computer Vision Applications with Amazon Rekognition and SageMakerBuild Computer Vision Applications with Amazon Rekognition and SageMaker
Build Computer Vision Applications with Amazon Rekognition and SageMaker
Sungmin Kim
 
Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...
Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...
Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...
Amazon Web Services
 
Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...
Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...
Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...
Amazon Web Services
 
Build Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon RekognitionBuild Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon Rekognition
Amazon Web Services
 
Harnessing Artificial Intelligence in your Applications - Level 300
Harnessing Artificial Intelligence in your Applications - Level 300Harnessing Artificial Intelligence in your Applications - Level 300
Harnessing Artificial Intelligence in your Applications - Level 300
Amazon Web Services
 
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)
Amazon Web Services
 
Build Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon RekognitionBuild Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon Rekognition
Amazon Web Services
 
Discover AI with Microsoft Azure
Discover AI with Microsoft AzureDiscover AI with Microsoft Azure
Discover AI with Microsoft Azure
Jürgen Ambrosi
 
Best practices for integrating Amazon Rekognition into your own application
Best practices for integrating Amazon Rekognition into your own applicationBest practices for integrating Amazon Rekognition into your own application
Best practices for integrating Amazon Rekognition into your own application
Amazon Web Services
 
Amazon Rekognition
Amazon RekognitionAmazon Rekognition
Amazon Rekognition
Neven Rakonić
 
FraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and HololensFraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and Hololens
Bruno Capuano
 

Similar to Introduction to Amazon Rekogition (20)

Amazon Rekognition
Amazon RekognitionAmazon Rekognition
Amazon Rekognition
 
Deep learning-based image recognition: Intro to Amazon Rekognition
Deep learning-based image recognition: Intro to Amazon RekognitionDeep learning-based image recognition: Intro to Amazon Rekognition
Deep learning-based image recognition: Intro to Amazon Rekognition
 
Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...
Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...
Intro to Amazon Lightsail and Launching Your First Application on Amazon Ligh...
 
Deep learning-based image recognition: Intro to Amazon Rekognition:
Deep learning-based image recognition: Intro to Amazon Rekognition: Deep learning-based image recognition: Intro to Amazon Rekognition:
Deep learning-based image recognition: Intro to Amazon Rekognition:
 
Best practices for integrating amazon rekognition into your own applications
Best practices for integrating amazon rekognition into your own applicationsBest practices for integrating amazon rekognition into your own applications
Best practices for integrating amazon rekognition into your own applications
 
Amazon Rekognition Best Practices - DevDay Austin 2017
Amazon Rekognition Best Practices - DevDay Austin 2017Amazon Rekognition Best Practices - DevDay Austin 2017
Amazon Rekognition Best Practices - DevDay Austin 2017
 
Deep Learning-based Image Recognition: Intro to Amazon Rekognition
Deep Learning-based Image Recognition: Intro to Amazon RekognitionDeep Learning-based Image Recognition: Intro to Amazon Rekognition
Deep Learning-based Image Recognition: Intro to Amazon Rekognition
 
Best Practices for Integrating Amazon Rekognition into Your Own Applications ...
Best Practices for Integrating Amazon Rekognition into Your Own Applications ...Best Practices for Integrating Amazon Rekognition into Your Own Applications ...
Best Practices for Integrating Amazon Rekognition into Your Own Applications ...
 
MCL334_Find Missing Persons by Scanning Social Media with Amazon Rekognition
MCL334_Find Missing Persons by Scanning Social Media with Amazon RekognitionMCL334_Find Missing Persons by Scanning Social Media with Amazon Rekognition
MCL334_Find Missing Persons by Scanning Social Media with Amazon Rekognition
 
Build Computer Vision Applications with Amazon Rekognition and SageMaker
Build Computer Vision Applications with Amazon Rekognition and SageMakerBuild Computer Vision Applications with Amazon Rekognition and SageMaker
Build Computer Vision Applications with Amazon Rekognition and SageMaker
 
Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...
Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...
Build Computer Vision Applications with Amazon Rekognition: Machine Learning ...
 
Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...
Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...
Announcing Amazon Rekognition - Deep Learning-Based Image Analysis - December...
 
Build Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon RekognitionBuild Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon Rekognition
 
Harnessing Artificial Intelligence in your Applications - Level 300
Harnessing Artificial Intelligence in your Applications - Level 300Harnessing Artificial Intelligence in your Applications - Level 300
Harnessing Artificial Intelligence in your Applications - Level 300
 
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Rekognition (MAC203)
 
Build Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon RekognitionBuild Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon Rekognition
 
Discover AI with Microsoft Azure
Discover AI with Microsoft AzureDiscover AI with Microsoft Azure
Discover AI with Microsoft Azure
 
Best practices for integrating Amazon Rekognition into your own application
Best practices for integrating Amazon Rekognition into your own applicationBest practices for integrating Amazon Rekognition into your own application
Best practices for integrating Amazon Rekognition into your own application
 
Amazon Rekognition
Amazon RekognitionAmazon Rekognition
Amazon Rekognition
 
FraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and HololensFraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and Hololens
 

Recently uploaded

María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
eCommerce Institute
 
Gregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptxGregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptx
gharris9
 
Tom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issueTom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issue
amekonnen
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
Vladimir Samoylov
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Sebastiano Panichella
 
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AwangAniqkmals
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
OECD Directorate for Financial and Enterprise Affairs
 
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Dutch Power
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
Faculty of Medicine And Health Sciences
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Sebastiano Panichella
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Matjaž Lipuš
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Access Innovations, Inc.
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
Howard Spence
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
Sebastiano Panichella
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
faizulhassanfaiz1670
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
khadija278284
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
IP ServerOne
 
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Dutch Power
 
Burning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdfBurning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdf
kkirkland2
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
OWASP Beja
 

Recently uploaded (20)

María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
 
Gregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptxGregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptx
 
Tom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issueTom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issue
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
 
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
 
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
 
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
 
Burning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdfBurning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdf
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
 

Introduction to Amazon Rekogition

  • 1. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Sunil Mallya, Startup Solutions Architect January 19, 2017 Amazon Rekogition Building a personal image search engine
  • 2. Images – explosive growth trends Source: InfoTrends Worldwide Consumer Photos Captured and Stored. 2013 -2017 prepared for Mylio.
  • 3. Amazon Rekognition Deep learning-based image recognition service Search, verify, and organize millions of images Object and Scene Detection Facial Analysis Face Comparison Facial Recognition
  • 4. Amazon Rekognition API DetectLabels Object and Scene Detection Detect objects, scenes, and concepts in images
  • 5. Amazon Rekognition API DetectLabels { "Confidence": 94.62968444824219, "Name": "adventure" }, { "Confidence": 94.62968444824219, "Name": "boat" }, { "Confidence": 94.62968444824219, "Name": "rafting" }, . . .
  • 6. Object and Scene Detection Flower ChairCoffee Table Living Room Indoors
  • 7. Object and Scene Detection Maple Villa Plant Garden Water Swimming Pool Tree Potted Plant Backyard
  • 8. Using Rekognition Object and Scene Detection  Photo-sharing apps can power smart searches and quickly find cherished memories, such as weddings, hiking, or sunsets.  Vacation rental markets can automatically label host- uploaded images with tags, such as fireplace, kitchen, or swimming pool.  Travel sites and forums can classify user generated images with labels such as beach, camping, or mountains.
  • 9. Amazon Rekognition API Facial Analysis Detect face and key facial characteristics DetectFaces
  • 10. Amazon Rekognition API [ { "BoundingBox": { "Height": 0.3449999988079071, "Left": 0.09666666388511658, "Top": 0.27166667580604553, "Width": 0.23000000417232513 }, "Confidence": 100, "Emotions": [ {"Confidence": 99.1335220336914, "Type": "HAPPY" }, {"Confidence": 3.3275485038757324, "Type": "CALM"}, {"Confidence": 0.31517744064331055, "Type": "SAD"} ], "Eyeglasses": {"Confidence": 99.8050537109375, "Value": false}, "EyesOpen": {Confidence": 99.99979400634766, "Value": true}, "Gender": {"Confidence": 100, "Value": "Female”} DetectFaces
  • 11. Demographic Data Facial Landmarks Sentiment Expressed Image Quality Facial Analysis General Attributes
  • 12. Demographic Data Facial Landmarks Sentiment Expressed Image Quality Facial Analysis Brightness: 25.84 Sharpness: 160 General Attributes
  • 13. Using Rekognition Facial Analysis  Photo printing service can recommend the best photos to their users  Online dating applications can improve their match recommendations using face attributes  Retail businesses can understand the demographics and sentiment of in-store customers  Ad-tech services can display dynamic and personalized content to customers
  • 14. Facial Analysis - Use Case (Retail – In-store and Online) Demographic and Sentiment Analysis Female Happy Smiling Male No Facial Hair Happy Female Sad No Eyeglasses
  • 15. Look Your Best All Day Time for A New Look? Facial Analysis - Use Case (Targeted Marketing) Demographic and Sentiment Analysis PersonAPersonB Sees Sees
  • 16. CompareFaces Amazon Rekognition API Face Comparison Face-based user verification
  • 17. Amazon Rekognition API CompareFaces { "FaceMatches": [ {"Face": {"BoundingBox": { "Height": 0.2683333456516266, "Left": 0.5099999904632568, "Top": 0.1783333271741867, "Width": 0.17888888716697693}, "Confidence": 99.99845123291016}, "Similarity": 96 }, {"Face": {"BoundingBox": { "Height": 0.2383333295583725, "Left": 0.6233333349227905, "Top": 0.3016666769981384, "Width": 0.15888889133930206}, "Confidence": 99.71249389648438}, "Similarity": 0 } ], "SourceImageFace": {"BoundingBox": { "Height": 0.23983436822891235, "Left": 0.28333333134651184, "Top": 0.351423978805542, "Width": 0.1599999964237213}, "Confidence": 99.99344635009766} }
  • 19.  IoT and camera manufacturers can integrate face- based verification directly into their products  Application of face comparison in locating person of interest for Public Safety  Hotels & hospitality businesses can provide seamless access for guests and VIPs  Online exams or polls can verify presence of registered person by comparing against image captured by webcam. Using Rekognition Face Comparison
  • 20. Amazon Rekognition API Facial Recognition Index and Search faces in a collection Index Search Collection IndexFaces SearchFacesByImage
  • 21. Amazon Rekognition API f7a3a278-2a59-5102-a549-a12ab1a8cae8 & v1 02e56305-1579-5b39-ba57-9afb0fd8782d & v2 Face ID & vector<float>Face 4c55926e-69b3-5c80-8c9b-78ea01d30690 & v3transformed stored { f7a3a278-2a59-5102-a549-a12ab1a8cae8, 02e56305-1579-5b39-ba57-9afb0fd8782d, 4c55926e-69b3-5c80-8c9b-78ea01d30690 } IndexFaces Collection
  • 24. Using Facial Recognition  Family photo sharing apps can use face recognition to group all faces of the same person in a family  Entertainment and news organizations can index decades of archived images to find celebrities  Secure campuses / workplaces can use face search to ensure all personnel in their facilities are authorized to be there  Public safety teams can leverage face collections to automate tracking of persons of interest
  • 25. Now lets build something
  • 27. Traditional Search Engine Basics • Vector space model • Cosine Similarity q documents and queries are represented as vectors src: https://en.wikipedia.org/wiki/Vector_space_model
  • 28. Document Representation • Convert a document into a list of words or terms. • But Images don’t have terms! • Rekognition gives us labels with confidence • This can be used as a proxy for terms and term frequency quick oak is called Freq 4 2 1 1 The Oak is called the king of trees. The Oak quivers in the breeze, { "Confidence": 94.62968444824219, "Name": "adventure" }, { "Confidence": 94.62968444824219, "Name": "boat" }, { "Confidence": 94.62968444824219, "Name": "rafting" }, . . .
  • 29. TF-IDF: Term frequency, Inverse document frequency 
  • 30. Scikit-learn makes it easy • Generate TF-IDF Model for documents • Build the query as a document • Find similar documents vec = sklearn.feature_extraction.DictVectorizer() counts = vec.fit_transform(d_index.values()).toarray() transformer = sklearn.feature_extraction.text.TfidfTransformer(smooth_idf=True) tfidf = transformer.fit_transform(counts) from sklearn.metrics.pairwise import cosine_similarity cosine_similarities = cosine_similarity(test, tfidf).flatten() related_docs_indices = cosine_similarities.argsort()[:-100:-1] # TOP 100 results test = np.zeros((tfidf[0].shape)) for word in query.split(‘ ‘): idx = features.index(word) test[0][idx] = 1 { img1 : [{cat, 90}, {animal, 95} ..], img2 : [{sea, 70}, {water, 91}..] … }
  • 31. Finally, Its time to code #realdeal
  • 32. Amazon Rekognition – Availability and Pricing 1. Released General Availability 2. Available in 3 regions, 1. US East (N. Virginia) 2. US West (Oregon) 3. EU (Ireland) 3. Pricing • Pay as you go • Free Tier – 5000 images per month for first 12 months • Tiered Pricing designed
  • 33. Amazon Rekognition – Pricing Details *Images processed: For APIs with image as input, it’s the number of images analyzed. For APIs with no image input 1 API call = 1 image processed. Image Analysis Tiers Price per 1000 images processed First 1 million images processed* per month $1.00 Next 9 million images processed* per month $0.80 Next 90 million images processed* per month $0.60 Over 100 million images processed* per month $0.40 *Images processed: For APIs with image as input, it’s the number of images analyzed. For APIs with no image input 1 API call = 1 image processed.
  • 34. Summary 1. Fully managed and easy-to-use image recognition service 2. Four primary capabilities 1. Object and Scene Detection 2. Facial Analysis 3. Face Comparison 4. Facial Recognition 3. Integrated with AWS and AI Services • Amazon S3 • Lex and Polly 4. Scalable and low cost

Editor's Notes

  1. In the last decade we have witnessed an explosion in the amount of images and video that are digitally available. “Smart Cities Will Use 1.6 Billion Connected Things in 2016” “In 2016, commercial security cameras, webcams, and indoor LEDs will drive total growth, representing 24 percent of the IoT market for smart cities.” - Gartner*, December 7, 2015 Rob van der Meulen & Viveca Woods
  2. Introducing Amazon Rekognition - a fully managed deep learning based image recognition service. Rekognition was designed from the get-go to run at scale. It comprehends scenes, objects, concepts and faces. Given an image, it will return a list of labels. Given an image with one or more faces,it will return bounding boxes for each face, along with face attributes. Given two images with faces, it will compare the largest face from the source image and find similarity with faces found in the tagret image. Rekognition provides quality face recognition at scale, and supports creation of collection of millions of faces and search of similar faces in the collection. Now lets dive into each of these features and look at the API that support these features.
  3. 11/22- Removed “thousands of “ Objects and Scene Detection - This features allows you to detect thousands of objects, scenes and concepts in your images. The API is DetectLabels.
  4. In its simplest form – DetectLabels takes an image as input and returns a set of labels with confidence score. Request { "Image": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } }, "MaxLabels": number, "MinConfidence": number } Response { "Labels": [ { "Confidence": number, "Name": "string" } ], "OrientationCorrection": "string" } In the preceding example, the operation returns one label for each of the three objects. The operation can also return multiple labels for the same object in the image. For example, if the input image shows a flower (for example, a tulip), the operation might return the following three labels.
  5. Lets looks at a couple of example of images
  6. 11/22 Removed image. Add image that we have the rights to. (removed image because it didn’t add value) You can see how easily Rekognition’s object and scene detection can be use for different segments. Consumer, Ad tech, Public Safety, and media are just a few examples. Original content: Consumer applications can use labels generated from images to power smart search interfaces for users Advertising companies can use metadata from images to improve their targeting algorithms Public safety teams can identify and label objects in security images to rapidly filter and search News organizations can to quickly search their archives to find photos to match breaking news
  7. Using Amazon DetectFaces API, you can detect faces in an image and key facial characteristics.
  8. DetectFaces taken an image with one or more faces and returns bounding box of the faces and some key landmarks and attributes for each face detected. Input { "Attributes": [ "string" ], "Image": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } } } Talk about the attributes.
  9. At a high level face attributes provides you with demographic data, sentiment of the face, face quality and landmarks.
  10. Facial Analysis is seeing utility in Real Estate, Social, Consumer, retail and Ad-tech Original content: Online dating applications can improve their algorithms and member’s match success rates by tracking sentiment and poses Consumer photo sites can identify and recommend the best photos to their users Understand the demographics and sentiment of in-store customers to better align products and services Display personalized content to customers in near real time automatically analyze the facial pose and sentiment in each photo of a member’s profile and track to see what aspects correspond with the most successful swipe metrics
  11. Application: The application uses in-store cameras to capture live images of shoppers in a retail store Rekognition: DetectFaces analyzes the image and returns facial attributes detected, which include emotion and demographic detail Redshift: The data is stored in Redshift to make it easy to analyze over time QuickSight: run periodic analysis and reporting to identify trends in demographic activity and in-store sentiment over time
  12. Expand to include AB analysis and testing to determine the most effective content to show to each demographic group
  13. Request { "SimilarityThreshold": number, "SourceImage": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } }, "TargetImage": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } } }
  14. { "CollectionId": "string", "DetectionAttributes": [ "string" ], "ExternalImageId": "string", "Image": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } } } Response { "FaceRecords": [ { "Face": { "BoundingBox": { "Height": number, "Left": number, "Top": number, "Width": number }, "Confidence": number, "ExternalImageId": "string", "FaceId": "string", "ImageId": "string" }, "FaceDetail": { "Beard": { "Confidence": number, "Value": boolean }, "BoundingBox": { "Height": number, "Left": number, "Top": number, "Width": number }, "Confidence": number, "Emotions": [ { "Confidence": number, "Type": "string" } ], "Eyeglasses": { "Confidence": number, "Value": boolean }, "EyesOpen": { "Confidence": number, "Value": boolean }, "Gender": { "Confidence": number, "Value": "string" }, "Landmarks": [ { "Type": "string", "X": number, "Y": number } ], "MouthOpen": { "Confidence": number, "Value": boolean }, "Mustache": { "Confidence": number, "Value": boolean }, "Pose": { "Pitch": number, "Roll": number, "Yaw": number }, "Quality": { "Brightness": number, "Sharpness": number }, "Smile": { "Confidence": number, "Value": boolean }, "Sunglasses": { "Confidence": number, "Value": boolean } } } ], "OrientationCorrection": "string" }
  15. request { "CollectionId": "string", "FaceMatchThreshold": number, "Image": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } }, "MaxFaces": number } response { "FaceMatches": [ { "Face": { "BoundingBox": { "Height": number, "Left": number, "Top": number, "Width": number }, "Confidence": number, "ExternalImageId": "string", "FaceId": "string", "ImageId": "string" }, "Similarity": number } ], "SearchedFaceBoundingBox": { "Height": number, "Left": number, "Top": number, "Width": number }, "SearchedFaceConfidence": number }
  16. Application: The application’s image indexing function reads image files in S3 and sends them to Rekognition Rekognition: IndexFaces extracts the facial feature vectors, stores them into a face collection, and returns a unique faceID for each discovered face Rekognition: Face collections are owned and managed by the user Application: the application records the faceID along with known attributes of the person in an application-managed database table
  17. Democratizing Image Analysis (key factors: affordable, accessible, scalable) that helps you get started in minutes
  18. Democratizing Image Analysis (key factors: affordable, accessible, scalable) that helps you get started in minutes
  19. Democratizing Image Analysis (key factors: affordable, accessible, scalable) that helps you get started in minutes