Capture color and depth images from two Kinect 2 at the same time, based on libfreenect2 (which cannot be done using Microsoft Kinect SDK).
You will need to install libfreenect2 (https://github.com/OpenKinect/libfreenect2) and OpenCV to use the code.
To run the code:
After done installing libfreenect2, copy the Protonect.cpp to
C:\Program Files\Git\libfreenect2\examples
then open its project in
C:\Program Files\Git\libfreenect2\build
to compile and run Protonect.