How do you add a background in Unity?

The Unity SDK contains a number of example filters located in ..\Assets\BanubaFaceAR\Effects , an example of using background segmentation is contained in the filter called test_BG

Feel free to modify it as necessary and change the referenced file to your own to set your own background in Unity

More information 

Background changer API SDK by Banuba