SlideShare a Scribd company logo
1 of 46
Download to read offline
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
What’s Cooking in the Cloud?
Expanding the Menu for App Developers
Kasper Løvborg Jensen
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Chief Wizard, Founder
Leafcastle Labs
Associate Professor
Aarhus University School of Engineering
Organizer
Google Developer Group Aarhus
@kasperljkasper@leafcastlelabs.com
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
GCP NEXT ‘16 Conference
•  Machine Learning for all!
•  Cloud Vision for all!
•  Cloud Speech API for all (soon)!
•  StackDriver (works with AWS)!
•  …lots more!
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Outline
•  Why cloud?
•  Mobile backends
– Experiences
– Patterns
•  New powerful Tools/APIs
– Machine Learning
– Speech API
– Cloud Vision
•  Demo: TA-800
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Why I am Excited about Cloud / GCP
•  Backends for mobile/wearable/web apps
–  Low/No Maintenance
–  Scalability
–  Reliability
–  Security
•  APIs / Services for applications
–  Integrate/synch with existing Services
–  Add powerful features/functionality through APIs
•  Great for startups
–  Business models and focus on creating value
–  Cost scales with growth
–  Speed of iteration and experiments
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
7
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
In My Steps
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
GCP Scalability
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
App Backend Needs
•  Storage
•  Computing
•  Network / serving
•  Cloud Messaging
•  Analytics
•  Tools
•  …
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Google Cloud Platform
Source:	GCP	NEXT	2016	keynote
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Mobile Backends?
Source:	Google,	Android,	Apple,	Chrome
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Mobile Backends
“Building a backend service for a mobile app is
similar to building a web-based service, with
some additional requirements:
•  Limit on-device data storage
•  Synchronize data across multiple devices
•  Handle the offline case gracefully
•  Send notifications and messages
•  Minimize battery drain”
hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Backend Patterns
M.C.	Escher
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
App Engine w. EndPoints
Modified	from:	hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Pure Firebase
hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Firebase + App Engine
hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Firebase + MVMs | Containers
hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Machine Learning
•  Machine Learning
•  Vision API
•  Speech API
•  Translate API
Source:	Google
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
FROM THIS
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
TO THIS
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Source:	www.tensorflow.org
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
But wait, isn’t Machine Learning EVIL?
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
If by evil, you mean
AWESOME!
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Cloud Speech APi
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Speech API
•  Solves really hard problems!
– Natural language recognition
– Open vocabulary
– Noisy environments
– 80+ Different languages
hAps://cloud.google.com/speech/
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Speech Horror Story ca. 2005
•  Distributed speech recognition in
app as part of my PhD
–  On PDA running Windows Mobile
with feature extraction through
custom DLL (c/c++)
–  Live stream features to Sphinx IV
DSR on Tomcat server that could
only handle one connection/request
at a time due to memory
requirements
–  Months of building/training speech,
grammar and acoustic models
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Live or Batch?
•  Batch
– Upload audio sample(s) and get
results when recognition
complete
•  Live
– Stream audio to server and
receive partial results as they
become available
hAps://cloud.google.com/speech/
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Cloud Vision API
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Cloud Vision API
•  Solves really hard problems!
–  Extract and label objects in arbitrary image
without context
–  Can be anything
–  Find details like facial features, tilt and
“emotions“
–  Lighting conditions
–  Blurry pictures
–  Vast amount of cameras and settings
–  …
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Case Study
•  Problem: Students falling asleep during
lectures
•  Solution: Need person some sort of
contraption to detect students falling
asleep and then wake them up
“Never send a man to
do a machine’s job”
-Gandalf
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
TA-800
•  IF we wanted to build a Terminator as a
teaching assistant
– Running Android
– Powered by Google Cloud / Skynet
•  Detect and “terminate” inactive students
during lectures
– High precision Nerf gatling gun
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
TA-800 Hardware
•  Nexus 6 or 6p
•  ATLAS prototype
•  Nerf minigun
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
TA-800 Behavior Protocol
While(true){
– Detect situation
•  Identify features and classify place/situation
– Acquire potential targets
•  Detect if sleeping
– TERMINATE Wake up targets
– Report to master
}
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Architecture
Master TA-800
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Demo
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
TA-800 Hack/Demo
•  Image processing based on Cloud Vision API
example app
https://github.com/GoogleCloudPlatform/
cloud-vision/tree/master/android/CloudVision
•  Firebase integration based on Firebase chat
example
https://github.com/firebase/AndroidChat
•  Total dev time:~6 hours (50%+ time on UI)
•  Will be on GitHub:
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Cloud Vision API
hAps://cloud.google.com/vision/
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Using Cloud Vision API
•  Specify request (JSON)
– Image
•  Content/source
– Features
•  Type
•  Max results
•  Handle result (JSON)
•  Android: use CloudVision API
–  com.google.apis:google-api-services-
vision:v1-rev2-1.21.0!
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Cloud Vision Detection Types
DETECTION_TYPES = [!
'TYPE_UNSPECIFIED',!
'FACE_DETECTION',!
'LANDMARK_DETECTION',!
'LOGO_DETECTION',!
'LABEL_DETECTION',!
'TEXT_DETECTION',!
'SAFE_SEARCH_DETECTION',!
]!
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Rich Response Data as JSON
•  Labels
–  Things/situations in the image
•  Faces
–  Faces, location in picture
–  Happy, angry, sad, surprised
–  Face “landmarks”: eyes, ears, …
–  Tilt, …
•  Logos
–  Known brands and logos
•  Landmarks
–  “Eiffel Tower”, “AROS museum”, …
–  Also including e.g. location metadata
•  Texts
–  OCR, finding text in the image
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
Your turn!
GCP:
https://cloud.google.com/
List of (most) products:
https://cloud.google.com/products/
Playground:
https://cloud-playground.appspot.com/playground/
Launcher:
https://cloud.google.com/launcher/
Firebase:
https://www.firebase.com/
Kasper Løvborg Jensen
Leafcastle Labs | Aarhus University
THANK YOU!
Questions?
@kasperlj
kasper@leafcastlelabs.com

More Related Content

What's hot

Containers and Kubernetes
Containers and KubernetesContainers and Kubernetes
Containers and KubernetesAltoros
 
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...Docker, Inc.
 
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...tdc-globalcode
 
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud ComputingRICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud ComputingMark Hinkle
 
Kubernetes Architecture
 Kubernetes Architecture Kubernetes Architecture
Kubernetes ArchitectureKnoldus Inc.
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetesrajdeep
 
Deeplearning and dev ops azure
Deeplearning and dev ops azureDeeplearning and dev ops azure
Deeplearning and dev ops azureVishwas N
 
Dev309 from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-finalDev309  from asgard to zuul - netflix oss-final
Dev309 from asgard to zuul - netflix oss-finalRuslan Meshenberg
 
Read ebook Kubernetes Cookbook: Building Cloud Native Applications Full Access
Read ebook Kubernetes Cookbook: Building Cloud Native Applications Full AccessRead ebook Kubernetes Cookbook: Building Cloud Native Applications Full Access
Read ebook Kubernetes Cookbook: Building Cloud Native Applications Full Accessillingstabilityb
 
Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases Krishna-Kumar
 
Production ready tooling for microservices on kubernetes
Production ready tooling for microservices on kubernetesProduction ready tooling for microservices on kubernetes
Production ready tooling for microservices on kubernetesChandresh Pancholi
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesSlideTeam
 
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...Oleg Shalygin
 
DockerCon EU 2015: Production Ready Containers from IBM and Docker
DockerCon EU 2015: Production Ready Containers from IBM and DockerDockerCon EU 2015: Production Ready Containers from IBM and Docker
DockerCon EU 2015: Production Ready Containers from IBM and DockerDocker, Inc.
 
Kubernetes on AWS
Kubernetes on AWSKubernetes on AWS
Kubernetes on AWSGrant Ellis
 
Simple tweaks to get the most out of your JVM
Simple tweaks to get the most out of your JVMSimple tweaks to get the most out of your JVM
Simple tweaks to get the most out of your JVMJamie Coleman
 
Introduction to Google Compute Engine
Introduction to Google Compute EngineIntroduction to Google Compute Engine
Introduction to Google Compute EngineColin Su
 
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...Frank Munz
 

What's hot (20)

Istio canaries and kubernetes
Istio  canaries and kubernetesIstio  canaries and kubernetes
Istio canaries and kubernetes
 
Containers and Kubernetes
Containers and KubernetesContainers and Kubernetes
Containers and Kubernetes
 
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...
 
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud ComputingRICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
 
Kubernetes Architecture
 Kubernetes Architecture Kubernetes Architecture
Kubernetes Architecture
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Deeplearning and dev ops azure
Deeplearning and dev ops azureDeeplearning and dev ops azure
Deeplearning and dev ops azure
 
Dev309 from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-finalDev309  from asgard to zuul - netflix oss-final
Dev309 from asgard to zuul - netflix oss-final
 
Read ebook Kubernetes Cookbook: Building Cloud Native Applications Full Access
Read ebook Kubernetes Cookbook: Building Cloud Native Applications Full AccessRead ebook Kubernetes Cookbook: Building Cloud Native Applications Full Access
Read ebook Kubernetes Cookbook: Building Cloud Native Applications Full Access
 
Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases
 
Production ready tooling for microservices on kubernetes
Production ready tooling for microservices on kubernetesProduction ready tooling for microservices on kubernetes
Production ready tooling for microservices on kubernetes
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
 
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
 
DockerCon EU 2015: Production Ready Containers from IBM and Docker
DockerCon EU 2015: Production Ready Containers from IBM and DockerDockerCon EU 2015: Production Ready Containers from IBM and Docker
DockerCon EU 2015: Production Ready Containers from IBM and Docker
 
Kubernetes on AWS
Kubernetes on AWSKubernetes on AWS
Kubernetes on AWS
 
Simple tweaks to get the most out of your JVM
Simple tweaks to get the most out of your JVMSimple tweaks to get the most out of your JVM
Simple tweaks to get the most out of your JVM
 
Introduction to Google Compute Engine
Introduction to Google Compute EngineIntroduction to Google Compute Engine
Introduction to Google Compute Engine
 
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...Serverless Presentation from Devoxx 2017 Casablanca  (AWS Lambda / FaaS / Fn ...
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
 

Viewers also liked

Cook Recipe App ERD
Cook Recipe App ERDCook Recipe App ERD
Cook Recipe App ERDFriend Porag
 
Simply cook- Apps for good presentation
Simply cook- Apps for good presentation Simply cook- Apps for good presentation
Simply cook- Apps for good presentation cooking12345
 
mychef- the complete cook book
mychef- the complete cook bookmychef- the complete cook book
mychef- the complete cook bookROHIT SINGH
 
Cooking Recipe App
Cooking Recipe AppCooking Recipe App
Cooking Recipe AppFriend Porag
 
Q4 icookbook press brief
Q4 icookbook press briefQ4 icookbook press brief
Q4 icookbook press briefAppency
 
Foodie- mobile food app
Foodie- mobile food appFoodie- mobile food app
Foodie- mobile food appJohan Ahmed
 
Delicious – A Recipe Share App
Delicious – A Recipe Share AppDelicious – A Recipe Share App
Delicious – A Recipe Share AppZx MYS
 
Cook for love marketing plan
Cook for love marketing planCook for love marketing plan
Cook for love marketing planUpkar Singh
 
Revenue model for cooking app
Revenue model for cooking appRevenue model for cooking app
Revenue model for cooking appAlfacentavra
 
Foodgasm | Android App Marketing Plan | Final Project
Foodgasm | Android App Marketing Plan | Final ProjectFoodgasm | Android App Marketing Plan | Final Project
Foodgasm | Android App Marketing Plan | Final ProjectManal Shah
 
Cooking app - market size
Cooking app -  market sizeCooking app -  market size
Cooking app - market sizeAlfacentavra
 
Presentation for Cooking App
Presentation for Cooking AppPresentation for Cooking App
Presentation for Cooking AppTommy Roberts
 
Summer internship project report on online food app- TINYOWL
Summer internship project report on online food app- TINYOWLSummer internship project report on online food app- TINYOWL
Summer internship project report on online food app- TINYOWLSahil Jain
 

Viewers also liked (18)

Cook Recipe App ERD
Cook Recipe App ERDCook Recipe App ERD
Cook Recipe App ERD
 
Simply cook- Apps for good presentation
Simply cook- Apps for good presentation Simply cook- Apps for good presentation
Simply cook- Apps for good presentation
 
mychef- the complete cook book
mychef- the complete cook bookmychef- the complete cook book
mychef- the complete cook book
 
Cooking Recipe App
Cooking Recipe AppCooking Recipe App
Cooking Recipe App
 
Q4 icookbook press brief
Q4 icookbook press briefQ4 icookbook press brief
Q4 icookbook press brief
 
Foodie- mobile food app
Foodie- mobile food appFoodie- mobile food app
Foodie- mobile food app
 
Marketing plan for_app
Marketing plan for_appMarketing plan for_app
Marketing plan for_app
 
Delicious – A Recipe Share App
Delicious – A Recipe Share AppDelicious – A Recipe Share App
Delicious – A Recipe Share App
 
Cook for love marketing plan
Cook for love marketing planCook for love marketing plan
Cook for love marketing plan
 
Revenue model for cooking app
Revenue model for cooking appRevenue model for cooking app
Revenue model for cooking app
 
Foodgasm | Android App Marketing Plan | Final Project
Foodgasm | Android App Marketing Plan | Final ProjectFoodgasm | Android App Marketing Plan | Final Project
Foodgasm | Android App Marketing Plan | Final Project
 
Food 2.0, Part 1
Food 2.0, Part 1Food 2.0, Part 1
Food 2.0, Part 1
 
Cooking app - market size
Cooking app -  market sizeCooking app -  market size
Cooking app - market size
 
Le foodporn
Le foodpornLe foodporn
Le foodporn
 
Food 2.0, Part Two
Food 2.0, Part TwoFood 2.0, Part Two
Food 2.0, Part Two
 
Presentation for Cooking App
Presentation for Cooking AppPresentation for Cooking App
Presentation for Cooking App
 
In Search of Segmentation
In Search of SegmentationIn Search of Segmentation
In Search of Segmentation
 
Summer internship project report on online food app- TINYOWL
Summer internship project report on online food app- TINYOWLSummer internship project report on online food app- TINYOWL
Summer internship project report on online food app- TINYOWL
 

Similar to What's Cooking in the Cloud?

Introduction to Firebase with Android and Beyond...
Introduction to Firebase with Android and Beyond...Introduction to Firebase with Android and Beyond...
Introduction to Firebase with Android and Beyond...Kasper Loevborg Jensen
 
Mining public datasets using opensource tools: Zeppelin, Spark and Juju
Mining public datasets using opensource tools: Zeppelin, Spark and JujuMining public datasets using opensource tools: Zeppelin, Spark and Juju
Mining public datasets using opensource tools: Zeppelin, Spark and Jujuseoul_engineer
 
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
OpenFaaS - zero serverless in 60 seconds anywhere with case-studiesOpenFaaS - zero serverless in 60 seconds anywhere with case-studies
OpenFaaS - zero serverless in 60 seconds anywhere with case-studiesAlex Ellis
 
How LinkedIn Uses Scalding for Data Driven Product Development
How LinkedIn Uses Scalding for Data Driven Product DevelopmentHow LinkedIn Uses Scalding for Data Driven Product Development
How LinkedIn Uses Scalding for Data Driven Product DevelopmentSasha Ovsankin
 
Spark summit-east-dowling-feb2017-full
Spark summit-east-dowling-feb2017-fullSpark summit-east-dowling-feb2017-full
Spark summit-east-dowling-feb2017-fullJim Dowling
 
Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...
Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...
Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...Spark Summit
 
Hopsworks - The Platform for Data-Intensive AI
Hopsworks - The Platform for Data-Intensive AIHopsworks - The Platform for Data-Intensive AI
Hopsworks - The Platform for Data-Intensive AIQAware GmbH
 
Architecting for the Cloud using NetflixOSS - Codemash Workshop
Architecting for the Cloud using NetflixOSS - Codemash WorkshopArchitecting for the Cloud using NetflixOSS - Codemash Workshop
Architecting for the Cloud using NetflixOSS - Codemash WorkshopSudhir Tonse
 
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
Yow Conference Dec 2013 Netflix Workshop Slides with NotesYow Conference Dec 2013 Netflix Workshop Slides with Notes
Yow Conference Dec 2013 Netflix Workshop Slides with NotesAdrian Cockcroft
 
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)Eric Shupps
 
Cheng_Wang_resume
Cheng_Wang_resumeCheng_Wang_resume
Cheng_Wang_resumeCheng Wang
 
Cassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and SparkCassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and SparkEvan Chan
 
Apache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First LookApache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First LookShanker Balan
 
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...Vadym Kazulkin
 
H2O Rains with Databricks Cloud - Parisoma SF
H2O Rains with Databricks Cloud - Parisoma SFH2O Rains with Databricks Cloud - Parisoma SF
H2O Rains with Databricks Cloud - Parisoma SFSri Ambati
 
Oracle Apex Intoduction.pptx
Oracle Apex Intoduction.pptxOracle Apex Intoduction.pptx
Oracle Apex Intoduction.pptxAbhishekJha401
 
State of the OSU Open Source Lab
State of the OSU Open Source LabState of the OSU Open Source Lab
State of the OSU Open Source LabAll Things Open
 
Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...
Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...
Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...Evention
 
Secure Streaming-as-a-Service with Kafka/Spark/Flink in Hopsworks
Secure Streaming-as-a-Service with Kafka/Spark/Flink in HopsworksSecure Streaming-as-a-Service with Kafka/Spark/Flink in Hopsworks
Secure Streaming-as-a-Service with Kafka/Spark/Flink in HopsworksTheofilos Kakantousis
 

Similar to What's Cooking in the Cloud? (20)

Introduction to Firebase with Android and Beyond...
Introduction to Firebase with Android and Beyond...Introduction to Firebase with Android and Beyond...
Introduction to Firebase with Android and Beyond...
 
Mining public datasets using opensource tools: Zeppelin, Spark and Juju
Mining public datasets using opensource tools: Zeppelin, Spark and JujuMining public datasets using opensource tools: Zeppelin, Spark and Juju
Mining public datasets using opensource tools: Zeppelin, Spark and Juju
 
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
OpenFaaS - zero serverless in 60 seconds anywhere with case-studiesOpenFaaS - zero serverless in 60 seconds anywhere with case-studies
OpenFaaS - zero serverless in 60 seconds anywhere with case-studies
 
How LinkedIn Uses Scalding for Data Driven Product Development
How LinkedIn Uses Scalding for Data Driven Product DevelopmentHow LinkedIn Uses Scalding for Data Driven Product Development
How LinkedIn Uses Scalding for Data Driven Product Development
 
Spark summit-east-dowling-feb2017-full
Spark summit-east-dowling-feb2017-fullSpark summit-east-dowling-feb2017-full
Spark summit-east-dowling-feb2017-full
 
Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...
Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...
Spark-Streaming-as-a-Service with Kafka and YARN: Spark Summit East talk by J...
 
Hopsworks - The Platform for Data-Intensive AI
Hopsworks - The Platform for Data-Intensive AIHopsworks - The Platform for Data-Intensive AI
Hopsworks - The Platform for Data-Intensive AI
 
Architecting for the Cloud using NetflixOSS - Codemash Workshop
Architecting for the Cloud using NetflixOSS - Codemash WorkshopArchitecting for the Cloud using NetflixOSS - Codemash Workshop
Architecting for the Cloud using NetflixOSS - Codemash Workshop
 
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
Yow Conference Dec 2013 Netflix Workshop Slides with NotesYow Conference Dec 2013 Netflix Workshop Slides with Notes
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
 
CV-Jayusman
CV-JayusmanCV-Jayusman
CV-Jayusman
 
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)
Developing SharePoint Framework Solutions for the Enterprise (SPC 2019)
 
Cheng_Wang_resume
Cheng_Wang_resumeCheng_Wang_resume
Cheng_Wang_resume
 
Cassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and SparkCassandra Day 2014: Interactive Analytics with Cassandra and Spark
Cassandra Day 2014: Interactive Analytics with Cassandra and Spark
 
Apache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First LookApache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First Look
 
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
 
H2O Rains with Databricks Cloud - Parisoma SF
H2O Rains with Databricks Cloud - Parisoma SFH2O Rains with Databricks Cloud - Parisoma SF
H2O Rains with Databricks Cloud - Parisoma SF
 
Oracle Apex Intoduction.pptx
Oracle Apex Intoduction.pptxOracle Apex Intoduction.pptx
Oracle Apex Intoduction.pptx
 
State of the OSU Open Source Lab
State of the OSU Open Source LabState of the OSU Open Source Lab
State of the OSU Open Source Lab
 
Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...
Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...
Hopsworks Secure Streaming as-a-service with Kafka Flinkspark - Theofilos Kak...
 
Secure Streaming-as-a-Service with Kafka/Spark/Flink in Hopsworks
Secure Streaming-as-a-Service with Kafka/Spark/Flink in HopsworksSecure Streaming-as-a-Service with Kafka/Spark/Flink in Hopsworks
Secure Streaming-as-a-Service with Kafka/Spark/Flink in Hopsworks
 

Recently uploaded

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

What's Cooking in the Cloud?

  • 1. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University What’s Cooking in the Cloud? Expanding the Menu for App Developers Kasper Løvborg Jensen
  • 2. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Chief Wizard, Founder Leafcastle Labs Associate Professor Aarhus University School of Engineering Organizer Google Developer Group Aarhus @kasperljkasper@leafcastlelabs.com
  • 3. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University GCP NEXT ‘16 Conference •  Machine Learning for all! •  Cloud Vision for all! •  Cloud Speech API for all (soon)! •  StackDriver (works with AWS)! •  …lots more!
  • 4. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Outline •  Why cloud? •  Mobile backends – Experiences – Patterns •  New powerful Tools/APIs – Machine Learning – Speech API – Cloud Vision •  Demo: TA-800
  • 5. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University
  • 6. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Why I am Excited about Cloud / GCP •  Backends for mobile/wearable/web apps –  Low/No Maintenance –  Scalability –  Reliability –  Security •  APIs / Services for applications –  Integrate/synch with existing Services –  Add powerful features/functionality through APIs •  Great for startups –  Business models and focus on creating value –  Cost scales with growth –  Speed of iteration and experiments
  • 7. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University 7
  • 8. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University In My Steps
  • 9. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University
  • 10. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University
  • 11. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University GCP Scalability
  • 12. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University App Backend Needs •  Storage •  Computing •  Network / serving •  Cloud Messaging •  Analytics •  Tools •  …
  • 13. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Google Cloud Platform Source: GCP NEXT 2016 keynote
  • 14. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Mobile Backends? Source: Google, Android, Apple, Chrome
  • 15. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Mobile Backends “Building a backend service for a mobile app is similar to building a web-based service, with some additional requirements: •  Limit on-device data storage •  Synchronize data across multiple devices •  Handle the offline case gracefully •  Send notifications and messages •  Minimize battery drain” hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
  • 16. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Backend Patterns M.C. Escher
  • 17. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University App Engine w. EndPoints Modified from: hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
  • 18. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Pure Firebase hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
  • 19. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Firebase + App Engine hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
  • 20. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Firebase + MVMs | Containers hAps://cloud.google.com/soluEons/mobile/mobile-app-backend-services
  • 21. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Machine Learning •  Machine Learning •  Vision API •  Speech API •  Translate API Source: Google
  • 22. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University FROM THIS
  • 23. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University TO THIS
  • 24. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Source: www.tensorflow.org
  • 25. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University But wait, isn’t Machine Learning EVIL?
  • 26. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University If by evil, you mean AWESOME!
  • 27. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Cloud Speech APi
  • 28. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Speech API •  Solves really hard problems! – Natural language recognition – Open vocabulary – Noisy environments – 80+ Different languages hAps://cloud.google.com/speech/
  • 29. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Speech Horror Story ca. 2005 •  Distributed speech recognition in app as part of my PhD –  On PDA running Windows Mobile with feature extraction through custom DLL (c/c++) –  Live stream features to Sphinx IV DSR on Tomcat server that could only handle one connection/request at a time due to memory requirements –  Months of building/training speech, grammar and acoustic models
  • 30. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University
  • 31. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Live or Batch? •  Batch – Upload audio sample(s) and get results when recognition complete •  Live – Stream audio to server and receive partial results as they become available hAps://cloud.google.com/speech/
  • 32. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Cloud Vision API
  • 33. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Cloud Vision API •  Solves really hard problems! –  Extract and label objects in arbitrary image without context –  Can be anything –  Find details like facial features, tilt and “emotions“ –  Lighting conditions –  Blurry pictures –  Vast amount of cameras and settings –  …
  • 34. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Case Study •  Problem: Students falling asleep during lectures •  Solution: Need person some sort of contraption to detect students falling asleep and then wake them up “Never send a man to do a machine’s job” -Gandalf
  • 35. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University TA-800 •  IF we wanted to build a Terminator as a teaching assistant – Running Android – Powered by Google Cloud / Skynet •  Detect and “terminate” inactive students during lectures – High precision Nerf gatling gun
  • 36. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University TA-800 Hardware •  Nexus 6 or 6p •  ATLAS prototype •  Nerf minigun
  • 37. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University TA-800 Behavior Protocol While(true){ – Detect situation •  Identify features and classify place/situation – Acquire potential targets •  Detect if sleeping – TERMINATE Wake up targets – Report to master }
  • 38. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Architecture Master TA-800
  • 39. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Demo
  • 40. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University TA-800 Hack/Demo •  Image processing based on Cloud Vision API example app https://github.com/GoogleCloudPlatform/ cloud-vision/tree/master/android/CloudVision •  Firebase integration based on Firebase chat example https://github.com/firebase/AndroidChat •  Total dev time:~6 hours (50%+ time on UI) •  Will be on GitHub:
  • 41. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Cloud Vision API hAps://cloud.google.com/vision/
  • 42. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Using Cloud Vision API •  Specify request (JSON) – Image •  Content/source – Features •  Type •  Max results •  Handle result (JSON) •  Android: use CloudVision API –  com.google.apis:google-api-services- vision:v1-rev2-1.21.0!
  • 43. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Cloud Vision Detection Types DETECTION_TYPES = [! 'TYPE_UNSPECIFIED',! 'FACE_DETECTION',! 'LANDMARK_DETECTION',! 'LOGO_DETECTION',! 'LABEL_DETECTION',! 'TEXT_DETECTION',! 'SAFE_SEARCH_DETECTION',! ]!
  • 44. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Rich Response Data as JSON •  Labels –  Things/situations in the image •  Faces –  Faces, location in picture –  Happy, angry, sad, surprised –  Face “landmarks”: eyes, ears, … –  Tilt, … •  Logos –  Known brands and logos •  Landmarks –  “Eiffel Tower”, “AROS museum”, … –  Also including e.g. location metadata •  Texts –  OCR, finding text in the image
  • 45. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University Your turn! GCP: https://cloud.google.com/ List of (most) products: https://cloud.google.com/products/ Playground: https://cloud-playground.appspot.com/playground/ Launcher: https://cloud.google.com/launcher/ Firebase: https://www.firebase.com/
  • 46. Kasper Løvborg Jensen Leafcastle Labs | Aarhus University THANK YOU! Questions? @kasperlj kasper@leafcastlelabs.com