Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

An example of how to use an ONNX model exported from the Custom Vision Cognitive Service in a UWP application.

License

Notifications You must be signed in to change notification settings

Azure-Samples/Custom-Vision-ONNX-UWP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use an ONNX file exported from the Custom Vision Service with Windows ML

This example demonstrates how to take an ONNX file that was exported from the Cognitive Services Custom Vision service, and use it in a UWP application. Specifically, this example demonstrates how to use the camera on a Windows 10 device as the image source for the model.

IMPORTANT: This example requires Windows 10 build 17738 or higher, along with the matching Windows 10 SDK.

Features

  • Displays a preview of what the camera sees.
  • Displays the tags and score returned from the model.

Getting Started

Prerequisites

Quickstart

(Add steps to get up and running quickly)

  1. git clone https://github.com/Azure-Samples/Custom-Vision-ONNX-UWP
  2. Open the VisionApp.sln file using Visual Studio.
  3. Use F5 to build and run the application.
  4. Point the camera at a dog or cat (or a picture of one). The score below the preview shows whether the model thinks that a dog or cat is in the scene. A label of "Negative" indicates that no dog or cat is in the image.

See also

https://github.com/Azure-Samples/cognitive-services-onnx12-customvision-sample/

About

An example of how to use an ONNX model exported from the Custom Vision Cognitive Service in a UWP application.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages