SirLynix / obs-kinect

OBS Plugin to use a Kinect (all models supported) in OBS (and setup a virtual green screen based on depth and/or body detection).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hey! Is there a way to to make it so that with the greenscreen effect there is no minimum distance required?

L3-NR opened this issue · comments

commented

Currently the greenscreen effect makes everything thats under the kinects detection range transparent. Is there a way or planned feature that would make it so that stuff outside its detection range doesn't get keyed?

Hello.

Each Kinect model has a minimum depth range below which it cannot read depth (tell how far the pixel is), theses values are reported as invalid (exactly the same as objects too far away from the sensor, or in "depth shadow"), this is an hardware limitation and I cannot do anything about it.

The only thing I can do is to try to filter out the result, which isn't an easy task to do (especially in realtime).

commented

hm.

Would an option to make invalid value depths not be keyed be possible? Or would it just cause problems?

Considering invalid depth values in the greenscreen effect would look very bad, as it would include the flickering background/foreground as well. Which is why I didn't leave this option in the plugin.

commented

Yeah thats understandable. Guess i'll have to put the kinect a little bit further away then.

Thanks!