/NNCam

Virtual background with Unity Barracuda

Primary LanguageC#Apache License 2.0Apache-2.0

NNCam

gif gif

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.

System requirements

  • Unity 2020.2
  • Barracuda 1.2

How to try the project

The ONNX model files are not contained in this repository to avoid hitting the storage quota. You can download them from the Releases page. Or you can use this Colab notebook to convert the original BodyPix models to ONNX.