SlideShare a Scribd company logo
Intro to Cloud AI with
Azure and Unity
Pablo Farias Navarro
Zenva founder
Project Files
https://gamedevacademy.org/intro-to-cloud-ai-with-microsoft-azure-cognitive-services/
Workshop outcomes
What is AI and
Microsoft Azure
Cognitive Services
Using cloud AI in Unity
apps & games
Implementation
details
Why?
Impact in daily life Opportunities In-demand skills
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Roadmap
1. ✅ Introduction
2. ➡ What is AI
3. Microsoft Azure Cognitive Services
4. Unity demos
5. Unity basics
6. Unity in-depth implementation
7. Q&A
What is AI?
GOFAI
• Explicit definition of symbols
and algorithms
• There is no actual “learning”
• No capacity to abstract
information into new
concepts
Machine Learning
• Statistic approach
• Train model with large amounts of data
• Model is able to learn and generalize
• Predict, classify, generate
Real-world applications
• Computer vision
• Text and speech recognition
• Recommendation algorithms
• Pattern detection
• Includes all industry verticals
Using ML in your apps
Creating and training
a model
Training an existing
model
Using a third-party ML
service
Creation of models
• Advanced Math, Statistics and
Computer Science knowledge
• Often done at postgraduate
level
• Really cutting-edge and exciting
field
Training of existing models
• Find a suitable model and data
• Free libraries like Tensorflow
• Deployment
Third-party ML services
• Can be integrated into any app
• You don’t have to train it, host it
or maintain it
• Microsoft, AWS, Google, and
others
• Black blox, cost $$$
Overview
Creating and training
a model
Training an existing
model
Using a third-party ML
service
Roadmap
1. ✅ Introduction
2. ✅ What is AI
3. ➡ Microsoft Azure Cognitive Services
4. Unity demos
5. Unity basics
6. Unity in-depth implementation
7. Q&A
Microsoft Azure
Cognitive Services
• Set of APIs for common AI
needs
• Hosted on Microsoft Azure
• Can be plugged into any app
or game
Overview
Supported languages
• C#
• Python
• Java
• JavaScript (Node.js)
• Go
• Direct API calls (language agnostic)
Main areas
Decision Language Vision
Speech
Workflow
App takes
photo
App sends a
request to
Azure
Azure
processes
image
Azure sends
a response
back to the
App
App receives
image data
Example: https://azure.microsoft.com/en-au/services/cognitive-services/computer-vision/#features
JSON
• Data exchange format
• Commonly used when using
APIs
• Easy for humans to write and
read
• Example beautifier:
https://jsonparseronline.com/
Creating the service
• Create Azure subscription
• Create Resource Group
• Create Computer Vision
service
• Obtain keys and domain
Authentication
• How does Azure know who is
sending the request?
• Keep your credentials safe!
• You can use mine during this
workshop
Challenge 1: Run an API call
1. Open a text or code editor (or go to pastebin.com)
2. Go to to the Image Analysis docs, REST API (link in Zoom)
3. Copy the command into the text editor
4. Make the following changes:
• Replace <subscriptionKey> by what’s added on Zoom
• Replace https://westcentralus.api.cognitive.microsoft.com by
5. Open a terminal, paste command and press ENTER:
• Windows: Command Prompt (cmd), NOT Power Shell
• Mac: Terminal
5. Copy response into a JSON beautifier (https://jsonparseronline.com/)
6. Extra credits: replace the image URL by another image
Challenge 2: Run an API call
1. Create an Azure Computer Vision Service
2. Obtain service keys
3. Modify the API call from Challenge 1, to utilize
Roadmap
1. ✅ Introduction
2. ✅ What is AI
3. ✅ Microsoft Azure Cognitive Services
4. ➡ Unity demos
5. Unity basics
6. Unity in-depth implementation
7. Q&A
Unity Demos
Overview
Azure Cognitive Services APIS:
• Object detection (image analysis)
• Text recognition (OCR)
• Text to speech
Image sources:
• Webcam
• In-game camera
Roadmap
1. ✅ Introduction
2. ✅ What is AI
3. ✅ Microsoft Azure Cognitive Services
4. ✅ Unity demos
5. ➡ Unity basics
6. Unity in-depth implementation
7. Q&A
Unity Basics
Challenge 3: Re-create Webcam Demo
1. Create a new Scene in Unity
2. Add the following prefabs:
• UICanvas
• WebcamCanvas
• Object Detection
• Text Recognition
• Text to Speech
3. Add subscription keys to Object Detection, Text Recognition and Text to
Speech (select “Webcam” as the source)
4. Setup the events like in Demo 2
5. Make 1 unique change
Challenge 4: Expand In-Game Demo
- Add new items to Demo 1 (use the Asset Store)
Look for realistic, free packages.
- Make 1 logic change
Roadmap
1. ✅ Introduction
2. ✅ What is AI
3. ✅ Microsoft Azure Cognitive Services
4. ✅ Unity demos
5. ✅ Unity basics
6. ➡ Unity in-depth implementation
7. Q&A
Unity In-Depth
Implementation
Modules
• UI canvas
• Webcam
• In-game screenshots
• Computer Vision
• Speech
Roadmap
1. ✅ Introduction
2. ✅ What is AI
3. ✅ Microsoft Azure Cognitive Services
4. ✅ Unity demos
5. ✅ Unity basics
6. ✅ Unity in-depth implementation
7. ➡ Q&A
Q&A
Roadmap
1. ✅ Introduction
2. ✅ What is AI
3. ✅ Microsoft Azure Cognitive Services
4. ✅ Unity demos
5. ✅ Unity basics
6. ✅ Unity in-depth implementation
7. ✅ Q&A
Thank You
Pablo Farias Navarro
Zenva founder

More Related Content

PDF
How AI is creating what's next in government
PDF
Azure Cognitive Services - Custom Vision
PPTX
Computer Vision and Text Analytics Using Azure Cognitive Services
PPTX
Custom vision
PPTX
Improving your vision with Azure Cognitive Services - MixUG
PPTX
Top picks from 2021 release wave 2 - Power Platform
PDF
Microsoft & Machine Learning / Artificial Intelligence
PDF
[Developers Festa Sapporo 2019] Azure Updates - Ignite 2019
How AI is creating what's next in government
Azure Cognitive Services - Custom Vision
Computer Vision and Text Analytics Using Azure Cognitive Services
Custom vision
Improving your vision with Azure Cognitive Services - MixUG
Top picks from 2021 release wave 2 - Power Platform
Microsoft & Machine Learning / Artificial Intelligence
[Developers Festa Sapporo 2019] Azure Updates - Ignite 2019

What's hot (20)

PPTX
Best practices with Microsoft Graph: Making your applications more performant...
PDF
Krish Azure AI webinar
PDF
Intro to Product Development
PDF
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
PPTX
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
PDF
Device Twins, Digital Twins and Device Shadow
PDF
Deliver an Enhanced User Experience by Combining Azure, Teams and the Microso...
PPTX
Introduction to Machine learning and Deep Learning
PDF
Build & Track Your Mobile App
PPTX
Introduction to Microsoft IoT Central
PDF
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
PDF
Flux QL - Nexgen Management of Time Series Inspired by JS
PPTX
IoT, ready for business
PPTX
Microsoft Innovation Summit
PPTX
Microsoft Azure - The Best Platform for AI
PPTX
What's new for Serverless Computing in Azure
PPTX
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...
PPTX
Microsoft Graph: The API for Microsoft 365
PDF
Azure from Rookie to DevStart
PDF
Everything you always wanted to know about API Management (but were afraid to...
Best practices with Microsoft Graph: Making your applications more performant...
Krish Azure AI webinar
Intro to Product Development
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver Dörr - T...
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
Device Twins, Digital Twins and Device Shadow
Deliver an Enhanced User Experience by Combining Azure, Teams and the Microso...
Introduction to Machine learning and Deep Learning
Build & Track Your Mobile App
Introduction to Microsoft IoT Central
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Flux QL - Nexgen Management of Time Series Inspired by JS
IoT, ready for business
Microsoft Innovation Summit
Microsoft Azure - The Best Platform for AI
What's new for Serverless Computing in Azure
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...
Microsoft Graph: The API for Microsoft 365
Azure from Rookie to DevStart
Everything you always wanted to know about API Management (but were afraid to...
Ad

Similar to Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop (20)

PPTX
Artificial Intelligence Day 2 Slides for your Reference Happy Learning
PPTX
Microsoft AI Platform Overview
PDF
Build and Modernize Intelligent Apps​
PPTX
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
PPTX
Ai big dataconference_krakovetskyi_microsoft ai a new era of smart solutions
PDF
Smart Web Apps with Azure and AI as a Service
PPTX
.NET Fest 2017. Олександр Краковецький. Інструменти та технології Microsoft в...
PDF
TechEvent 2019: Artificial Intelligence in Dev & Ops; Martin Luckow - Trivadis
PPTX
Azure thursday HoloLens and cognitive services a powerful combination
PDF
AI-900: Microsoft Azure AI Fundamentals 2021
PPTX
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
PPTX
Designing Artificial Intelligence
PPTX
.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
PPTX
AI Orange Belt - Session 4
PPTX
AI on the Edge
PDF
Microsoft AI Platform Whitepaper
PPTX
The Microsoft AI platform: a State of the Union
PPTX
Improving your vision with Azure Cognitive Services - /dev/070
PPTX
Bring ai into your xamarin apps with microsoft cognitive services
PPTX
UNIT III_Cloud APIs for CV_unit III power point
Artificial Intelligence Day 2 Slides for your Reference Happy Learning
Microsoft AI Platform Overview
Build and Modernize Intelligent Apps​
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
Ai big dataconference_krakovetskyi_microsoft ai a new era of smart solutions
Smart Web Apps with Azure and AI as a Service
.NET Fest 2017. Олександр Краковецький. Інструменти та технології Microsoft в...
TechEvent 2019: Artificial Intelligence in Dev & Ops; Martin Luckow - Trivadis
Azure thursday HoloLens and cognitive services a powerful combination
AI-900: Microsoft Azure AI Fundamentals 2021
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
Designing Artificial Intelligence
.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
AI Orange Belt - Session 4
AI on the Edge
Microsoft AI Platform Whitepaper
The Microsoft AI platform: a State of the Union
Improving your vision with Azure Cognitive Services - /dev/070
Bring ai into your xamarin apps with microsoft cognitive services
UNIT III_Cloud APIs for CV_unit III power point
Ad

More from Pablo Farías Navarro (9)

PPTX
Unite Sydney - Xr Input Mapping
PPTX
Create Your First VR Educational App with Unity
PPTX
Teacher Training Workshop - Game Development with Phaser
PPTX
Creating Unity VR Experiences with 360 Content - Brisbane VR Hackathon 2017
ODP
How to launch a successful Kickstarter campaign
ODP
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
ODP
HTML5 Mobile Game Development Workshop - Module 1 - HTML5 Developer Conferenc...
PPTX
How to launch a successful kickstarter campaign
ODP
HTML5 Mobile Game Development - Brisbane Game Technology Meetup 2015
Unite Sydney - Xr Input Mapping
Create Your First VR Educational App with Unity
Teacher Training Workshop - Game Development with Phaser
Creating Unity VR Experiences with 360 Content - Brisbane VR Hackathon 2017
How to launch a successful Kickstarter campaign
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
HTML5 Mobile Game Development Workshop - Module 1 - HTML5 Developer Conferenc...
How to launch a successful kickstarter campaign
HTML5 Mobile Game Development - Brisbane Game Technology Meetup 2015

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology
Understanding_Digital_Forensics_Presentation.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Unlocking AI with Model Context Protocol (MCP)
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The AUB Centre for AI in Media Proposal.docx
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology

Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop

  • 1. Intro to Cloud AI with Azure and Unity Pablo Farias Navarro Zenva founder
  • 3. Workshop outcomes What is AI and Microsoft Azure Cognitive Services Using cloud AI in Unity apps & games Implementation details
  • 4. Why? Impact in daily life Opportunities In-demand skills
  • 6. Roadmap 1. ✅ Introduction 2. ➡ What is AI 3. Microsoft Azure Cognitive Services 4. Unity demos 5. Unity basics 6. Unity in-depth implementation 7. Q&A
  • 8. GOFAI • Explicit definition of symbols and algorithms • There is no actual “learning” • No capacity to abstract information into new concepts
  • 9. Machine Learning • Statistic approach • Train model with large amounts of data • Model is able to learn and generalize • Predict, classify, generate
  • 10. Real-world applications • Computer vision • Text and speech recognition • Recommendation algorithms • Pattern detection • Includes all industry verticals
  • 11. Using ML in your apps Creating and training a model Training an existing model Using a third-party ML service
  • 12. Creation of models • Advanced Math, Statistics and Computer Science knowledge • Often done at postgraduate level • Really cutting-edge and exciting field
  • 13. Training of existing models • Find a suitable model and data • Free libraries like Tensorflow • Deployment
  • 14. Third-party ML services • Can be integrated into any app • You don’t have to train it, host it or maintain it • Microsoft, AWS, Google, and others • Black blox, cost $$$
  • 15. Overview Creating and training a model Training an existing model Using a third-party ML service
  • 16. Roadmap 1. ✅ Introduction 2. ✅ What is AI 3. ➡ Microsoft Azure Cognitive Services 4. Unity demos 5. Unity basics 6. Unity in-depth implementation 7. Q&A
  • 18. • Set of APIs for common AI needs • Hosted on Microsoft Azure • Can be plugged into any app or game Overview
  • 19. Supported languages • C# • Python • Java • JavaScript (Node.js) • Go • Direct API calls (language agnostic)
  • 21. Workflow App takes photo App sends a request to Azure Azure processes image Azure sends a response back to the App App receives image data Example: https://azure.microsoft.com/en-au/services/cognitive-services/computer-vision/#features
  • 22. JSON • Data exchange format • Commonly used when using APIs • Easy for humans to write and read • Example beautifier: https://jsonparseronline.com/
  • 23. Creating the service • Create Azure subscription • Create Resource Group • Create Computer Vision service • Obtain keys and domain
  • 24. Authentication • How does Azure know who is sending the request? • Keep your credentials safe! • You can use mine during this workshop
  • 25. Challenge 1: Run an API call 1. Open a text or code editor (or go to pastebin.com) 2. Go to to the Image Analysis docs, REST API (link in Zoom) 3. Copy the command into the text editor 4. Make the following changes: • Replace <subscriptionKey> by what’s added on Zoom • Replace https://westcentralus.api.cognitive.microsoft.com by 5. Open a terminal, paste command and press ENTER: • Windows: Command Prompt (cmd), NOT Power Shell • Mac: Terminal 5. Copy response into a JSON beautifier (https://jsonparseronline.com/) 6. Extra credits: replace the image URL by another image
  • 26. Challenge 2: Run an API call 1. Create an Azure Computer Vision Service 2. Obtain service keys 3. Modify the API call from Challenge 1, to utilize
  • 27. Roadmap 1. ✅ Introduction 2. ✅ What is AI 3. ✅ Microsoft Azure Cognitive Services 4. ➡ Unity demos 5. Unity basics 6. Unity in-depth implementation 7. Q&A
  • 29. Overview Azure Cognitive Services APIS: • Object detection (image analysis) • Text recognition (OCR) • Text to speech Image sources: • Webcam • In-game camera
  • 30. Roadmap 1. ✅ Introduction 2. ✅ What is AI 3. ✅ Microsoft Azure Cognitive Services 4. ✅ Unity demos 5. ➡ Unity basics 6. Unity in-depth implementation 7. Q&A
  • 32. Challenge 3: Re-create Webcam Demo 1. Create a new Scene in Unity 2. Add the following prefabs: • UICanvas • WebcamCanvas • Object Detection • Text Recognition • Text to Speech 3. Add subscription keys to Object Detection, Text Recognition and Text to Speech (select “Webcam” as the source) 4. Setup the events like in Demo 2 5. Make 1 unique change
  • 33. Challenge 4: Expand In-Game Demo - Add new items to Demo 1 (use the Asset Store) Look for realistic, free packages. - Make 1 logic change
  • 34. Roadmap 1. ✅ Introduction 2. ✅ What is AI 3. ✅ Microsoft Azure Cognitive Services 4. ✅ Unity demos 5. ✅ Unity basics 6. ➡ Unity in-depth implementation 7. Q&A
  • 36. Modules • UI canvas • Webcam • In-game screenshots • Computer Vision • Speech
  • 37. Roadmap 1. ✅ Introduction 2. ✅ What is AI 3. ✅ Microsoft Azure Cognitive Services 4. ✅ Unity demos 5. ✅ Unity basics 6. ✅ Unity in-depth implementation 7. ➡ Q&A
  • 38. Q&A
  • 39. Roadmap 1. ✅ Introduction 2. ✅ What is AI 3. ✅ Microsoft Azure Cognitive Services 4. ✅ Unity demos 5. ✅ Unity basics 6. ✅ Unity in-depth implementation 7. ✅ Q&A
  • 40. Thank You Pablo Farias Navarro Zenva founder