Package | com.tastenkunst.airkinectv2 |
Class | public class KV2Config |
Inheritance | KV2Config ![]() |
Use the KV2Config class to set the data streams you want to retrieve. Every option you add will lower the overall performance of your app. Everytime you change a setting in this config, you will need to use KV2Manager.start to restart the Kinect sensor.
There are 3 "coordinate spaces":
The different Kinect data readers have a certain source coordinate space, but can be mapped to other spaces, if needed. Some will be used regulary, like BodyIndexFrame to ColorSpace, but some might not be used at all (eg. LongExposureInfraredFrame to ColorSpace or ColorFrame to DepthSpace)
Property | Defined By | ||
---|---|---|---|
bodyIndexFrameColors : Vector.<uint> = null
The BodyIndexFrame returns a colored pixel mask for each body index. | KV2Config | ||
enableBodyFrame : Boolean = false
This will enable the tracking of the BodyFrame (skeleton/joints). | KV2Config | ||
enableBodyIndexFrame : Boolean = false
This will enable the BodyIndexFrameReader of the Kinect sensor. | KV2Config | ||
enableBodyIndexFrameMappingToColorSpace : Boolean = false
This will enable the mapping of the BodyIndexFrame to the ColorSpace. | KV2Config | ||
enableColorFrame : Boolean = false
This will enable the ColorFrameReader of the Kinect sensor. | KV2Config | ||
enableColorFrameMappingToDepthSpace : Boolean = false
This will enable the mapping of the ColorFrame to the DepthSpace. | KV2Config | ||
enableDepthFrame : Boolean = false
This will enable the DepthFrameReader of the Kinect sensor. | KV2Config | ||
enableDepthFrameMappingToColorSpace : Boolean = false
This will enable the mapping of the DepthFrame to the ColorSpace. | KV2Config | ||
enableInfraredFrame : Boolean = false
This will enable the InfraredFrameReader of the Kinect sensor. | KV2Config | ||
enableInfraredFrameMappingToColorSpace : Boolean = false
This will enable the mapping of the InfraredFrame to the ColorSpace. | KV2Config | ||
enableLongExposureInfraredFrame : Boolean = false
This will enable the LongExposureInfraredFrameReader of the Kinect sensor. | KV2Config | ||
enableLongExposureInfraredFrameMappingToColorSpace : Boolean = false
This will enable the mapping of the LongExposureInfraredFrame to the ColorSpace. | KV2Config | ||
enableVisualGestureBuilderFrame : Boolean = false
This will enable the tracking of gestures (GBD/GBA files). | KV2Config |
bodyIndexFrameColors | property |
public var bodyIndexFrameColors:Vector.<uint> = null
The BodyIndexFrame returns a colored pixel mask for each body index. You can specify the colors by changing the default colors in this Vector.
The default colors are:
The Kinect SDK uses a diffrent color space than AS3. The ANE will automatically take care of transforming the colors, so use the AS3 ARGB.
enableBodyFrame | property |
public var enableBodyFrame:Boolean = false
This will enable the tracking of the BodyFrame (skeleton/joints).
enableBodyIndexFrame | property |
public var enableBodyIndexFrame:Boolean = false
This will enable the BodyIndexFrameReader of the Kinect sensor. The BodyIndexFrame is a "mask" of pixels in the color of the body, that is tracked.
enableBodyIndexFrameMappingToColorSpace | property |
public var enableBodyIndexFrameMappingToColorSpace:Boolean = false
This will enable the mapping of the BodyIndexFrame to the ColorSpace.
enableColorFrame | property |
public var enableColorFrame:Boolean = false
This will enable the ColorFrameReader of the Kinect sensor. The ColorFrame is the HD colored camera image.
enableColorFrameMappingToDepthSpace | property |
public var enableColorFrameMappingToDepthSpace:Boolean = false
This will enable the mapping of the ColorFrame to the DepthSpace.
enableDepthFrame | property |
public var enableDepthFrame:Boolean = false
This will enable the DepthFrameReader of the Kinect sensor. The DepthFrame is the image visualizing the tracked depth data.
enableDepthFrameMappingToColorSpace | property |
public var enableDepthFrameMappingToColorSpace:Boolean = false
This will enable the mapping of the DepthFrame to the ColorSpace.
enableInfraredFrame | property |
public var enableInfraredFrame:Boolean = false
This will enable the InfraredFrameReader of the Kinect sensor. The InfraredFrame is the image visualizing the tracked infrared data.
enableInfraredFrameMappingToColorSpace | property |
public var enableInfraredFrameMappingToColorSpace:Boolean = false
This will enable the mapping of the InfraredFrame to the ColorSpace.
enableLongExposureInfraredFrame | property |
public var enableLongExposureInfraredFrame:Boolean = false
This will enable the LongExposureInfraredFrameReader of the Kinect sensor. The LongExposureInfraredFrame is the image visualizing the tracked long exposure infrared data.
enableLongExposureInfraredFrameMappingToColorSpace | property |
public var enableLongExposureInfraredFrameMappingToColorSpace:Boolean = false
This will enable the mapping of the LongExposureInfraredFrame to the ColorSpace.
enableVisualGestureBuilderFrame | property |
public var enableVisualGestureBuilderFrame:Boolean = false
This will enable the tracking of gestures (GBD/GBA files). Not active at the moment, further testing needed.