Background Subtraction using OpenCV

I’m using this package which works quite well for face detection, tracking.

However, the OpenCV feature I am MOST interested in is background subtraction.
ie achieving green screen like effects without green screen.
So that someone walking in front of a static background would be masked out from the background.

I emailed the developer and he replied saying it is supported
http://enoxsoftware.github.io/OpenCVForUnity/doc/html/class_open_c_v_for_unity_1_1_background_subtractor.html

but there are no actual demos to get it working.:frowning:

Can any C# gurus help?

Came across this. Not sure but the Opencv package that I have for unity3d it has an example scene by the name of GreenScreenExample.

Hey I am also looking for background subtraction solutions. I tried the BackgroundSubtraction demo in OpenCV but the result is awful. It removes my face after a while if I don’t move. I asked their technical support and they suggest me to look at the greenscreen example. But again, it is still awful. Is there any way to improve greenscreen example or any other solution about background subtraction?