NNCam is a Unity sample project that implements a virtual background feature (background removal for webcams) using the Barracuda inference engine.
NNCam uses the BodyPix human segmentation model for background removal. This sample shows how to run similar models without CPU-side overhead.
- Unity 2020.2
- Barracuda 1.2
The ONNX model file is not contained in this repository to avoid hitting the
storage quota. Run this Colab notebook to convert the original BodyPix models
to ONNX, then put the output file into Assets/ONNX
.