Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Custom vision

198 views

Published on

Building and Training Your Own Custom Vision AI

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Custom vision

  1. 1. Building and Training Your Own Custom Vision AI
  2. 2. David Giard • Senior Technical Evangelist • Microsoft • dgiard@Microsoft.com • @davidgiard • http://davidgiard.com
  3. 3. Cognitive Services • microsoft.com/cognitive-services • Vision • Speech • Language • Knowledge • Search
  4. 4. Cognitive Services Vision APIs
  5. 5. Cognitive Services Face API Client https://westus.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=true [ { "faceId": "fc0b5b6a-e979-41ea-a555-ec4e1f9501fe", "faceRectangle": { "top": 169, "left": 553, "width": 195, "height": 195 }, POST
  6. 6. Custom Face Detection 1. Create a Person Group 2. Create Persons 3. Add photos to Each Person 4. Train Person Group
  7. 7. Custom Face Detection PersonGroup Person 1 Person 2 Person 3
  8. 8. Custom Face Detection CompanyX Jack Joe Jean https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/CompanyX https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/CompanyX/persons https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/1/persons/1/persistedFacesTRAIN https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/CompanyX/train
  9. 9. Custom Face Detection 1. Create a Person Group PUT https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/CompanyX 2. Create Persons POST https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/1/persons/1/persistedFac es 3. Add photos to Each Person POST https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/CompanyX/persons 4. Train Person Group POST https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/1/train
  10. 10. DEMO
  11. 11. Cognitive Services Vision API Client https://westus.api.cognitive.microsoft.com/vision/v1.0/analyze?visualFeatures=Categories&language=en { "categories": [ { "name": "abstract_", "score": 0.00390625 }, { "name": "others_", "score": 0.0234375 POST
  12. 12. Custom Vision 1. Create an Image Group 2. Add photos 3. Tag Photos 4. Train Image Group
  13. 13. Custom Vision Image Group Tag1 Tag3Tag2 Tag4
  14. 14. DEMO
  15. 15. Links • https://www.slideshare.net/dgiard/custom-vision • https://github.com/DavidGiard • https://azure.microsoft.com/en-us/services/cognitive-services/ • http://davidgiard.com/

×