Skip to content

Commit 0a06ee7

Browse files
author
Linnea May
committed
update readme and add newlines
1 parent fe9cba6 commit 0a06ee7

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ These generic examples show how to use various models and input feeds with Windo
3838
- **[SqueezeNetObjectDetection\UWP\js](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/SqueezeNetObjectDetection/UWP/js)**: a UWP Javascript app that uses the SqueezeNet model to detect the predominant object in an image.
3939
- **[SqueezeNetObjectDetection\Desktop\cpp](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/SqueezeNetObjectDetection/Desktop/cpp)**: a classic desktop C++/WinRT app that uses the SqueezeNet model to detect the predominant object in an image.
4040
- **[SqueezeNetObjectDetection\NETCore\cs](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/SqueezeNetObjectDetection/Desktop/cpp)**: a .NET Core 2 application that uses the SqueezeNet model to detect the predominant object in an image.
41+
- **[StyleTransfer](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/StyleTransfer**: a UWP C# app that uses a custom C++ Video Effect to apply style transfer in real-time to videos.
4142
- **[MNIST\UWP\cs](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/MNIST/Tutorial/cs)**: a UWP C# app that uses the MNIST model to detect handwritten numbers.
4243
- **[MNIST\UWP\cppcx](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/MNIST/UWP)**: a UWP C++/CX app that uses the MNIST model to detect handwritten numbers.
4344
- **[CustomTensorization](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/CustomTensorization)**: a Windows Console Application (C++/WinRT) that shows how to do custom tensorization.

Samples/StyleTransfer/AppViewModel.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public AppModel AppModel
9898
return _appModel;
9999
}
100100
}
101+
101102
private int _numThreads;
102103
public int NumThreads
103104
{
@@ -118,6 +119,7 @@ public int MaxThreads
118119
return 10;
119120
}
120121
}
122+
121123
private float _renderFPS;
122124
public float RenderFPS
123125
{
@@ -159,6 +161,7 @@ public SoftwareBitmapSource InputSoftwareBitmapSource
159161
OnPropertyChanged();
160162
}
161163
}
164+
162165
private SoftwareBitmapSource _outputSoftwareBitmapSource;
163166
public SoftwareBitmapSource OutputSoftwareBitmapSource
164167
{
@@ -172,6 +175,7 @@ public SoftwareBitmapSource OutputSoftwareBitmapSource
172175
OnPropertyChanged();
173176
}
174177
}
178+
175179
private bool _saveEnabled;
176180
public bool SaveEnabled
177181
{
@@ -208,6 +212,7 @@ public string StatusMessage
208212
OnPropertyChanged("StatusBarColor");
209213
}
210214
}
215+
211216
private bool _useGpu;
212217
public bool UseGpu
213218
{
@@ -225,6 +230,7 @@ public bool UseGpu
225230
OnPropertyChanged();
226231
}
227232
}
233+
228234
// Command defintions
229235
public ICommand SaveCommand { get; set; }
230236
public ICommand SetMediaSourceCommand { get; set; }

Samples/StyleTransfer/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ To learn more about creating custom video effects, see [this walkthrough](https:
2222
Open the Visual Studio (.sln) file.
2323
9. In the Solution Explorer, right-click on the References tab and select "Add Reference..."
2424
10. Click Browse and navigate to the .winmd file you built in the previous section (eg. StyleTransferEffectCpp/x64/Debug/StyleTransferEffectCpp.winmd). Click OK.
25+
11. In the solution explorer, select the **package.appxmanifest** file. Select the the **Visual Assets** tab and select **Assets\logo.png**. Set the destination to **Assets**, generate all assets and scale options, and hit generate.
2526
11. You should now be able to run the sample app!
2627

2728
## Requirements

Samples/StyleTransfer/VideoEffect/StyleTransferEffectComponent/StyleTransferEffectNotifier.idl

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)