You can use a 3D sensor in the dark if it has an infrared sensor.
You can disable the RGB stream by changing the nuitrack.config file:
Open %NUITRACK_HOME%/data/nuitrack.config in a text editor;
In the “DepthProvider” section, find the “RGB” parameter and set it to “Off”.
Some parameters, such as DepthProvider.RGB, can be overridden using the Nuitrack :: setConfigValue function immediately after Nuitrack :: init (). For example:
... Nuitrack::init(); Nuitrack::setConfigValue("DepthProvider.RGB", "Off"); ...