Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Standalone-Samples/WindowsML-CustomVision-Hololens/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Players/
# Unity3D Exported Data files
Data/

# UWP generated project
/**/UWP/

# UWP Exported Binaries
/**/UWP/**/*.dll
/**/UWP/**/*.exe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private void DisplayText(string text)
#if UNITY_WSA && !UNITY_EDITOR
public async void InitializeModel()
{
StorageFile imageRecoModelFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri($"ms-appx:///Assets/model.onnx"));
StorageFile imageRecoModelFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri($"ms-appx:///Data/StreamingAssets/model.onnx"));
imageRecoModel = await Image_RecoModel.CreateImage_RecoModel(imageRecoModelFile);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.AI.MachineLearning.Preview;
using Windows.Media;
using Windows.Storage;
using Windows.Storage.Streams;

public sealed class Image_RecoModelInput
{
Expand Down Expand Up @@ -48,11 +50,6 @@ public static async Task<Image_RecoModel> CreateImage_RecoModel(StorageFile file
Image_RecoModelOutput output = new Image_RecoModelOutput();
public async Task<Image_RecoModelOutput> EvaluateAsync(Image_RecoModelInput input)
{
if (input.data.Direct3DSurface == null)
{
return output;
}

var d = input.data.Direct3DSurface.Description;
binding.Bind("data", input.data);
LearningModelEvaluationResultPreview evalResult = await learningModel.EvaluateAsync(binding, string.Empty);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

1,000 changes: 0 additions & 1,000 deletions Standalone-Samples/WindowsML-CustomVision-Hololens/HoloML.Player.csproj

This file was deleted.

771 changes: 0 additions & 771 deletions Standalone-Samples/WindowsML-CustomVision-Hololens/HoloML.csproj

This file was deleted.

26 changes: 0 additions & 26 deletions Standalone-Samples/WindowsML-CustomVision-Hololens/HoloML.sln

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ PlayerSettings:
m_RenderingPath: 1
m_MobileRenderingPath: 1
metroPackageName: HoloML
metroPackageVersion:
metroPackageVersion: 1.0.0.0
metroCertificatePath: Assets\WSATestCertificate.pfx
metroCertificatePassword:
metroCertificateSubject: DefaultCompany
Expand All @@ -585,10 +585,31 @@ PlayerSettings:
metroSplashScreenUseBackgroundColor: 0
platformCapabilities:
WindowsStoreApps:
AllJoyn: False
BlockedChatMessages: False
Bluetooth: False
Chat: False
CodeGeneration: False
EnterpriseAuthentication: False
HumanInterfaceDevice: False
InputInjectionBrokered: False
InternetClient: False
InternetClientServer: False
Location: False
Microphone: True
MusicLibrary: False
Objects3D: False
PhoneCall: False
PicturesLibrary: False
PrivateNetworkClientServer: False
Proximity: False
RemovableStorage: False
SharedUserCertificates: False
SpatialPerception: False
UserAccountInformation: False
VideosLibrary: False
VoipCall: False
WebCam: True
metroFTAName:
metroFTAFileTypes: []
metroProtocolName:
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading