This document discusses building applications for the Kinect sensor. It covers initializing the Kinect sensor, discovering connected sensors, starting and stopping the sensor, and accessing sensor data through streams. The Kinect sensor generates data from its cameras that is available to applications through data streams. Applications must initialize the sensor before using it and uninitialize it when finished to release system resources.
3. 01. Introduction
2/23
Windows not usedforinput. Instead, they are used to display information only,
while all inputis derivedfromthe Kinect sensor.
Every Kinect application must detectattached Kinect sensors and must then
initialize thesensor. Onceinitialized, thesensor producesdata witch the
application processes.
When the application finishes using the sensor it must uninitialized it.
4. 02. The Kinect sensor
2/23
Kinect generates data based on input gathered from its cameras.
This data is available toapplications through data streams, theconceptis similar to
the IO streams foundin the system.IO namespace.
ColorImageStream | DepthImageStream | SkeletonStream
Each stream packages data on what’s called a frame.
There are 2 means forretrieving frame data from a stream :
- The polling model
- The events model
5. 02. The Kinect sensor
2/23
The Kinectis represented byKinectSensor object, they are created by theSDK
when it detects an attached Kinect.
The kinectSensor class has a static propertynamed KinectSensors,itis of type
KinectSensorCollection
The KinectSensorCollection typeconsists only of { an indexer + an event named
StatusChanged } ( it countsthe number of attachedKinects )
6. 03. Discovering connected a sensor
2/23
To find an attached Kinect, just the presence ofa KinectSensorCollection does not
mean it is directly usable.
The KinectSensor object has a propertynamed status wichindicates the device’s
state( undefined,connected,disconnected,error,initializing…)
7. 04. Starting the sensor
2/23
Kinect must beinitialized beforeit can begin producing data.
3 steps :
- The application enables the streams itneeds.
- Determine how youapplication retrieves data from the Kinect.
- The application starts theKinectSensor objectby calling the start method.
8. 03. Stopping the sensor
2/23
Calling the stopmethod.
The Kinectsensor objectand its streams use system resources. Your application
should release those resourceswhen no longer needed.
Editor's Notes
Hello everyone, we are Smart Dev Team today we are going to present you our PIM project entitled ToolBox Sony Smartwatch Supervised by madame Salma Sayah
we will start by our presentation plan
first
then
after that we have
and then the
and we will finish by
we will start by our presentation plan
first
then
after that we have
and then the
and we will finish by
we will start by our presentation plan
first
then
after that we have
and then the
and we will finish by
we will start by our presentation plan
first
then
after that we have
and then the
and we will finish by
we will start by our presentation plan
first
then
after that we have
and then the
and we will finish by
we will start by our presentation plan
first
then
after that we have
and then the
and we will finish by