Kinect Mo-cap Tutorial
Body Joints and Facial Features Tracking
Hardware: Kinect for Xbox One and Kinect Adapter for Windows, or Kinect for Windows v2 (discontinued).
Software: Visual Studio
1. Download and install the Kinect for Windows SDK 2.0 from the Official Microsoft Download Center here
2. Download and unzip the code package here.
3. Open BodyBasics-WPF.csproj, build solution, and hit “Start” to run the program.
4. A new window will pop up. Enter the file name for the sign that you wish to add. Then when the person starts doing the sign, hit “Start Capture.” At the end of the sign, hit “Stop Capture.” The window looks like this:
Data from Tracking
Three data files are saved: one is for the body joint position, one is for the face features position, and one is for time. These data can be found in bin -> AnyCPU -> Debug -> signData.
Even though all joints are drawn here, only position data for the shoulder spine, shoulders, elbows, wrists, hands, hand tips, and thumbs are saved. In the body data file, the joint data for each frame appear in the following order:
|12||Left Hand Tip|
|14||Right Hand Tip|
In the face data file, the facial features appear in the following order:
|2||Left Eye Inner Corner|
|3||Left Eye Outer Corner|
|4||Right Eye Inner Corner|
|5||Right Eye Outer Corner|
|7||Mouth Left Corner|
|8||Mouth Right Corner|