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

PDF
Deep learning
PPTX
Introduction to Artificial Intelligence (AI) at Amazon
PPTX
Introduction to MXNet & Lambda
PPTX
ECS for Amazon Deep Learning and Amazon Machine Learning
PDF
Amazon lexを触ってみた
PDF
Artificial Intelligence in Fashion, Beauty and related Creative industries
PDF
Artificial Intelligence for Visual Arts
PDF
Medical ImageNet
Deep learning
Introduction to Artificial Intelligence (AI) at Amazon
Introduction to MXNet & Lambda
ECS for Amazon Deep Learning and Amazon Machine Learning
Amazon lexを触ってみた
Artificial Intelligence in Fashion, Beauty and related Creative industries
Artificial Intelligence for Visual Arts
Medical ImageNet

Viewers also liked (6)

PDF
Building a Machine Learning App with AWS Lambda
PDF
Shallow introduction for Deep Learning Retinal Image Analysis
PDF
Tensorflow in production with AWS Lambda
PDF
Deep learning - Conceptual understanding and applications
PDF
スタートアップ支援 NVIDIA Inception プログラムのご紹介
PDF
Deep Learning through Examples
Building a Machine Learning App with AWS Lambda
Shallow introduction for Deep Learning Retinal Image Analysis
Tensorflow in production with AWS Lambda
Deep learning - Conceptual understanding and applications
スタートアップ支援 NVIDIA Inception プログラムのご紹介
Deep Learning through Examples
Ad

Similar to Introduction to Amazon Rekogition (20)

PDF
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
PDF
Amazon Rekognition
PDF
AWS Rekognition: Rich Image Metadata Extraction Powered by Deep Learning
PDF
AWS 기반 인공지능 비디오 분석 서비스 소개::Ranju Das::AWS Summit Seoul 2018
PPTX
AWS Rekognition: Rich Image Metadata Extraction Powered by Deep Learning
PDF
Building an AI-Powered Photo Gallery with Serverless and Event-Driven Magic!
PPTX
AWS Rekognition intro and practical approach for biginners
PDF
AWS で構築するコンピュータビジョンアプリケーション
PDF
AWS의 인공지능 기반 비디오 분석 서비스 소개 l 남궁영환 솔루션즈 아키텍트
PDF
Artificial Intelligence for Developers - OOP Munich
PDF
Build Computer Vision Applications with Amazon Rekognition and SageMaker
PPTX
AI for developers
PDF
AI Services and Serverless Workshop
PPTX
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
PPTX
AWS Innovate 2020 - Cómo crear aplicaciones inteligentes con inteligencia art...
DOCX
Computer Vision and Amazon Rekognition
PDF
Proposal -co_win_india_valardigital-converted
PDF
Aws rekognition - riconoscimento facciale
PDF
Amazon Rekognition
PPTX
Introduction to Deep face detection and recognition
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
Amazon Rekognition
AWS Rekognition: Rich Image Metadata Extraction Powered by Deep Learning
AWS 기반 인공지능 비디오 분석 서비스 소개::Ranju Das::AWS Summit Seoul 2018
AWS Rekognition: Rich Image Metadata Extraction Powered by Deep Learning
Building an AI-Powered Photo Gallery with Serverless and Event-Driven Magic!
AWS Rekognition intro and practical approach for biginners
AWS で構築するコンピュータビジョンアプリケーション
AWS의 인공지능 기반 비디오 분석 서비스 소개 l 남궁영환 솔루션즈 아키텍트
Artificial Intelligence for Developers - OOP Munich
Build Computer Vision Applications with Amazon Rekognition and SageMaker
AI for developers
AI Services and Serverless Workshop
Biometric Systems - Automate Video Streaming Analysis with Azure and AWS
AWS Innovate 2020 - Cómo crear aplicaciones inteligentes con inteligencia art...
Computer Vision and Amazon Rekognition
Proposal -co_win_india_valardigital-converted
Aws rekognition - riconoscimento facciale
Amazon Rekognition
Introduction to Deep face detection and recognition
Ad

Recently uploaded (20)

PPT
The Effect of Human Resource Management Practice on Organizational Performanc...
PPTX
Human Mind & its character Characteristics
PPTX
fundraisepro pitch deck elegant and modern
PPTX
Introduction-to-Food-Packaging-and-packaging -materials.pptx
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
NORMAN_RESEARCH_PRESENTATION.in education
PPTX
Research Process - Research Methods course
PPTX
Lesson-7-Gas. -Exchange_074636.pptx
PPTX
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
PPTX
2025-08-10 Joseph 02 (shared slides).pptx
PPT
First Aid Training Presentation Slides.ppt
PPTX
Tablets And Capsule Preformulation Of Paracetamol
PPTX
lesson6-211001025531lesson plan ppt.pptx
PPTX
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
PPTX
FINAL TEST 3C_OCTAVIA RAMADHANI SANTOSO-1.pptx
PDF
natwest.pdf company description and business model
PPTX
An Unlikely Response 08 10 2025.pptx
PDF
Tunisia's Founding Father(s) Pitch-Deck 2022.pdf
PPTX
MERISTEMATIC TISSUES (MERISTEMS) PPT PUBLIC
PPTX
nose tajweed for the arabic alphabets for the responsive
The Effect of Human Resource Management Practice on Organizational Performanc...
Human Mind & its character Characteristics
fundraisepro pitch deck elegant and modern
Introduction-to-Food-Packaging-and-packaging -materials.pptx
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
NORMAN_RESEARCH_PRESENTATION.in education
Research Process - Research Methods course
Lesson-7-Gas. -Exchange_074636.pptx
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
2025-08-10 Joseph 02 (shared slides).pptx
First Aid Training Presentation Slides.ppt
Tablets And Capsule Preformulation Of Paracetamol
lesson6-211001025531lesson plan ppt.pptx
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
FINAL TEST 3C_OCTAVIA RAMADHANI SANTOSO-1.pptx
natwest.pdf company description and business model
An Unlikely Response 08 10 2025.pptx
Tunisia's Founding Father(s) Pitch-Deck 2022.pdf
MERISTEMATIC TISSUES (MERISTEMS) PPT PUBLIC
nose tajweed for the arabic alphabets for the responsive

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

  • #3: 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
  • #4: 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.
  • #5: 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.
  • #6: 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.
  • #7: Lets looks at a couple of example of images
  • #9: 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
  • #10: Using Amazon DetectFaces API, you can detect faces in an image and key facial characteristics.
  • #11: 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.
  • #12: At a high level face attributes provides you with demographic data, sentiment of the face, face quality and landmarks.
  • #14: 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
  • #15: 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
  • #16: Expand to include AB analysis and testing to determine the most effective content to show to each demographic group
  • #18: Request { "SimilarityThreshold": number, "SourceImage": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } }, "TargetImage": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } } }
  • #22: { "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" }
  • #23: 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 }
  • #25: 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
  • #33: Democratizing Image Analysis (key factors: affordable, accessible, scalable) that helps you get started in minutes
  • #34: Democratizing Image Analysis (key factors: affordable, accessible, scalable) that helps you get started in minutes
  • #35: Democratizing Image Analysis (key factors: affordable, accessible, scalable) that helps you get started in minutes