|
| 1 | +# Windows ML Samples Gallery: Stream Effect |
| 2 | +Apply backbround blurring effect to a live video stream. |
| 3 | + |
| 4 | +The sample showcases how to use Windows ML with a real-time video stream. |
| 5 | + |
| 6 | +<img src="Docs/demo.gif" width="650"/> |
| 7 | + |
| 8 | +- [Getting Started](#getting-started) |
| 9 | +- [Feedback](#feedback) |
| 10 | +- [External Links](#external-links) |
| 11 | + |
| 12 | +## Getting Started |
| 13 | +- Check out the [C# source](https://github.com/microsoft/Windows-Machine-Learning/blob/master/Samples/WinMLSamplesGallery/WinMLSamplesGallery/Samples/StreamEffect/StreamEffect.xaml.cs). |
| 14 | +- Check out the [C++ source](https://github.com/microsoft/Windows-Machine-Learning/blob/master/Samples/WinMLSamplesGallery/WinMLSamplesGalleryNative/StreamEffect.cpp). |
| 15 | +- Learn how to [chain together custom LearningModels](https://github.com/microsoft/Windows-Machine-Learning/blob/master/Samples/WinMLSamplesGallery/WinMLSamplesGalleryNative/SegmentModel.h#L31) |
| 16 | +- Learn how to [write an async Media Foundation Transform](https://github.com/microsoft/Windows-Machine-Learning/blob/master/Samples/WinMLSamplesGallery/WinMLSamplesGalleryNative/TransformAsync.h) |
| 17 | + |
| 18 | +## Feedback |
| 19 | +Please file an issue [here](https://github.com/microsoft/Windows-Machine-Learning/issues/new) if you encounter any issues with the Windows ML Samples Gallery or wish to request a new sample. |
| 20 | + |
| 21 | +## External Links |
| 22 | +### Windows Machine Learning |
| 23 | +| Resource | Description | |
| 24 | +|-------------------------------|----------------------------------------------------------------------------------------| |
| 25 | +| [WinML Experimental API ](https://github.com/microsoft/onnxruntime/blob/5fbfca3d58b88d0da29c6b206c36980052a4392c/winml/api/Microsoft.AI.MachineLearning.Experimental.idl)| Documentation for the LearningModelBuilder and LearningModelJoinOptions | |
| 26 | +| [ORT model building unit tests ](https://github.com/microsoft/onnxruntime/blob/22739137c419bb8a86b8f9ff5c8def60b63370c7/winml/test/api/LearningModelSessionAPITest.cpp#L962)| A good intro to building models with LearningModelBuilder and LearningModelJoinOptions | |
| 27 | +| [ONNX operators schema ](https://github.com/onnx/onnx/blob/main/docs/Operators.md)| ONNX operators that can be used when building a model with LearningModelBuilder | |
| 28 | +| [ONNX Model Zoo FCN ](https://github.com/onnx/models/tree/main/vision/object_detection_segmentation/fcn)| Open-source models in the ONNX format | |
| 29 | + |
| 30 | +### Media Foundation |
| 31 | +| Resource | Description | |
| 32 | +|-------------------------------|----------------------------------------------------------------------------------------| |
| 33 | +| [Introduction to Media Foundation Transforms](https://docs.microsoft.com/en-us/windows/win32/medfound/media-foundation-transforms)| Start here to learn more about Media Foundation Transforms as a model for processing media data| |
| 34 | +| [Windows Async MFT Sample ](https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/MediaFoundationTransformDecoder)| Demonstrates how to create an asynchronous Media Foundation Transform | |
| 35 | +| [Windows Capture Engine Sample ](https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/CaptureEngineVideoCapture)| Demonstrates how to use the Media Foundation [CaptureEngine](https://docs.microsoft.com/en-us/windows/win32/api/mfcaptureengine/nn-mfcaptureengine-imfcaptureengine) to capture video| |
0 commit comments