SlideShare una empresa de Scribd logo
1 de 50
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Adrian Hornsby, Technical Evangelist @ AWS
Building Serverless AI-powered Applications
on AWS
@adhorn
• Technical Evangelist, Developer Advocate,
… Software Engineer
• Own bed in Finland
• Previously:
• Solutions Architect @AWS
• Lead Cloud Architect @Dreambroker
• Director of Engineering, Software Engineer, DevOps, Manager, ... @Hdm
• Researcher @Nokia Research Center
• and a bunch of other stuff.
• Climber, like Ginger shots.
What to Expect from the Session
1. A little bit history & theory never kills
2. AI in AWS
3. Building AI-powered apps x3
No servers to provision
or manage
Scales with usage
Never pay for idle Availability and fault
tolerance built in
Serverless means…
EVENT DRIVEN CONTINUOUS SCALING PAY BY USAGE
Serverless means…
Exposing functionality rather than the whole
server(s).
Serverless means…
The rise of AI
Artificial Intelligence
At Amazon
Artificial Intelligence
At Amazon
Data
GPUs
& Acceleration
Cloud
Computing
Algorithms
AWS
The Advent Of Deep
Learning
Machine Learning In The Hands Of Every Developer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Machine Learning On AWS Today
Machine Learning In The Hands Of Every Developer
Text In, Life-like Speech Out
Amazon Polly
“Today in Seattle, WA
it’s 11°F”
“Today in Seattle Washington
it’s 11 degrees Fahrenheit”
47 lifelike voices spread across 24 languages
“Today in Seattle, WA, it’s 11°F”
‘"We live for the music" live from the Madison Square Garden.’
1. Automatic, Accurate Text Processing
A Focus On Voice Quality & Pronunciation
2. Intelligible and Easy to Understand
1. Automatic, Accurate Text Processing
A Focus On Voice Quality & Pronunciation
2. Intelligible and Easy to Understand
3. Add Semantic Meaning to Text
“Richard’s number is 2122341237“
“Richard’s number is 2122341237“
Telephone Number
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
3. Add Semantic Meaning to Text
4. Customized Pronunciation
“My daughter’s name is Kaja.”
“My daughter’s name is Kaja.”
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
A Focus On Voice Quality & Pronunciation
https://www.w3.org/TR/speech-synthesis/<speak>
The spelling of my last name is
<prosody rate='x-slow'>
<say-as interpret-as="characters">Adrian</say-as>
</prosody></speak>
Duolingo voices its language learning service Using Polly
Duolingo is a free language learning service where
users help translate the web and rate translations.
With Amazon Polly our users
benefit from the most lifelike
Text-to-Speech voices
available on the market.
Severin Hacker
CTO, Duolingo
”
“
• Spoken language crucial for
language learning
• Accurate pronunciation matters
• Faster iteration thanks to TTS
• As good as natural human speech
<API>
Amazon Polly
</API>
aws polly synthesize-speech
--text "It was nice to live such a wonderful live show"
--output-format mp3
--voice-id Joanna
--text-type text johanna.mp3
Pollycast
<demo>
Amazon PollyCast
</demo>
* Initial project by James Siri, Piotr Lewalski
https://github.com/adhorn/pollycast
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
Object & Scene Detection
Object & Scene Detection
Facial Analysis
Facial Analysis
Facial Search
Facial Search
Collections
Amazon Rekognition
Customers
• Digital Asset Management
• Media and Entertainment
• Travel and Hospitality
• Influencer Marketing
• Systems Integration
• Digital Advertising
• Consumer Storage
• Law Enforcement
• Public Safety
• eCommerce
• Education
<API>
Amazon Rekognition
</API>
aws rekognition detect-faces
--image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}'
--attributes "ALL"
aws rekognition detect-labels
--image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}'
Poliko
http://poliko.adhorn.me
Poliko
Take Pic
Amazon Cognito
2. Detect Labels
4. Synthesize-speech
Amazon Rekognition
Amazon Polly
3. Detect Faces
Amazon S3
“Static website hosting” enabled
Cognito support for Identity
Username
Password
Sign In
SAML
Identity Provider
Amazon Cognito2. Get AWS credentials
API Gateway
DynamoDB S3
Lambda
Cognito User Pools
Rekognition
Polly
Policies
CognitoAmazon S3
<demo>
Poliko
powered by Amazon Polly & Rekognition
</demo>
https://github.com/adhorn/poliko
http://poliko.adhorn.me
* Initial project by Martin Elwin
Backend powered by Step
Functions
Start
Sequential Steps
U p l o a d R AW f i l e
D e l e t e R AW f i l e
End
AWS Step Functions
S e l e c t i m a g e
c o n v e rt e r
RA W t o J P E G RA W t o P NGRA W t o TI FF
L o a d i n Da t a b a se
Start
End
Un s u p p or te d i m a g e
t yp eParallel Steps
AWS Step Functions
P r o c e s s p h o t o
Re s i ze i m a g e
Start
End
E xt r a c t m e t a d a ta Fa c i a l r e c o g n it i on
L o a d i n Da t a b a se
Branching Steps
AWS Step Functions
AWS Step Functions
<demo>
Image Recognition and Processing Backend
Step Functions
</demo>
https://github.com/awslabs/lambda-refarch-imagerecognition
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Questions?
Adrian Hornsby, Technical Evangelist
@adhorn
adhorn@amazon.com

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

AWSome Day Utrecht - Keynote
AWSome Day Utrecht - KeynoteAWSome Day Utrecht - Keynote
AWSome Day Utrecht - Keynote
 
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
NEW LAUNCH! Building Virtual Reality and Augmented Reality Applications with ...
 
NEW LAUNCH! Introducing Amazon Translate – Now in Preview - MCL209 - re:Inven...
NEW LAUNCH! Introducing Amazon Translate – Now in Preview - MCL209 - re:Inven...NEW LAUNCH! Introducing Amazon Translate – Now in Preview - MCL209 - re:Inven...
NEW LAUNCH! Introducing Amazon Translate – Now in Preview - MCL209 - re:Inven...
 
Design, Build, and Modernize Your Web Applications with AWS
 Design, Build, and Modernize Your Web Applications with AWS Design, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWS
 
MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...
MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...
MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...
 
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
Bringing Characters to Life with Amazon Polly Text-to-Speech - AWS Online Tec...
 
Innovations and The Cloud
Innovations and The CloudInnovations and The Cloud
Innovations and The Cloud
 
Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
Bring the Power of AI to Contact Centers - BAP301 - re:Invent 2017
 
Devoxx: Building AI-powered applications on AWS
Devoxx: Building AI-powered applications on AWSDevoxx: Building AI-powered applications on AWS
Devoxx: Building AI-powered applications on AWS
 
Deliver Voice Automated Serverless BI Solutions in Under 3 Hours - ABD325 - r...
Deliver Voice Automated Serverless BI Solutions in Under 3 Hours - ABD325 - r...Deliver Voice Automated Serverless BI Solutions in Under 3 Hours - ABD325 - r...
Deliver Voice Automated Serverless BI Solutions in Under 3 Hours - ABD325 - r...
 
Working with Amazon Lex Chatbots in Amazon Connect - AWS Online Tech Talks
Working with Amazon Lex Chatbots in Amazon Connect - AWS Online Tech TalksWorking with Amazon Lex Chatbots in Amazon Connect - AWS Online Tech Talks
Working with Amazon Lex Chatbots in Amazon Connect - AWS Online Tech Talks
 
Serverless in Action on AWS
Serverless in Action on AWSServerless in Action on AWS
Serverless in Action on AWS
 
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
MAE303-OTT State of Play Innovation at Netflix, Hulu, Amazon Video, and AWS E...
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition System
 
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
 
Innovations and the Cloud
Innovations and the CloudInnovations and the Cloud
Innovations and the Cloud
 
IOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWSIOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWS
 
MCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdfMCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdf
 
Building Your Smart Applications with Machine Learning on AWS | AWS Webinar
Building Your Smart Applications with Machine Learning on AWS | AWS WebinarBuilding Your Smart Applications with Machine Learning on AWS | AWS Webinar
Building Your Smart Applications with Machine Learning on AWS | AWS Webinar
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 

Similar a Building AI-powered Serverless Applications on AWS

An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
Amazon Web Services
 

Similar a Building AI-powered Serverless Applications on AWS (20)

Serverless AI - London Loft
Serverless AI - London LoftServerless AI - London Loft
Serverless AI - London Loft
 
Amazon AI: soluzioni di intelligenza artificiale pronte per l'uso
Amazon AI: soluzioni di intelligenza artificiale pronte per l'usoAmazon AI: soluzioni di intelligenza artificiale pronte per l'uso
Amazon AI: soluzioni di intelligenza artificiale pronte per l'uso
 
Building Serverless AI-powered Apps on AWS
Building Serverless AI-powered Apps on AWSBuilding Serverless AI-powered Apps on AWS
Building Serverless AI-powered Apps on AWS
 
Building AI-powered Apps on AWS
Building AI-powered Apps on AWSBuilding AI-powered Apps on AWS
Building AI-powered Apps on AWS
 
Amazon AI (October 2017)
Amazon AI (October 2017)Amazon AI (October 2017)
Amazon AI (October 2017)
 
AWS Artificial Intelligence Day - Toronto
AWS Artificial Intelligence Day - TorontoAWS Artificial Intelligence Day - Toronto
AWS Artificial Intelligence Day - Toronto
 
Amazon Web Services - Strategy and Current Offering
Amazon Web Services - Strategy and Current OfferingAmazon Web Services - Strategy and Current Offering
Amazon Web Services - Strategy and Current Offering
 
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
 
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
 
An Overview of the AI on the AWS Platform
An Overview of the AI on the AWS PlatformAn Overview of the AI on the AWS Platform
An Overview of the AI on the AWS Platform
 
AWS FSI Symposium 2017 NYC - Amazon AI for FS
AWS FSI Symposium 2017 NYC - Amazon AI for FSAWS FSI Symposium 2017 NYC - Amazon AI for FS
AWS FSI Symposium 2017 NYC - Amazon AI for FS
 
IoT & Deep Learning on AWS
IoT & Deep Learning on AWSIoT & Deep Learning on AWS
IoT & Deep Learning on AWS
 
New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...
New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...
New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...
 
Cloud-Native Roadshow - Google - Seattle
Cloud-Native Roadshow - Google - Seattle Cloud-Native Roadshow - Google - Seattle
Cloud-Native Roadshow - Google - Seattle
 
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
 
Intro to Amazon AI Services
Intro to Amazon AI ServicesIntro to Amazon AI Services
Intro to Amazon AI Services
 
An Introduction to AI Services on AWS - Web Summit Lisbon
An Introduction to AI Services on AWS -  Web Summit LisbonAn Introduction to AI Services on AWS -  Web Summit Lisbon
An Introduction to AI Services on AWS - Web Summit Lisbon
 
AI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMAI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLM
 
AI and Innovations on AWS
AI and Innovations on AWSAI and Innovations on AWS
AI and Innovations on AWS
 
How Amazon AI Can Help You Transform Your Education Business | AWS Webinar
How Amazon AI Can Help You Transform Your Education Business | AWS WebinarHow Amazon AI Can Help You Transform Your Education Business | AWS Webinar
How Amazon AI Can Help You Transform Your Education Business | AWS Webinar
 

Más de Adrian Hornsby

Más de Adrian Hornsby (20)

How can your business benefit from going serverless?
How can your business benefit from going serverless?How can your business benefit from going serverless?
How can your business benefit from going serverless?
 
Can Automotive be as agile as Unicorns?
Can Automotive be as agile as Unicorns?Can Automotive be as agile as Unicorns?
Can Automotive be as agile as Unicorns?
 
Moving Forward with AI - as presented at the Prosessipäivät 2018
Moving Forward with AI - as presented at the Prosessipäivät 2018Moving Forward with AI - as presented at the Prosessipäivät 2018
Moving Forward with AI - as presented at the Prosessipäivät 2018
 
Chaos Engineering: Why Breaking Things Should Be Practised.
Chaos Engineering: Why Breaking Things Should Be Practised.Chaos Engineering: Why Breaking Things Should Be Practised.
Chaos Engineering: Why Breaking Things Should Be Practised.
 
Chaos Engineering: Why Breaking Things Should Be Practised.
Chaos Engineering: Why Breaking Things Should Be Practised.Chaos Engineering: Why Breaking Things Should Be Practised.
Chaos Engineering: Why Breaking Things Should Be Practised.
 
Model Serving for Deep Learning
Model Serving for Deep LearningModel Serving for Deep Learning
Model Serving for Deep Learning
 
AI in Finance: Moving forward!
AI in Finance: Moving forward!AI in Finance: Moving forward!
AI in Finance: Moving forward!
 
Building a Multi-Region, Active-Active Serverless Backends.
Building a Multi-Region, Active-Active Serverless Backends.Building a Multi-Region, Active-Active Serverless Backends.
Building a Multi-Region, Active-Active Serverless Backends.
 
Moving Forward with AI
Moving Forward with AIMoving Forward with AI
Moving Forward with AI
 
AI: State of the Union
AI: State of the UnionAI: State of the Union
AI: State of the Union
 
re:Invent re:Cap - Big Data & IoT at Any Scale
re:Invent re:Cap - Big Data & IoT at Any Scalere:Invent re:Cap - Big Data & IoT at Any Scale
re:Invent re:Cap - Big Data & IoT at Any Scale
 
Developing Sophisticated Serverless Applications with AI
Developing Sophisticated Serverless Applications with AIDeveloping Sophisticated Serverless Applications with AI
Developing Sophisticated Serverless Applications with AI
 
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
AWS Startup Day Bangalore: Being Well-Architected in the CloudAWS Startup Day Bangalore: Being Well-Architected in the Cloud
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
 
Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million Users
 
AWSome Day - Opening Keynote
AWSome Day - Opening KeynoteAWSome Day - Opening Keynote
AWSome Day - Opening Keynote
 
Innovations fueled by IoT and the Cloud
Innovations fueled by IoT and the CloudInnovations fueled by IoT and the Cloud
Innovations fueled by IoT and the Cloud
 
AWS Batch: Simplifying batch computing in the cloud
AWS Batch: Simplifying batch computing in the cloudAWS Batch: Simplifying batch computing in the cloud
AWS Batch: Simplifying batch computing in the cloud
 
Being Well Architected in the Cloud (Updated)
Being Well Architected in the Cloud (Updated)Being Well Architected in the Cloud (Updated)
Being Well Architected in the Cloud (Updated)
 
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
Deep Dive on Object Storage: Amazon S3 and Amazon GlacierDeep Dive on Object Storage: Amazon S3 and Amazon Glacier
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
 
Serverless Streaming Data Processing using Amazon Kinesis Analytics
Serverless Streaming Data Processing using Amazon Kinesis AnalyticsServerless Streaming Data Processing using Amazon Kinesis Analytics
Serverless Streaming Data Processing using Amazon Kinesis Analytics
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Building AI-powered Serverless Applications on AWS

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Adrian Hornsby, Technical Evangelist @ AWS Building Serverless AI-powered Applications on AWS @adhorn
  • 2. • Technical Evangelist, Developer Advocate, … Software Engineer • Own bed in Finland • Previously: • Solutions Architect @AWS • Lead Cloud Architect @Dreambroker • Director of Engineering, Software Engineer, DevOps, Manager, ... @Hdm • Researcher @Nokia Research Center • and a bunch of other stuff. • Climber, like Ginger shots.
  • 3. What to Expect from the Session 1. A little bit history & theory never kills 2. AI in AWS 3. Building AI-powered apps x3
  • 4.
  • 5. No servers to provision or manage Scales with usage Never pay for idle Availability and fault tolerance built in Serverless means…
  • 6. EVENT DRIVEN CONTINUOUS SCALING PAY BY USAGE Serverless means…
  • 7. Exposing functionality rather than the whole server(s). Serverless means…
  • 12.
  • 13. Machine Learning In The Hands Of Every Developer
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Machine Learning On AWS Today
  • 15. Machine Learning In The Hands Of Every Developer
  • 16. Text In, Life-like Speech Out Amazon Polly “Today in Seattle, WA it’s 11°F” “Today in Seattle Washington it’s 11 degrees Fahrenheit” 47 lifelike voices spread across 24 languages
  • 17. “Today in Seattle, WA, it’s 11°F” ‘"We live for the music" live from the Madison Square Garden.’ 1. Automatic, Accurate Text Processing A Focus On Voice Quality & Pronunciation
  • 18. 2. Intelligible and Easy to Understand 1. Automatic, Accurate Text Processing A Focus On Voice Quality & Pronunciation
  • 19. 2. Intelligible and Easy to Understand 3. Add Semantic Meaning to Text “Richard’s number is 2122341237“ “Richard’s number is 2122341237“ Telephone Number A Focus On Voice Quality & Pronunciation 1. Automatic, Accurate Text Processing
  • 20. 2. Intelligible and Easy to Understand 3. Add Semantic Meaning to Text 4. Customized Pronunciation “My daughter’s name is Kaja.” “My daughter’s name is Kaja.” A Focus On Voice Quality & Pronunciation 1. Automatic, Accurate Text Processing
  • 21. A Focus On Voice Quality & Pronunciation https://www.w3.org/TR/speech-synthesis/<speak> The spelling of my last name is <prosody rate='x-slow'> <say-as interpret-as="characters">Adrian</say-as> </prosody></speak>
  • 22. Duolingo voices its language learning service Using Polly Duolingo is a free language learning service where users help translate the web and rate translations. With Amazon Polly our users benefit from the most lifelike Text-to-Speech voices available on the market. Severin Hacker CTO, Duolingo ” “ • Spoken language crucial for language learning • Accurate pronunciation matters • Faster iteration thanks to TTS • As good as natural human speech
  • 23.
  • 24. <API> Amazon Polly </API> aws polly synthesize-speech --text "It was nice to live such a wonderful live show" --output-format mp3 --voice-id Joanna --text-type text johanna.mp3
  • 26.
  • 27. <demo> Amazon PollyCast </demo> * Initial project by James Siri, Piotr Lewalski https://github.com/adhorn/pollycast
  • 28. 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
  • 29. Object & Scene Detection
  • 30. Object & Scene Detection
  • 36. Amazon Rekognition Customers • Digital Asset Management • Media and Entertainment • Travel and Hospitality • Influencer Marketing • Systems Integration • Digital Advertising • Consumer Storage • Law Enforcement • Public Safety • eCommerce • Education
  • 37. <API> Amazon Rekognition </API> aws rekognition detect-faces --image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}' --attributes "ALL" aws rekognition detect-labels --image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}'
  • 39. http://poliko.adhorn.me Poliko Take Pic Amazon Cognito 2. Detect Labels 4. Synthesize-speech Amazon Rekognition Amazon Polly 3. Detect Faces Amazon S3 “Static website hosting” enabled
  • 40. Cognito support for Identity Username Password Sign In SAML Identity Provider Amazon Cognito2. Get AWS credentials API Gateway DynamoDB S3 Lambda Cognito User Pools Rekognition Polly
  • 42. <demo> Poliko powered by Amazon Polly & Rekognition </demo> https://github.com/adhorn/poliko http://poliko.adhorn.me * Initial project by Martin Elwin
  • 43. Backend powered by Step Functions
  • 44. Start Sequential Steps U p l o a d R AW f i l e D e l e t e R AW f i l e End AWS Step Functions
  • 45. S e l e c t i m a g e c o n v e rt e r RA W t o J P E G RA W t o P NGRA W t o TI FF L o a d i n Da t a b a se Start End Un s u p p or te d i m a g e t yp eParallel Steps AWS Step Functions
  • 46. P r o c e s s p h o t o Re s i ze i m a g e Start End E xt r a c t m e t a d a ta Fa c i a l r e c o g n it i on L o a d i n Da t a b a se Branching Steps AWS Step Functions
  • 47.
  • 49. <demo> Image Recognition and Processing Backend Step Functions </demo> https://github.com/awslabs/lambda-refarch-imagerecognition
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Questions? Adrian Hornsby, Technical Evangelist @adhorn adhorn@amazon.com

Notas del editor

  1. you have a lot to cover and you are happy to field questions after the talk.
  2. A trillion is 1,000,000,000,000, also know as 10 to the 12th power, or one million million. It’s such a large number it’s hard to get your head around it, so sometimes trillion just means “wow, a lot.”
  3. AWS is an AI enabler .. For all the reason mentioned here – When AWS was established in 2006, one core premise was to allow anyone, even a student in his door-room, to get access to the same technologies that Fortune 500 companies have – we called it democratization of technology.
  4. And the result of this is that we see a ton of machine learning up on AWS today, literally from A through to Z. So everything from Ancestry, who are using machine learning and deep learning to be able to process genomic information and build out family trees, all the way through to Zillow, who use machine learning to do house-price estimation up on the website.
  5. Amazon Web Services provides a rich ecosystem to help you build smarter applications. In this context, it is worth highlighting the higher level AI services based on deep learning algorithms, like Amazon Rekognition, an image recognition service, Amazon Polly, a text to speech synthesizer, and Amazon Lex, a voice and text chatbot service. We also provide the infrastructure including GPU EC2 instances for fast parallel processing which you can use in combination with any of the popular deep learning libraries like Apache mxnet, Tensorflow, Theano, etc, all of which are available on the AWS deep learning AMI. For your general machine learning purposes, you can also use EC2, Amazon Elastic MapReduce and Spark with SparkML to run any machine learning algorithm. Another popular library is the python scikit-learn, which you can deploy on AWS Lambda or containers, or EC2. So what I am trying to convey is that there is a lot of choice, which basically boils down to picking the right tool for the right job, where you can make trade-offs between ‘do your own’ with all the flexibility, or picking a managed solution which allows you to get results fast without having to do the heavy lifting.
  6. The basics are pretty simple, but the service has deep functionality. You can send the service a simple string of text, and it will generate the life like voice in your choice of 47 different voices. But it’s not naive of the context of the text. For example, the text here - ‘WA’ and ‘degree F’, that would sound strange if it were spoken out loud. Instead, Polly will automatically expand the text strings ‘WA’ and ‘degree F’, to ‘Washington’ and ‘degrees fahrenheit’, to create more life like speech. The developer doesn’t have to do anything - just send the text, and get life like voice back.
  7. 30
  8. 24
  9. a fully managed deep learning based image recognition service. 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.
  10. Image moderation Rekognition automatically detects explicit or suggestive adult content in your images, and provides confidence scores.
  11. 26
  12. 24
  13. 24