SlideShare a Scribd company logo
Please check that you have your Azure
subscription ready for the workshop ☺
azure.microsoft.com/free
Students:
aka.ms/azure4students
Azure Cognitive Services  - Custom Vision
Introduction to
Azure Cognitive Services
Roman Sudarikov
Software Engineer @Microsoft
Luis Beltran
Microsoft MVP AI, Developer Technologies
Łukasz Foks
Technologies CEE Azure
Developer Product Marketing
Manager @ Microsoft
Microsoft Prague, September 22nd, 2019
roman-sudarikov-1508a358
luisantoniobeltran
luis@luisbeltran.mx
lukaszfoks
Azure Cognitive Services  - Custom Vision
Microsoft AI Platform
Azure Cognitive Services
Applying AI to your business
Computer Vision
Face/Emotion Recognition
OCR/Handwriting
Custom Vision
Video Indexer
Content Moderator
Text-to-Speech
Speech-to-Text
Translator
Custom Speech
Language Understanding
PII Detection
Text Translator
Text Analytics
QnA Maker
Bing Custom Search
Bing Visual Search
Azure Cognitive Services  - Custom Vision
Azure Cognitive Services  - Custom Vision
Azure Cognitive Services  - Custom Vision
Azure Cognitive Services  - Custom Vision
Azure Cognitive Services  - Custom Vision
Azure Cognitive Services  - Custom Vision
Face API
Face Detection
Emotion Detection
Azure Cognitive Services  - Custom Vision
Computer Vision API
Content of Image:
Categories v0: [{ “name”: “animal”, “score”: 0.9765625 }]
V1: [{ "name": "grass", "confidence": 0.9999992847442627 },
{ "name": "outdoor", "confidence": 0.9999072551727295 },
{ "name": "cow", "confidence": 0.99954754114151 },
{ "name": "field", "confidence": 0.9976195693016052 },
{ "name": "brown", "confidence": 0.988935649394989 },
{ "name": "animal", "confidence": 0.97904372215271 },
{ "name": "standing", "confidence": 0.9632768630981445 },
{ "name": "mammal", "confidence": 0.9366017580032349,
"hint": "animal" },
{ "name": "wire", "confidence": 0.8946959376335144 },
{ "name": "green", "confidence": 0.8844101428985596 },
{ "name": "pasture", "confidence": 0.8332059383392334 },
{ "name": "bovine", "confidence": 0.5618471503257751,
"hint": "animal" },
{ "name": "grassy", "confidence": 0.48627158999443054 },
{ "name": "lush", "confidence": 0.1874018907546997 },
{ "name": "staring", "confidence": 0.165890634059906 }]
Describe
0.975 "a brown cow standing on top of a lush green field“
0.974 “a cow standing on top of a lush green field”
0.965 “a large brown cow standing on top of a lush green field”
Old OCR New OCR
OCR
Azure Cognitive Services  - Custom Vision
Vision Speech Language
Natural Language Processing
Intent: PlayCall
Knowledge
Here are the top results:
The purpose of Customer Life-cycle Management (CLM)
is to maximize both customer retention and .... Predictive
trend analysis provides business visibility.
Oct 28, 2015 – Here are FIVE key trends in 2014 that
would help marketers in rolling ... Of late, marketers are
looking at customer lifecycle management (CLM)
Jan 5, 2016 – The top 10 customer service trends for
2016 that .... North American Consumer
Search
Here is what I found:
It also investigates the top three expected Fraud
Detection and Prevention programs, in terms of
demand in key markets…
First, let’s point out that there is not one
absolute answer—there are “pros” and “cons” to
each. Those who favor in-house…
Michael heads fraud prevention tool. Online and
mobile shopping are expected to continue
growing apace…
A variety of real-world applications
Apps powered by Azure Cognitive Services
Azure Cognitive Services  - Custom Vision
Azure Cognitive Services  - Custom Vision
Call to Action
• Azure Cognitive Services
aka.ms/cognitive-services
• Documentation:
https://docs.microsoft.com/en-us/azure/cognitive-services/
• GitHub Samples:
https://github.com/Azure-Samples/cognitive-services-REST-api-samples
• Container Support:
https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-
container-support
Thank you for your attention!
Roman Sudarikov
Software Engineer @Microsoft
Luis Beltran
Microsoft MVP AI, Developer
Technologies
Łukasz Foks
Technologies CEE Azure
Developer Product Marketing
Manager @ Microsoft
Microsoft Prague, September 22nd, 2019
roman-sudarikov-1508a358 luisantoniobeltran
luis@luisbeltran.mx
lukaszfoks
Last call: Please check that you have your
Azure subscription ready for the workshop ☺
azure.microsoft.com/free
Students:
aka.ms/azure4students
Deep Dive into
Azure Custom Vision
Roman Sudarikov
Software Engineer @Microsoft
Luis Beltran
Microsoft MVP AI, Developer Technologies
Łukasz Foks
Technologies CEE Azure
Developer Product Marketing
Manager @ Microsoft
Microsoft Prague, September 22nd, 2019
roman-sudarikov-1508a358
luisantoniobeltran
luis@luisbeltran.mx
lukaszfoks
28
Prepare Data
Image Classification
Build & Train
Run
Model definition & training
Model Evaluation
Deploy the model - web service, Dockers Container or IoT EdgeScore the model
Azure Cognitive Services  - Custom Vision
What is it?
Custom Vision Service is an easy-to-use tool for prototyping,
improving, and deploying a custom image classifier to a cloud service,
without any background in computer vision or deep learning required.
Model
Object Detection
Building a Classifier
• Create a project
• Select a domain
• Add images
• Assign tags to images
• Train the classifier
• Evaluate the classifier
Classifiers and Projects
A classifier is a model you
build using Custom Vision
Service, by using a few
training images.
Each classifier you build is
in its own project.
Classifier = Project
Domains
When you create a
project, you select a
domain for that project.
The domain optimizes a
classifier for a specific
type of object in your
images.
• Food
Optimized for dishes you would see on a restaurant
menu.
• Landmark
Optimized for recognizable landmarks, both natural
and artificial.
• Retail
Optimized for classifying images in a shopping
catalog or shopping website.
• Adult
Optimized to better define between adult content
and non-adult content.
Training Images
To create a high precision
classifier, Custom Vision
Service needs several
training images.
A training image is a
photograph of the image
you want Custom Vision
Service to classify.
Iteration
Every time you Train
or re-train your
classifier, you create
a new iteration of
your model.
Testing a Model
After you train your
model, you can quickly
test it using a locally
stored image or an
online image.
The test uses the most
recently trained
iteration.
Important Terms
Precision
When you classify an image,
how likely is your classifier to
correctly classify the image?
Recall
Out of all images that should
have been classified correctly,
how many did your classifier
identify correctly?
Using the Prediction API
After a successful training,
the Custom Vision Service
can be accessed via an
endpoint that references the
Project Identifier, as long as
the appropriate Prediction
Key is passed in the request
header.
Prediction API REST Concepts
All actions related to the
Custom Vision Service are
accessed via standard REST-
based methods, such as
GET and POST against an
API endpoint, making it
simple to use the Prediction
API on any platform or with
any programming language.
Train in the Cloud, Run Anywhere
Train in Custom Vision Service Deploy & Run Anywhere
Commonly Used APIs
PredictionTraining
• Createimages
• Tagimages
• Createprojects
• Manageprojects
• Manageiterations
• Createtags
• Getaccountinformation
• Trainaproject
• Predictimages
• Predictandsaveimages
• PredictimageURLs
• PredictandsaveimageURLs
Improving a Classifier
The best way to have a quality classifier is to add
more varied tagged images (different backgrounds,
angles, object size, groups of photos, and variants of
types.)
Always to train your classifier after you have added
more images. Include images that are representative
of what your classifier will encounter in the real
world.
Photos in context are better than photos of objects in
front of neutral backgrounds, for example.
Best Practices for using Custom Vision
• Use at least 30 images for each tag
• Images should be the focus of the picture
• Use sufficiently diverse images and backgrounds (ex: cats with red
background and dogs with blue background)
• Train with images that are similar in {quality, resolution, lighting, etc.} to
the images that will be used in prod
• Supports Microsoft accounts (MSA) and AAD
Computer Vision Scenario Examples
➢ Additional Scenarios
➢ Classify user submitted images to website
➢ Identifying elements – object counting, animal identification and lots more.
➢ Hazard detection/industrial safety – adding custom rules to videos
Azure Cognitive Services  - Custom Vision
Call to Action
• Azure Custom Vision
https://www.customvision.ai/
• Documentation:
https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-
service/
Thank you for your attention!
Roman Sudarikov
Software Engineer @Microsoft
Luis Beltran
Microsoft MVP AI, Developer
Technologies
Łukasz Foks
Technologies CEE Azure
Developer Product Marketing
Manager @ Microsoft
Microsoft Prague, September 22nd, 2019
roman-sudarikov-1508a358 luisantoniobeltran
luis@luisbeltran.mx
lukaszfoks

More Related Content

What's hot (20)

PDF
AWS Black Belt Online Seminar AWSで実現するDisaster Recovery
Amazon Web Services Japan
 
PPTX
AI for Everyone: Master the Basics
Stutty Srivastava
 
PPTX
Machine Learning vs. Deep Learning
Belatrix Software
 
PDF
CircleCI vs. CodePipeline
HonMarkHunt
 
PPTX
Collaborative Filtering Recommendation System
Milind Gokhale
 
PDF
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
Naoki (Neo) SATO
 
PDF
20191120 AWS Black Belt Online Seminar Amazon Managed Streaming for Apache Ka...
Amazon Web Services Japan
 
PDF
Exploring the Deep Dream Generator (an Art-Making Generative AI)
Shalin Hai-Jew
 
PDF
20191127 AWS Black Belt Online Seminar Amazon CloudWatch Container Insights で...
Amazon Web Services Japan
 
PDF
Exploring Generating AI with Diffusion Models
KonfHubTechConferenc
 
PDF
20180724 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
Amazon Web Services Japan
 
PDF
AWS vs Azure vs Google (GCP) - Slides
TobyWilman
 
PPTX
Generative AI presentation For Students.pptx
bnbtechnologiez
 
PDF
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
Amazon Web Services Japan
 
PDF
Amazon SageMaker で始める機械学習
Amazon Web Services Japan
 
PDF
Chicago AWS Solutions Architect Mehdy Haghy recaps the new AI/ML releases and...
AWS Chicago
 
PPTX
Recommendation system (1).pptx
prathammishra28
 
PDF
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
Amazon Web Services Korea
 
PPTX
cloud computing architecture.pptx
SourodeepChakraborty3
 
PDF
20190514 AWS Black Belt Online Seminar Amazon API Gateway
Amazon Web Services Japan
 
AWS Black Belt Online Seminar AWSで実現するDisaster Recovery
Amazon Web Services Japan
 
AI for Everyone: Master the Basics
Stutty Srivastava
 
Machine Learning vs. Deep Learning
Belatrix Software
 
CircleCI vs. CodePipeline
HonMarkHunt
 
Collaborative Filtering Recommendation System
Milind Gokhale
 
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
Naoki (Neo) SATO
 
20191120 AWS Black Belt Online Seminar Amazon Managed Streaming for Apache Ka...
Amazon Web Services Japan
 
Exploring the Deep Dream Generator (an Art-Making Generative AI)
Shalin Hai-Jew
 
20191127 AWS Black Belt Online Seminar Amazon CloudWatch Container Insights で...
Amazon Web Services Japan
 
Exploring Generating AI with Diffusion Models
KonfHubTechConferenc
 
20180724 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
Amazon Web Services Japan
 
AWS vs Azure vs Google (GCP) - Slides
TobyWilman
 
Generative AI presentation For Students.pptx
bnbtechnologiez
 
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
Amazon Web Services Japan
 
Amazon SageMaker で始める機械学習
Amazon Web Services Japan
 
Chicago AWS Solutions Architect Mehdy Haghy recaps the new AI/ML releases and...
AWS Chicago
 
Recommendation system (1).pptx
prathammishra28
 
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
Amazon Web Services Korea
 
cloud computing architecture.pptx
SourodeepChakraborty3
 
20190514 AWS Black Belt Online Seminar Amazon API Gateway
Amazon Web Services Japan
 

Similar to Azure Cognitive Services - Custom Vision (20)

PPTX
Custom vision
Pushkar Saraf
 
PDF
Create an image classifier with azure custom vision net sdk
Luis Beltran
 
PDF
Building real time image classifiers for mobile apps with azure custom vision
Luis Beltran
 
PPTX
Hyf azure ml_1
KatoK1
 
PPTX
Improving your vision with Azure Cognitive Services - /dev/070
Marc Duiker
 
PPTX
UNIT III_Cloud APIs for CV_unit III power point
smithashetty24
 
PPTX
Bring ai into your xamarin apps with microsoft cognitive services
Callon Campbell
 
PPTX
Notes from the field on customizing your AI using Cognitive Services
Microsoft Tech Community
 
PDF
Cutting Edge Computer Vision for Everyone
Ivo Andreev
 
PDF
Krish Azure AI webinar
Kamal Pandey
 
PDF
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Pablo Farías Navarro
 
PDF
A Journey with Microsoft Cognitive Service I
Marvin Heng
 
PPTX
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
Fwdays
 
PPTX
Azure Cognitive Services : Visual Intelligence made easy
Arwin Neil Baichoo
 
PPTX
Improving your vision with Azure Cognitive Services - MixUG
Marc Duiker
 
PPTX
Integrating Machine Learning Capabilities into your team
Cameron Vetter
 
PPTX
Azure cognitive service
Vishwas N
 
PPTX
David Schneider: Sort your (child's) Legos with Cognitive Services
David Schneider
 
PDF
[第43回 Machine Learning 15minutes! × 2] Azure AI Updates
Naoki (Neo) SATO
 
PDF
Microsoft Azure Cognitive Services: Revolutionizing AI Integration in Business
Flexsin
 
Custom vision
Pushkar Saraf
 
Create an image classifier with azure custom vision net sdk
Luis Beltran
 
Building real time image classifiers for mobile apps with azure custom vision
Luis Beltran
 
Hyf azure ml_1
KatoK1
 
Improving your vision with Azure Cognitive Services - /dev/070
Marc Duiker
 
UNIT III_Cloud APIs for CV_unit III power point
smithashetty24
 
Bring ai into your xamarin apps with microsoft cognitive services
Callon Campbell
 
Notes from the field on customizing your AI using Cognitive Services
Microsoft Tech Community
 
Cutting Edge Computer Vision for Everyone
Ivo Andreev
 
Krish Azure AI webinar
Kamal Pandey
 
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
Pablo Farías Navarro
 
A Journey with Microsoft Cognitive Service I
Marvin Heng
 
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
Fwdays
 
Azure Cognitive Services : Visual Intelligence made easy
Arwin Neil Baichoo
 
Improving your vision with Azure Cognitive Services - MixUG
Marc Duiker
 
Integrating Machine Learning Capabilities into your team
Cameron Vetter
 
Azure cognitive service
Vishwas N
 
David Schneider: Sort your (child's) Legos with Cognitive Services
David Schneider
 
[第43回 Machine Learning 15minutes! × 2] Azure AI Updates
Naoki (Neo) SATO
 
Microsoft Azure Cognitive Services: Revolutionizing AI Integration in Business
Flexsin
 
Ad

More from Luis Beltran (20)

PPTX
AI for Accessibility.pptx
Luis Beltran
 
PPTX
NET Conf Bhubaneswar - Migrating your Xamarin.Forms app to .NET MAUI.pptx
Luis Beltran
 
PPTX
03 GlobalAIBootcamp2020Lisboa-Rock, Paper, Scissors.pptx
Luis Beltran
 
PPTX
BI LATAM Summit 2022 - Creación de soluciones de automatización serverless-...
Luis Beltran
 
PDF
CEIAAIT - Fundamentos y Aplicaciones de Deep Learning.pdf
Luis Beltran
 
PPTX
Computo en la Nube con Azure - AI Gaming Panama.pptx
Luis Beltran
 
PPTX
5StarsConf - Serverless Machine Learning con Azure Functions y ML.NET .pptx
Luis Beltran
 
PPTX
ACW - Azure Speaker Recognition Biometria de Voz.pptx
Luis Beltran
 
PPTX
UNICABA - Azure Machine Learning.pptx
Luis Beltran
 
PPTX
Azure Talks Bolivia - Aumente la confiabilidad de su negocio con Azure Anomal...
Luis Beltran
 
PPTX
Latino NET - Integrando WhatsApp en nuestras apps .NET con Twilio.pptx
Luis Beltran
 
PPTX
NOVA - Enriquecimiento de IA con Azure Cognitive Search.pptx
Luis Beltran
 
PPTX
Netcoreconf 2021 Realidad mixta en apps móviles con Azure Spatial Anchors y ...
Luis Beltran
 
PPTX
ATG Puebla - El cementerio de Microsoft.pptx
Luis Beltran
 
PPTX
Data-Saturday-10-Sofia-2021 Azure Video Indexer- Advanced data extraction fro...
Luis Beltran
 
PPTX
Azure Community Conference - Image Recognition in WhatsApp chatbot with Azure...
Luis Beltran
 
PPTX
Real NET Docs Show - Serverless Machine Learning v3.pptx
Luis Beltran
 
PPTX
Sesion 5 - Eficiencia del Rendimiento - Well Architected Backstage Tour.pptx
Luis Beltran
 
PPTX
XamarinExpertDay - Creating PDF files in mobile apps with PdfSharpCore and Mi...
Luis Beltran
 
PPTX
Latam Space Week - Clasificación de rocas espaciales por medio de IA.pptx
Luis Beltran
 
AI for Accessibility.pptx
Luis Beltran
 
NET Conf Bhubaneswar - Migrating your Xamarin.Forms app to .NET MAUI.pptx
Luis Beltran
 
03 GlobalAIBootcamp2020Lisboa-Rock, Paper, Scissors.pptx
Luis Beltran
 
BI LATAM Summit 2022 - Creación de soluciones de automatización serverless-...
Luis Beltran
 
CEIAAIT - Fundamentos y Aplicaciones de Deep Learning.pdf
Luis Beltran
 
Computo en la Nube con Azure - AI Gaming Panama.pptx
Luis Beltran
 
5StarsConf - Serverless Machine Learning con Azure Functions y ML.NET .pptx
Luis Beltran
 
ACW - Azure Speaker Recognition Biometria de Voz.pptx
Luis Beltran
 
UNICABA - Azure Machine Learning.pptx
Luis Beltran
 
Azure Talks Bolivia - Aumente la confiabilidad de su negocio con Azure Anomal...
Luis Beltran
 
Latino NET - Integrando WhatsApp en nuestras apps .NET con Twilio.pptx
Luis Beltran
 
NOVA - Enriquecimiento de IA con Azure Cognitive Search.pptx
Luis Beltran
 
Netcoreconf 2021 Realidad mixta en apps móviles con Azure Spatial Anchors y ...
Luis Beltran
 
ATG Puebla - El cementerio de Microsoft.pptx
Luis Beltran
 
Data-Saturday-10-Sofia-2021 Azure Video Indexer- Advanced data extraction fro...
Luis Beltran
 
Azure Community Conference - Image Recognition in WhatsApp chatbot with Azure...
Luis Beltran
 
Real NET Docs Show - Serverless Machine Learning v3.pptx
Luis Beltran
 
Sesion 5 - Eficiencia del Rendimiento - Well Architected Backstage Tour.pptx
Luis Beltran
 
XamarinExpertDay - Creating PDF files in mobile apps with PdfSharpCore and Mi...
Luis Beltran
 
Latam Space Week - Clasificación de rocas espaciales por medio de IA.pptx
Luis Beltran
 
Ad

Recently uploaded (20)

PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 

Azure Cognitive Services - Custom Vision

  • 1. Please check that you have your Azure subscription ready for the workshop ☺ azure.microsoft.com/free Students: aka.ms/azure4students
  • 3. Introduction to Azure Cognitive Services Roman Sudarikov Software Engineer @Microsoft Luis Beltran Microsoft MVP AI, Developer Technologies Łukasz Foks Technologies CEE Azure Developer Product Marketing Manager @ Microsoft Microsoft Prague, September 22nd, 2019 roman-sudarikov-1508a358 luisantoniobeltran [email protected] lukaszfoks
  • 6. Azure Cognitive Services Applying AI to your business Computer Vision Face/Emotion Recognition OCR/Handwriting Custom Vision Video Indexer Content Moderator Text-to-Speech Speech-to-Text Translator Custom Speech Language Understanding PII Detection Text Translator Text Analytics QnA Maker Bing Custom Search Bing Visual Search
  • 17. Computer Vision API Content of Image: Categories v0: [{ “name”: “animal”, “score”: 0.9765625 }] V1: [{ "name": "grass", "confidence": 0.9999992847442627 }, { "name": "outdoor", "confidence": 0.9999072551727295 }, { "name": "cow", "confidence": 0.99954754114151 }, { "name": "field", "confidence": 0.9976195693016052 }, { "name": "brown", "confidence": 0.988935649394989 }, { "name": "animal", "confidence": 0.97904372215271 }, { "name": "standing", "confidence": 0.9632768630981445 }, { "name": "mammal", "confidence": 0.9366017580032349, "hint": "animal" }, { "name": "wire", "confidence": 0.8946959376335144 }, { "name": "green", "confidence": 0.8844101428985596 }, { "name": "pasture", "confidence": 0.8332059383392334 }, { "name": "bovine", "confidence": 0.5618471503257751, "hint": "animal" }, { "name": "grassy", "confidence": 0.48627158999443054 }, { "name": "lush", "confidence": 0.1874018907546997 }, { "name": "staring", "confidence": 0.165890634059906 }] Describe 0.975 "a brown cow standing on top of a lush green field“ 0.974 “a cow standing on top of a lush green field” 0.965 “a large brown cow standing on top of a lush green field”
  • 18. Old OCR New OCR OCR
  • 20. Vision Speech Language Natural Language Processing Intent: PlayCall Knowledge Here are the top results: The purpose of Customer Life-cycle Management (CLM) is to maximize both customer retention and .... Predictive trend analysis provides business visibility. Oct 28, 2015 – Here are FIVE key trends in 2014 that would help marketers in rolling ... Of late, marketers are looking at customer lifecycle management (CLM) Jan 5, 2016 – The top 10 customer service trends for 2016 that .... North American Consumer Search Here is what I found: It also investigates the top three expected Fraud Detection and Prevention programs, in terms of demand in key markets… First, let’s point out that there is not one absolute answer—there are “pros” and “cons” to each. Those who favor in-house… Michael heads fraud prevention tool. Online and mobile shopping are expected to continue growing apace… A variety of real-world applications
  • 21. Apps powered by Azure Cognitive Services
  • 24. Call to Action • Azure Cognitive Services aka.ms/cognitive-services • Documentation: https://docs.microsoft.com/en-us/azure/cognitive-services/ • GitHub Samples: https://github.com/Azure-Samples/cognitive-services-REST-api-samples • Container Support: https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services- container-support
  • 25. Thank you for your attention! Roman Sudarikov Software Engineer @Microsoft Luis Beltran Microsoft MVP AI, Developer Technologies Łukasz Foks Technologies CEE Azure Developer Product Marketing Manager @ Microsoft Microsoft Prague, September 22nd, 2019 roman-sudarikov-1508a358 luisantoniobeltran [email protected] lukaszfoks
  • 26. Last call: Please check that you have your Azure subscription ready for the workshop ☺ azure.microsoft.com/free Students: aka.ms/azure4students
  • 27. Deep Dive into Azure Custom Vision Roman Sudarikov Software Engineer @Microsoft Luis Beltran Microsoft MVP AI, Developer Technologies Łukasz Foks Technologies CEE Azure Developer Product Marketing Manager @ Microsoft Microsoft Prague, September 22nd, 2019 roman-sudarikov-1508a358 luisantoniobeltran [email protected] lukaszfoks
  • 28. 28 Prepare Data Image Classification Build & Train Run Model definition & training Model Evaluation Deploy the model - web service, Dockers Container or IoT EdgeScore the model
  • 30. What is it? Custom Vision Service is an easy-to-use tool for prototyping, improving, and deploying a custom image classifier to a cloud service, without any background in computer vision or deep learning required. Model
  • 32. Building a Classifier • Create a project • Select a domain • Add images • Assign tags to images • Train the classifier • Evaluate the classifier
  • 33. Classifiers and Projects A classifier is a model you build using Custom Vision Service, by using a few training images. Each classifier you build is in its own project. Classifier = Project
  • 34. Domains When you create a project, you select a domain for that project. The domain optimizes a classifier for a specific type of object in your images. • Food Optimized for dishes you would see on a restaurant menu. • Landmark Optimized for recognizable landmarks, both natural and artificial. • Retail Optimized for classifying images in a shopping catalog or shopping website. • Adult Optimized to better define between adult content and non-adult content.
  • 35. Training Images To create a high precision classifier, Custom Vision Service needs several training images. A training image is a photograph of the image you want Custom Vision Service to classify.
  • 36. Iteration Every time you Train or re-train your classifier, you create a new iteration of your model.
  • 37. Testing a Model After you train your model, you can quickly test it using a locally stored image or an online image. The test uses the most recently trained iteration.
  • 38. Important Terms Precision When you classify an image, how likely is your classifier to correctly classify the image? Recall Out of all images that should have been classified correctly, how many did your classifier identify correctly?
  • 39. Using the Prediction API After a successful training, the Custom Vision Service can be accessed via an endpoint that references the Project Identifier, as long as the appropriate Prediction Key is passed in the request header.
  • 40. Prediction API REST Concepts All actions related to the Custom Vision Service are accessed via standard REST- based methods, such as GET and POST against an API endpoint, making it simple to use the Prediction API on any platform or with any programming language.
  • 41. Train in the Cloud, Run Anywhere Train in Custom Vision Service Deploy & Run Anywhere
  • 42. Commonly Used APIs PredictionTraining • Createimages • Tagimages • Createprojects • Manageprojects • Manageiterations • Createtags • Getaccountinformation • Trainaproject • Predictimages • Predictandsaveimages • PredictimageURLs • PredictandsaveimageURLs
  • 43. Improving a Classifier The best way to have a quality classifier is to add more varied tagged images (different backgrounds, angles, object size, groups of photos, and variants of types.) Always to train your classifier after you have added more images. Include images that are representative of what your classifier will encounter in the real world. Photos in context are better than photos of objects in front of neutral backgrounds, for example.
  • 44. Best Practices for using Custom Vision • Use at least 30 images for each tag • Images should be the focus of the picture • Use sufficiently diverse images and backgrounds (ex: cats with red background and dogs with blue background) • Train with images that are similar in {quality, resolution, lighting, etc.} to the images that will be used in prod • Supports Microsoft accounts (MSA) and AAD
  • 45. Computer Vision Scenario Examples ➢ Additional Scenarios ➢ Classify user submitted images to website ➢ Identifying elements – object counting, animal identification and lots more. ➢ Hazard detection/industrial safety – adding custom rules to videos
  • 47. Call to Action • Azure Custom Vision https://www.customvision.ai/ • Documentation: https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision- service/
  • 48. Thank you for your attention! Roman Sudarikov Software Engineer @Microsoft Luis Beltran Microsoft MVP AI, Developer Technologies Łukasz Foks Technologies CEE Azure Developer Product Marketing Manager @ Microsoft Microsoft Prague, September 22nd, 2019 roman-sudarikov-1508a358 luisantoniobeltran [email protected] lukaszfoks