Demonstrates different machine learning scenarios and features using Windows ML in an interactive format. This app is the interactive companion shows the integration of Windows Machine Learning Library APIs into a desktop WinUI 3 application.
- The WinML Samples Gallery is available in the Microsoft Store. Click here to download.
- Check out the source for each sample.
To learn how to implement these features in your application, or unlock additional functionality that may not be available in the Store Application, you may need to build the WinML Samples Gallery from source. Follow these instructions to build from source.
- Clone this repository.
- Navigate to Windows-Machine-Learning/Samples/WinMLSamplesGallery.
- (optional) Make any changes to the *.csproj files needed to enable functionality.
- Launch WinMLSamplesGallery.sln
- Build and deploy the WinMLSamplesGallery (Package) project.
-
Image Classifiation: This sample demonstrates image classification using a large number of models taken from the ONNX Model Zoo.
-
Image Effects: See how to apply preprocessing and postprocessing effects using platform and hardware agnostic ONNX Models and chaining in Windows ML.
-
Batched Inputs: See how to speed up inference with batched inputs.
-
OpenCV: See how to integrate Windows ML with OpenCV.
-
ImageSharp: See how to integrate Windows ML with ImageSharp.
-
Encrypted Model: how to use Windows ML to load encrypted models from embedded resources.
-
Adapter Selection: Learn how to use Windows ML with different adapters based on your power and performance needs.
-
DX Resource Binding in ORT: Learn how to bind and evaluate DirectX Resources using ONNX Runtime.
-
Stream Effect: Learn how to use Windows ML with real-time inference on video streams.
Please file an issue here if you encounter any issues with the WinML Samples Gallery or wish to request a new sample.