SirLynix/obs-kinect

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 · 4 comments

L3-NR 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).

L3-NR 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.

L3-NR commented

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

Thanks!