34
GEERT VAN DER CRUIJSEN GIVE YOUR XAMARIN APPS EYES, EARS AND A BRAIN WITH COGNITIVE SERVICES

Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

Embed Size (px)

Citation preview

Page 1: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

GEERT VAN DER CRUIJSEN

GIVE YOUR XAMARIN APPS

EYES, EARS AND A BRAIN WITH

COGNITIVE SERVICES

Page 2: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AboutGeert

Geert van der CruijsenMobile First Cloud First ArchitectXpirit Netherlands@geertvdc – [email protected]

Page 3: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI is the biggest new hype in software development

Should I care when I’m just building mobile apps?

Page 4: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI HYPE

Page 5: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI HYPE

Page 6: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

But AI is not new

Page 7: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI IS NOT NEW

Alan TuringInvited the Turing test in 1950

Page 8: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI IS NOT NEW

Captcha’sAre reverse Turing tests

Page 9: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI IS NOT NEW

Marvin MinskyThe “father” or AI

Page 10: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI IS NOT NEW

1955 Dartmouth Research Project

Page 11: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

REASONING

KNOWLEDGE REPRESENTATION

PLANNING(INCLUDING

NAVIGATION)

NATURALLANGUAGE

PROCESSINGPERCEPTION

AI IS NOT NEW – DARTMOUTH RESEARCH PROJECT

Page 12: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

REASONING

KNOWLEDGE REPRESENTATION

PLANNING(INCLUDING

NAVIGATION)

NATURALLANGUAGE

PROCESSINGPERCEPTION

AI IS NOT NEW – DARTMOUTH RESEARCH PROJECT

GENERALIZED INTELLIGENCE

Page 13: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

General Intelligence is still far away

Page 14: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

And maybe that’s a good thing

Page 15: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

Why AI now?

Page 16: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

WHY AI NOW?

The arrival of machine learning Performance for decades-old challenges has been transformed

Image recognition

Speech recognition

October 2016

Microsoft researchers reach human parity in conversational speech recognition

Page 17: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

Let’s do a small testHow many dogs can you find in 2 seconds?

Page 18: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services
Page 19: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

How many did you count?Did anyone find all 10?

Page 20: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

WHY AI NOW?

Old way: Rules

• Build systems to look for ears,noses, legs, fur…

• Hire linguists and writegrammar rules

New way: 2012 Machine Learning

• Huge catalogue of images(way more data)

• Huge computing power

• Over time it learns ratherthan need rules

Page 21: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI & Mobile?Sure I believe the hype but why care as a mobile dev?

Page 22: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI & MOBILE

User Experience

AI is making natural language and interaction possible

Rize of the Chatbots

Rize of the Personal Assistants

Page 23: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI & MOBILE

Sensors Everywhere

But mostly in your phones

Mobile is the interface to the intelligent cloud and intelligent edge

Page 24: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AI & MOBILE

Innovation in hardware & mobile OS

Apple adds A11 chip focussing on AI Processing

Apple adds CoreML APIs to iOS 11

Android Tensorflow Lite coming later this year

Page 25: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

Microsoft Cognitive ServicesLets see what we can do infuse our apps with AI

Page 26: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

Machine Learning as a ServiceCognitive services are trained models ready to use

MICROSOFT COGNITIVE SERVICES

Page 27: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

MICROSOFT COGNITIVE SERVICES

Language

LUISSpell CheckLinguistic AnalysisText AnalyticsTranslatorWeb Language Model

Vision

Computer VisionContent ModeratorEmotionFaceVideoVideo Indexer

Speech

SpeechSpeaker RecognitionTranslatorCustom

Search

AutosuggestImageNewsVideoWebCustom

Knowledge

AcademicEntity LinkingExplorationQnA MakerRecommendations

Bot Framework

Page 28: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

Inspirational use casesWhat kind of ideas can you steal/borrow and add to your own apps

MICROSOFT COGNITIVE SERVICES

Page 29: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

INSPIRATION: VISION

UBER:Driver verification using vision API

Page 30: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

INSPIRATION: SPEECH

Speech to TextBuild your own personal assistant or voice recorder

Page 31: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

INSPIRATION: LANGUAGE

Spell check User input

Page 32: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services
Page 33: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

SHOW ME SOME CODE ALREADY!github.com/geertvdcgithub.com/xpiritbv

Page 34: Techdays 2017: Give your Xamarin Apps eyes, ears and a brain with Cognitive Services

AboutGeert

Thank you!

https://mobilefirstcloudfirst.net@geertvdc – [email protected]