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

PPTX
PPTX
Azure Event Grid
PPTX
introduction Azure OpenAI by Usama wahab khan
PPTX
Azure Fundamentals Part 1
 
PPTX
Introduction to Microsoft Azure
PDF
Microsoft Azure Overview
PDF
Microsoft Azure Fundamentals
PDF
[애플리케이션 현대화 및 개발] 현대적 애플리케이션 개발의 필수, 앱 배포 및 인프라 구성 자동화 - 김필중, AWS 솔루션즈 아키텍트
Azure Event Grid
introduction Azure OpenAI by Usama wahab khan
Azure Fundamentals Part 1
 
Introduction to Microsoft Azure
Microsoft Azure Overview
Microsoft Azure Fundamentals
[애플리케이션 현대화 및 개발] 현대적 애플리케이션 개발의 필수, 앱 배포 및 인프라 구성 자동화 - 김필중, AWS 솔루션즈 아키텍트

What's hot (20)

PDF
Best Practice on using Azure OpenAI Service
PDF
Build and Modernize Intelligent Apps​
PPTX
AzureOpenAI.pptx
PPTX
Developing an object detector solution with Azure Custom Vision .NET SDK
PPTX
Microsoft Azure cloud services
PDF
Innovation morning power platform
PPTX
Intelligent automation with Microsoft Power Automate
PDF
Microsoft Build 2024 Updates
PPTX
Microsoft Azure for Developers - An Introduction
PPTX
Power Automate
PPTX
Generative AI.pptx
PPTX
Azure Security and Management
PDF
Azure vm introduction
PPTX
PDF
Building Generative AI-infused apps: what's possible and how to start
PPTX
Custom vision
PDF
Introduction to Azure
PPTX
Azure Cost Management
PPTX
Azure container instances
PPTX
Introduction to Microsoft Power BI
Best Practice on using Azure OpenAI Service
Build and Modernize Intelligent Apps​
AzureOpenAI.pptx
Developing an object detector solution with Azure Custom Vision .NET SDK
Microsoft Azure cloud services
Innovation morning power platform
Intelligent automation with Microsoft Power Automate
Microsoft Build 2024 Updates
Microsoft Azure for Developers - An Introduction
Power Automate
Generative AI.pptx
Azure Security and Management
Azure vm introduction
Building Generative AI-infused apps: what's possible and how to start
Custom vision
Introduction to Azure
Azure Cost Management
Azure container instances
Introduction to Microsoft Power BI
Ad

Similar to Azure Cognitive Services - Custom Vision (20)

PDF
Create an image classifier with azure custom vision net sdk
PDF
Building real time image classifiers for mobile apps with azure custom vision
PPTX
Hyf azure ml_1
PPTX
Improving your vision with Azure Cognitive Services - /dev/070
PPTX
UNIT III_Cloud APIs for CV_unit III power point
PPTX
Bring ai into your xamarin apps with microsoft cognitive services
PPTX
Notes from the field on customizing your AI using Cognitive Services
PDF
Cutting Edge Computer Vision for Everyone
PDF
Krish Azure AI webinar
PDF
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
PDF
A Journey with Microsoft Cognitive Service I
PPTX
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
PPTX
Azure Cognitive Services : Visual Intelligence made easy
PPTX
Improving your vision with Azure Cognitive Services - MixUG
PPTX
Integrating Machine Learning Capabilities into your team
PPTX
Azure cognitive service
PPTX
David Schneider: Sort your (child's) Legos with Cognitive Services
PDF
[第43回 Machine Learning 15minutes! × 2] Azure AI Updates
PDF
Microsoft Azure Cognitive Services: Revolutionizing AI Integration in Business
PDF
Easy path to machine learning
Create an image classifier with azure custom vision net sdk
Building real time image classifiers for mobile apps with azure custom vision
Hyf azure ml_1
Improving your vision with Azure Cognitive Services - /dev/070
UNIT III_Cloud APIs for CV_unit III power point
Bring ai into your xamarin apps with microsoft cognitive services
Notes from the field on customizing your AI using Cognitive Services
Cutting Edge Computer Vision for Everyone
Krish Azure AI webinar
Unity and Microsoft Azure Cognitive Services - DIGITREK21 Workshop
A Journey with Microsoft Cognitive Service I
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
Azure Cognitive Services : Visual Intelligence made easy
Improving your vision with Azure Cognitive Services - MixUG
Integrating Machine Learning Capabilities into your team
Azure cognitive service
David Schneider: Sort your (child's) Legos with Cognitive Services
[第43回 Machine Learning 15minutes! × 2] Azure AI Updates
Microsoft Azure Cognitive Services: Revolutionizing AI Integration in Business
Easy path to machine learning
Ad

More from Luis Beltran (20)

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

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
Teaching material agriculture food technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Electronic commerce courselecture one. Pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
The Rise and Fall of 3GPP – Time for a Sabbatical?
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
Teaching material agriculture food technology
Review of recent advances in non-invasive hemoglobin estimation
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
20250228 LYD VKU AI Blended-Learning.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Electronic commerce courselecture one. Pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
sap open course for s4hana steps from ECC to s4
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity

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 luis@luisbeltran.mx 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 luis@luisbeltran.mx 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 luis@luisbeltran.mx 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 luis@luisbeltran.mx lukaszfoks