2
votes

I've written an application based upon the Kinect One (known as Kinect v2, which is not the Kinect for Xbox 360). After some testing, I got errors in my data, due to the brightness of IR lights.

In both IRview, and DepthView, the too bright reflections cannot be handled I can put a sunglass in front of the IR camera, and all still works. Including depth sensing still works, as it is based on time of flight not the brightness of the light.

So using a sunglass sure is a hack that works, but as a coder i dont like that. Is it possible to set the brightness by use of the SDK or some other coding Hack?

I've been thinking that maybe the lights will disable, or dimm their brightness when using the long IR reader ea working with:

infraredFrameLongExposureReader.FrameArrived += InfraredFrameLongExposureReader_FrameArrived;

But i could not see much of a difference between the long exposure version and the normal exposure methods.

So I'm kinda out of clues... is there a way to adjust the IR brightness??

1

1 Answers

2
votes

You can't. Not in the official Mircosoft SDK, not in libfreenect2, the open source SDK for Kinect2.

You can't change any of the hardware settings. Not the IR brightness, not the exposure time of either IR or RGB camera, nothing.

Using the long exposure IR frame, you will get an even brighter IR image, but nothing else will change.

So your best bet is the hardware hack you already figured out: put sunglasses over the IR camera (or the IR emitters).