SlideShare une entreprise Scribd logo
1  sur  37
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
David Pearson
AWS AI Services
March 2017
Amazon Rekognition
search, verify, and organize millions of images
Amazon AI
Intelligent Services Powered By Deep Learning
search, verify, and organize millions of images
Amazon Rekognition
Deep Learning-Based Image Recognition Service
Object and Scene
Detection
Facial
Analysis
Face
Comparison
Facial
Recognition
rich metadata index
objects, scenes, facial attributes, persons
Rekognition APIs
DetectLabels
DetectFaces
CompareFaces
CreateCollection
ListCollections
DeleteCollection
IndexFaces
ListFaces
DeleteFaces
SearchFaces
SearchFacesByImage
Stateless
(Non Storage)
Collections
(face storage)
Faces
(within
collections)
Search
(within
collections)
Thousands of Objects and Scenes
• Search, filter, and
curate image
libraries
• Photo, real estate,
vacation rental,
travel, hospitality,
and more
High Rise
Coast
City
Pier
Water
Waterfront
Dawn
Outdoors
Harbor
Sky
Building
Amazon Rekognition API
{
"Confidence": 94.62968444824219,
"Name": "adventure"
},
{
"Confidence": 94.62968444824219,
"Name": "boat"
},
{
"Confidence": 94.62968444824219,
"Name": "rafting"
},
. . .
DetectLabels
DetectLabels
Generate labels for objects, scenes, and concepts in input images
{
"Image": {
"Bytes": blob,
"S3Object": {
"Bucket": "string",
"Name": "string",
"Version": "string"
}
},
"MaxLabels": number,
"MinConfidence": number
}
Request
{
"Labels": [
{
"Confidence": number,
"Name": "string"
}
],
"OrientationCorrection":
"string"
}
Response
Use Case: Real Estate Property Search
Facial Analysis
Locate faces within images and analyze face attributes to
detect emotion, pose, facial landmarks, and features
• Avoid faces when cropping
images and overlaying ads
• Capture user demographics
and sentiment
• Recommend the best photos
• Improve online dating match
recommendations
• Dynamic, personalized ads
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
Face Location
avoid cropping and ad overlays that cover faces
{
"Attributes": [ "string" ],
"Image": {
"Bytes": blob,
"S3Object": {
"Bucket": "string",
"Name": "string",
"Version": "string"
}
}
}
Request "FaceDetail": [
...
{
"BoundingBox": {
"Height": number,
"Left": number,
"Top": number,
"Width": number
},
"Confidence": number,
...
Response (excerpt)
Sentiment Analysis
passive capture of in-store customer sentiment
"FaceDetail": [
...
{
"Emotions": [
{
"Confidence": number,
"Type": "string" }
...
Response (excerpt)
"Confidence": 93.29251861572266,
"Type": "HAPPY"
"Confidence": 28.57428741455078,
"Type": "CALM"
"Confidence": 1.4989674091339111,
"Type": "ANGRY"
Feature Location
add face overlays in social media apps
"FaceDetail": [
...
{
"Landmarks": [
{
"Type": "string",
"X": number,
"Y": number }
...
Response (excerpt)EyeLeft
EyeRight
Nose
MouthLeft
MouthRight
LeftPupil
RightPupil
LeftEyeBrowLeft
LeftEyeBrowRight
LeftEyeBrowUp
:
Demographic Analysis
measure the impact of targeted marketing campaigns
"FaceDetail": [
...
{
"AgeRange": {
"High": number,
"Low": number
},...
"Gender": {
"Confidence": number,
"Value": Boolean }
...
Response (excerpt)
Look Your Best All Day
Time for A New Look?
PersonAPersonB
Sees
Sees
Use Case: Retail Store Demographic Analysis
Image Quality and Direction of Gaze
detect blurry or poor quality light; subject liveness
"FaceDetail": [
...
{
"Pose": {
"Pitch": number,
"Roll": number,
"Yaw": number
},
"Quality": {
"Brightness": number,
"Sharpness": number
}
Response (excerpt) "Pose": {
"Pitch": 8.250975608825684,
"Roll": -8.29802131652832,
"Yaw": 14.244261741638184
},
"Quality": {
"Brightness": 46.14684295654297,
"Sharpness": 99.9945297241211
},
Face Comparison
Measure the likelihood that faces in two images are of the
same person
• Add face verification to
applications and devices
• Extend physical security
controls
• Provide guest access to
VIP-only facilities
• Verify users for online
exams and polls
Amazon Rekognition API
{
"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}
}
CompareFaces
Use Case: Employee Badge Scan
Facial Recognition
Identify people in images by finding the closest match for an
input face image against a collection of stored face vectors
• Add friend tagging to
social and messaging apps
• Assist public safety officers
find missing persons
• Identify employees as they
access sensitive locations
• Recognize celebrities in
historical image archives
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
&
vector001
02e56305-1579-5b39-ba57-9afb0fd8782d
&
vector002
Face ID & vector<float>Face
4c55926e-69b3-5c80-8c9b-78ea01d30690
&
vector003transformed
stored
{
f7a3a278-2a59-5102-a549-a12ab1a8cae8,
02e56305-1579-5b39-ba57-9afb0fd8782d,
4c55926e-69b3-5c80-8c9b-78ea01d30690
}
IndexFaces
Collection
Amazon Rekognition API
Face
SearchFacesbyImage Collection
Nearest neighbor
search
FaceID: 4c55926e-69b3-5c80-8c9b-78ea01d30690
Similarity: 97
FaceID: 92b8731e-f490-77fe-3af7-c6683ba8f533
Similarity: 92
FaceID: 73d908ff-a544-1c78-9da2-7fcc185aae91
Similarity: 85
Use Case: Find Images of Friends
Lambda Blueprint for Rekognition
AMAZON S3 AWS LAMBDA AMAZON
REKOGNITION
AMAZON
DYNAMODB
Triggered Media Indexing
When a new image is uploaded to S3…
1. Lambda function is triggered and calls Rekognition
2. Rekognition API retrieves the image from S3 and returns the detected labels,
attributes, and recognized persons
3. The output metadata is stored into DynamoDB for durability and speed of access
Fast Analysis of New Image Files in S3
Console Demo
Event-driven processing with Lambda
• Add new images to an S3 bucket
• Lambda log as it processes new images
• View metadata in DynamoDB table
Detect Faces
Index Faces
Search Faces
Batch Processing a Media Archive
Influencer Marketing Case Study
Associate influencers with objects and scenes in social media
images in order to create high impact campaigns for clients
Using Rekognition for metadata extraction:
• Create rich media indexes of images from social media feeds, which
the application associates with influencers
• Enable analytics to profile environments where influence is strongest
• Connect client brands with the influencers most likely to have impact
Law Enforcement Case Study
To service leads from citizens and security cameras, a
person spends days manually searching thousands of images
The new Rekognition-powered mobile and web app compares
field images with photos of previous offenders:
• Helps identify unknown theft suspects from security footage
• Provides leads by identifying possible witnesses and accomplices
• Identifies people of interest who do not have identification
Media Case Study
Identify who is on camera at what time for each of 8 networks
so that recorded video streams can be indexed and searched
Video frame-sampling facial recognition solution using
Amazon Rekognition:
• Indexed 97,000 people into a face collection in 1 day
• Sample frames every 6 secs and test for image variance
• Upload images to S3 and call Rekognition to find best facial match
• Store time stamp and faceID metadata
C-SPAN Architecture
Video feeds encoded from
8 locations (3 networks and
5 federal courthouses)
Frames extracted into
JPGs and hosted in S3
SQS provides
asynchronous decoupling
Search Rekognition collection
for high similarity matches
Results cache
drives search and
discovery requests
R3 hashing detects if a
scene significantly changes
Rekognition Customers
Digital Asset Management
Media and Entertainment
Influencer Marketing
Digital Advertising
Consumer Storage
Law Enforcement
Public Safety
eCommerce
Education
Amazon Rekognition Availability and Pricing
Free Tier: 5000 images processed per month for first 12 months
General Availability in 3 regions:
US East (N. Virginia), US West (Oregon); EU (Ireland)
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
Developer Resources and more…
https://aws.amazon.com/blogs/ai/
https://aws.amazon.com/rekognition
Thank you!
David Pearson
pearsond@amazon.com

Contenu connexe

Tendances

Machine Learning & Amazon SageMaker
Machine Learning & Amazon SageMakerMachine Learning & Amazon SageMaker
Machine Learning & Amazon SageMaker
Amazon Web Services
 
Webinar aws 101 a walk through the aws cloud- introduction to cloud computi...
Webinar aws 101   a walk through the aws cloud- introduction to cloud computi...Webinar aws 101   a walk through the aws cloud- introduction to cloud computi...
Webinar aws 101 a walk through the aws cloud- introduction to cloud computi...
Amazon Web Services
 

Tendances (20)

AWS Foundations
AWS FoundationsAWS Foundations
AWS Foundations
 
Machine Learning & Amazon SageMaker
Machine Learning & Amazon SageMakerMachine Learning & Amazon SageMaker
Machine Learning & Amazon SageMaker
 
AWS for Backup and Recovery
AWS for Backup and RecoveryAWS for Backup and Recovery
AWS for Backup and Recovery
 
AWS core services
AWS core servicesAWS core services
AWS core services
 
Introducing Amazon Lex
Introducing Amazon Lex Introducing Amazon Lex
Introducing Amazon Lex
 
Azure Cognitive Services - Custom Vision
Azure Cognitive Services  - Custom VisionAzure Cognitive Services  - Custom Vision
Azure Cognitive Services - Custom Vision
 
AWS 101: Introduction to AWS
AWS 101: Introduction to AWSAWS 101: Introduction to AWS
AWS 101: Introduction to AWS
 
An Overview of Machine Learning on AWS
An Overview of Machine Learning on AWSAn Overview of Machine Learning on AWS
An Overview of Machine Learning on AWS
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesIntroduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services
 
Introducing Amazon SageMaker
Introducing Amazon SageMakerIntroducing Amazon SageMaker
Introducing Amazon SageMaker
 
Building Advanced Workflows with AWS Glue (ANT333) - AWS re:Invent 2018
Building Advanced Workflows with AWS Glue (ANT333) - AWS re:Invent 2018Building Advanced Workflows with AWS Glue (ANT333) - AWS re:Invent 2018
Building Advanced Workflows with AWS Glue (ANT333) - AWS re:Invent 2018
 
Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...
Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...
Analyzing Data Streams in Real Time with Amazon Kinesis: PNNL's Serverless Da...
 
A Brief Look at Serverless Architecture
A Brief Look at Serverless ArchitectureA Brief Look at Serverless Architecture
A Brief Look at Serverless Architecture
 
Introduction to Cloud Computing with AWS (Thai Session)
Introduction to Cloud Computing with AWS (Thai Session)Introduction to Cloud Computing with AWS (Thai Session)
Introduction to Cloud Computing with AWS (Thai Session)
 
Webinar aws 101 a walk through the aws cloud- introduction to cloud computi...
Webinar aws 101   a walk through the aws cloud- introduction to cloud computi...Webinar aws 101   a walk through the aws cloud- introduction to cloud computi...
Webinar aws 101 a walk through the aws cloud- introduction to cloud computi...
 
ABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWSABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWS
 
Protecting Your Data with Encryption on AWS
Protecting Your Data with Encryption on AWSProtecting Your Data with Encryption on AWS
Protecting Your Data with Encryption on AWS
 
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 ...
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 

Similaire à Amazon Rekognition

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
Amazon Web Services
 

Similaire à Amazon Rekognition (20)

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
 
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
 
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:
 
Exploring the Business Use Cases for Amazon Rekognition - June 2017 AWS Onlin...
Exploring the Business Use Cases for Amazon Rekognition - June 2017 AWS Onlin...Exploring the Business Use Cases for Amazon Rekognition - June 2017 AWS Onlin...
Exploring the Business Use Cases for Amazon Rekognition - June 2017 AWS Onlin...
 
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 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
 
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
 
Start Up Austin 2017: Hands on Lab - Building a Deep Learning Twitter Bot Usi...
Start Up Austin 2017: Hands on Lab - Building a Deep Learning Twitter Bot Usi...Start Up Austin 2017: Hands on Lab - Building a Deep Learning Twitter Bot Usi...
Start Up Austin 2017: Hands on Lab - Building a Deep Learning Twitter Bot Usi...
 
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...
 
Introduction to Amazon Rekogition
Introduction to Amazon RekogitionIntroduction to Amazon Rekogition
Introduction to Amazon Rekogition
 
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 ...
 
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
 
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
Build Computer Vision Applications with Amazon RekognitionBuild Computer Vision Applications with Amazon Rekognition
Build Computer Vision Applications with Amazon Rekognition
 
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
 
Globant - Amazon recognition workshop - 2018
Globant - Amazon recognition workshop - 2018  Globant - Amazon recognition workshop - 2018
Globant - Amazon recognition workshop - 2018
 
Adding image and video analysis to your app
Adding image and video analysis to your appAdding image and video analysis to your app
Adding image and video analysis to your app
 
AWS Rekognition: Rich Image Metadata Extraction Powered by Deep Learning
AWS Rekognition: Rich Image Metadata Extraction Powered by Deep LearningAWS Rekognition: Rich Image Metadata Extraction Powered by Deep Learning
AWS Rekognition: Rich Image Metadata Extraction Powered by Deep Learning
 
AWS Rekognition - AWS Summit Tel Aviv 2017
AWS Rekognition - AWS Summit Tel Aviv 2017AWS Rekognition - AWS Summit Tel Aviv 2017
AWS Rekognition - AWS Summit Tel Aviv 2017
 
BDA 301 An Introduction to Amazon Rekognition, for Deep Learning-based Comput...
BDA 301 An Introduction to Amazon Rekognition, for Deep Learning-based Comput...BDA 301 An Introduction to Amazon Rekognition, for Deep Learning-based Comput...
BDA 301 An Introduction to Amazon Rekognition, for Deep Learning-based Comput...
 

Plus de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Plus de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Dernier

If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
Sheetaleventcompany
 

Dernier (20)

If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 

Amazon Rekognition

  • 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. David Pearson AWS AI Services March 2017 Amazon Rekognition search, verify, and organize millions of images
  • 2. Amazon AI Intelligent Services Powered By Deep Learning
  • 3. search, verify, and organize millions of images Amazon Rekognition Deep Learning-Based Image Recognition Service Object and Scene Detection Facial Analysis Face Comparison Facial Recognition
  • 4. rich metadata index objects, scenes, facial attributes, persons
  • 6. Thousands of Objects and Scenes • Search, filter, and curate image libraries • Photo, real estate, vacation rental, travel, hospitality, and more High Rise Coast City Pier Water Waterfront Dawn Outdoors Harbor Sky Building
  • 7. Amazon Rekognition API { "Confidence": 94.62968444824219, "Name": "adventure" }, { "Confidence": 94.62968444824219, "Name": "boat" }, { "Confidence": 94.62968444824219, "Name": "rafting" }, . . . DetectLabels
  • 8. DetectLabels Generate labels for objects, scenes, and concepts in input images { "Image": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } }, "MaxLabels": number, "MinConfidence": number } Request { "Labels": [ { "Confidence": number, "Name": "string" } ], "OrientationCorrection": "string" } Response
  • 9. Use Case: Real Estate Property Search
  • 10. Facial Analysis Locate faces within images and analyze face attributes to detect emotion, pose, facial landmarks, and features • Avoid faces when cropping images and overlaying ads • Capture user demographics and sentiment • Recommend the best photos • Improve online dating match recommendations • Dynamic, personalized ads
  • 11. 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
  • 12. Face Location avoid cropping and ad overlays that cover faces { "Attributes": [ "string" ], "Image": { "Bytes": blob, "S3Object": { "Bucket": "string", "Name": "string", "Version": "string" } } } Request "FaceDetail": [ ... { "BoundingBox": { "Height": number, "Left": number, "Top": number, "Width": number }, "Confidence": number, ... Response (excerpt)
  • 13. Sentiment Analysis passive capture of in-store customer sentiment "FaceDetail": [ ... { "Emotions": [ { "Confidence": number, "Type": "string" } ... Response (excerpt) "Confidence": 93.29251861572266, "Type": "HAPPY" "Confidence": 28.57428741455078, "Type": "CALM" "Confidence": 1.4989674091339111, "Type": "ANGRY"
  • 14. Feature Location add face overlays in social media apps "FaceDetail": [ ... { "Landmarks": [ { "Type": "string", "X": number, "Y": number } ... Response (excerpt)EyeLeft EyeRight Nose MouthLeft MouthRight LeftPupil RightPupil LeftEyeBrowLeft LeftEyeBrowRight LeftEyeBrowUp :
  • 15. Demographic Analysis measure the impact of targeted marketing campaigns "FaceDetail": [ ... { "AgeRange": { "High": number, "Low": number },... "Gender": { "Confidence": number, "Value": Boolean } ... Response (excerpt) Look Your Best All Day Time for A New Look? PersonAPersonB Sees Sees
  • 16. Use Case: Retail Store Demographic Analysis
  • 17. Image Quality and Direction of Gaze detect blurry or poor quality light; subject liveness "FaceDetail": [ ... { "Pose": { "Pitch": number, "Roll": number, "Yaw": number }, "Quality": { "Brightness": number, "Sharpness": number } Response (excerpt) "Pose": { "Pitch": 8.250975608825684, "Roll": -8.29802131652832, "Yaw": 14.244261741638184 }, "Quality": { "Brightness": 46.14684295654297, "Sharpness": 99.9945297241211 },
  • 18. Face Comparison Measure the likelihood that faces in two images are of the same person • Add face verification to applications and devices • Extend physical security controls • Provide guest access to VIP-only facilities • Verify users for online exams and polls
  • 19. Amazon Rekognition API { "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} } CompareFaces
  • 20. Use Case: Employee Badge Scan
  • 21. Facial Recognition Identify people in images by finding the closest match for an input face image against a collection of stored face vectors • Add friend tagging to social and messaging apps • Assist public safety officers find missing persons • Identify employees as they access sensitive locations • Recognize celebrities in historical image archives
  • 22. Amazon Rekognition API Facial Recognition index and search faces in a collection Index Search Collection IndexFaces SearchFacesByImage
  • 23. Amazon Rekognition API f7a3a278-2a59-5102-a549-a12ab1a8cae8 & vector001 02e56305-1579-5b39-ba57-9afb0fd8782d & vector002 Face ID & vector<float>Face 4c55926e-69b3-5c80-8c9b-78ea01d30690 & vector003transformed stored { f7a3a278-2a59-5102-a549-a12ab1a8cae8, 02e56305-1579-5b39-ba57-9afb0fd8782d, 4c55926e-69b3-5c80-8c9b-78ea01d30690 } IndexFaces Collection
  • 24. Amazon Rekognition API Face SearchFacesbyImage Collection Nearest neighbor search FaceID: 4c55926e-69b3-5c80-8c9b-78ea01d30690 Similarity: 97 FaceID: 92b8731e-f490-77fe-3af7-c6683ba8f533 Similarity: 92 FaceID: 73d908ff-a544-1c78-9da2-7fcc185aae91 Similarity: 85
  • 25. Use Case: Find Images of Friends
  • 26. Lambda Blueprint for Rekognition
  • 27. AMAZON S3 AWS LAMBDA AMAZON REKOGNITION AMAZON DYNAMODB Triggered Media Indexing When a new image is uploaded to S3… 1. Lambda function is triggered and calls Rekognition 2. Rekognition API retrieves the image from S3 and returns the detected labels, attributes, and recognized persons 3. The output metadata is stored into DynamoDB for durability and speed of access
  • 28. Fast Analysis of New Image Files in S3 Console Demo Event-driven processing with Lambda • Add new images to an S3 bucket • Lambda log as it processes new images • View metadata in DynamoDB table
  • 29. Detect Faces Index Faces Search Faces Batch Processing a Media Archive
  • 30. Influencer Marketing Case Study Associate influencers with objects and scenes in social media images in order to create high impact campaigns for clients Using Rekognition for metadata extraction: • Create rich media indexes of images from social media feeds, which the application associates with influencers • Enable analytics to profile environments where influence is strongest • Connect client brands with the influencers most likely to have impact
  • 31. Law Enforcement Case Study To service leads from citizens and security cameras, a person spends days manually searching thousands of images The new Rekognition-powered mobile and web app compares field images with photos of previous offenders: • Helps identify unknown theft suspects from security footage • Provides leads by identifying possible witnesses and accomplices • Identifies people of interest who do not have identification
  • 32. Media Case Study Identify who is on camera at what time for each of 8 networks so that recorded video streams can be indexed and searched Video frame-sampling facial recognition solution using Amazon Rekognition: • Indexed 97,000 people into a face collection in 1 day • Sample frames every 6 secs and test for image variance • Upload images to S3 and call Rekognition to find best facial match • Store time stamp and faceID metadata
  • 33. C-SPAN Architecture Video feeds encoded from 8 locations (3 networks and 5 federal courthouses) Frames extracted into JPGs and hosted in S3 SQS provides asynchronous decoupling Search Rekognition collection for high similarity matches Results cache drives search and discovery requests R3 hashing detects if a scene significantly changes
  • 34. Rekognition Customers Digital Asset Management Media and Entertainment Influencer Marketing Digital Advertising Consumer Storage Law Enforcement Public Safety eCommerce Education
  • 35. Amazon Rekognition Availability and Pricing Free Tier: 5000 images processed per month for first 12 months General Availability in 3 regions: US East (N. Virginia), US West (Oregon); EU (Ireland) 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
  • 36. Developer Resources and more… https://aws.amazon.com/blogs/ai/ https://aws.amazon.com/rekognition

Notes de l'éditeur

  1. 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.
  2. 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.
  3. A mobile app uploads new images to S3 An S3 notification triggers a Lambda function which calls Rekognition’s DetectLabels API with an S3 url DetectLabels analyzes the image and returns labels for objects and scenes detected in the image This output is persisted as metadata into DynamoDB to ensure durability and into Elasticsearch to power a smart search index. The application serves selected images directly from S3. Options on this configuration include: writing to Elasticsearch directly from the Lambda function, and using CloudFront to serve the image to the user.
  4. 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.
  5. A mobile app uploads new images to S3 An S3 notification triggers a Lambda function which calls Rekognition’s DetectLabels API with an S3 url DetectLabels analyzes the image and returns labels for objects and scenes detected in the image This output is persisted as metadata into DynamoDB to ensure durability and into Elasticsearch to power a smart search index. The application serves selected images directly from S3. Options on this configuration include: writing to Elasticsearch directly from the Lambda function, and using CloudFront to serve the image to the user.
  6. A mobile app uploads new images to S3 An S3 notification triggers a Lambda function which calls Rekognition’s DetectLabels API with an S3 url DetectLabels analyzes the image and returns labels for objects and scenes detected in the image This output is persisted as metadata into DynamoDB to ensure durability and into Elasticsearch to power a smart search index. The application serves selected images directly from S3. Options on this configuration include: writing to Elasticsearch directly from the Lambda function, and using CloudFront to serve the image to the user.
  7. A mobile app uploads new images to S3 An S3 notification triggers a Lambda function which calls Rekognition’s DetectLabels API with an S3 url DetectLabels analyzes the image and returns labels for objects and scenes detected in the image This output is persisted as metadata into DynamoDB to ensure durability and into Elasticsearch to power a smart search index. The application serves selected images directly from S3. Options on this configuration include: writing to Elasticsearch directly from the Lambda function, and using CloudFront to serve the image to the user.
  8. The Amazon S3 inventory tool produces a .csv file, that lists the images that are stored in an images bucket, and saves the csv file to an S3 bucket called the inventory bucket. The inventory file is produced daily by the S3 service. When a new version of the zipped S3 inventory .csv file is saved to the destination S3 inventory bucket, a Lambda function is called as the inventory bucket is configured to invoke the Lambda function on any object with a .csv.gz file extension. The Lambda function reads the contents of the .csv file, and for each image it finds, it creates a new AWS Batch Job with the image bucket and name, and submits it to the AWS Batch queue. AWS Batch processes the batch jobs submitted to the job queue by launching EC2 instances and executing the batch jobs on those instances. The Lambda function removes the S3 event trigger to avoid the AWS Batch backfill workflow to run more than once. The AWS Batch jobs receive an image bucket and name as input parameters and check if the image has already been processed by querying the Amazon ES domain index. If the image has not been processed, the AWS Batch Job calls the Amazon Rekognition detect_label API. The AWS Batch jobs save the labels that Rekognition returns for the image into the Amazon ES domain index.
  9. Clients can request influencers in a key demographic. Rekognition partners use their metadata to identify high quality influencers for targeted campaigns, which may involve paying influencers for product use and social media posts featuring the product. An influencer’s strength is measured by who is following them on social media Future use for Reko: identify brands, measure impact, rate influencers
  10. Quoted Interesting Facts More than 300,000 photos of previous offenders indexed in 2 days Each search requires seconds to return results Entire process went from 2-3 days, to minutes Within 1 week of going live, the app was used to identify and arrest a suspect who stole over $5,000 from local stores. There were no other leads prior to the app finding the match. No other tool could scale to this volume. Plans to expand to neighboring counties, and beyond.
  11. Democratizing Image Analysis (key factors: affordable, accessible, scalable) that helps you get started in minutes