Source Frome Goran Djonovic


Kinect for xBox 360 SDKs (before 1.5) was

and analyzing
You will get
C++ application can directly use the face tracking libraries
In the other case, you should use a wrapper
Use:
kinectSensor.ColorStream.Enable();
kinectSensor.DepthStream.Range = DepthRange.Near;
kinectSensor.DepthStream.Enable(rez80X60);
kinectSensor.SkeletonStream.EnableTrackingInNearRange = true;
kinectSensor.SkeletonStream.TrackingMode = SkeletonTrackingMode.Seated;
skeletonData = new Skeleton[6];
kinectSensor.Start();
faceTracker = new FaceTracker(kinectSensor);
var skeleton = skeletonData.FirstOrDefault(
s => s.TrackingState == SkeletonTrackingState.Tracked);
if (skeleton == null)
return;
// only track face if all data are there
FaceTrackFrame faceFrame = faceTracker.Track(
kinectSensor.ColorStream.Format, colorPixelData,
kinectSensor.DepthStream.Format, depthPixelData,
skeleton);
This method will return 87 face points in 3D
First there were hits/clicks, then we got likes, but now we can have true emotions.
returns the same collection but in a 2D referential corresponding to a 640×480 pixels image.
is a method that you can use in association with the Get3DShape method. It will return you a collection of triangles.
Be aware of technical abilities and limitations
Match your user/client needs and mindset.