This is a test project for implementing U-2-Net segmentation network with Unity Barracuda, on HoloLens 2.
- Clone repo
- Switch target to UWP
- Open SampleScene
- Hit play in the editor or build
This project support both VideoCapture from Unity or a mere image.
To use an image as un input:
- Remove the first line from Inference.cs "#define WEBCAM"
- Select a Texture on the Inference component on "Main Camera" in SampleScene