main

Basic kinect1 use case showing continuous stream from the depth camera.

Note: kinect depth map is stored only on the RED color channel to save space. Therefore depth map is displayed only in the red tones.


A use case where "virtual walls" can be established within certain depth ranges. Useful for actual installations, like interactive projections in the form of a "mirror" for the human silhouette. The measurement in meters helps in calibration.


Shows 4 different color representations of the depth map:

Note: the values are normalized in range 0-1, not in meters.

See also


This demo shows how to execute freenect commands directly, either globally or on the device. In this case demo is switching off LED light completely, which might be desirable for the aesthetics of an installation, however LED turned on might be still a useful indicator during development.


Render depth data from 2 kinect1 devices side-by-side.


Even though this library is abstracting freenect access, it is still possible to call any low level kinect API through execute methods. The calls are executed in separate kinect runner thread but they will block the calling thread until the result is returned.


Here you can see freenect FLOOD log level in action.

Note: technically it would be possible to redirect kinect log to slf4j logger in the implementation of Kinect1, however I removed this callback and left logs on the standard out, because it might get so noisy, that native-to-JVM round trip with conversion into String for JVM logging might completely kill the performance and result in stack overflow exception.


It is possible to rewrite raw kinect value interpretation completely while keeping all the performance characteristics.

Note: when depth measurement is set to RAW, the flip options does not apply.


How to use DepthCameraCalibrator with Kinect1?