/kinect-sdk-bvh-saver

This project is based on the official Kinect SDK example, it will automatically save many skeleton animation clips to bvh files.

Primary LanguageC++MIT LicenseMIT

kinect-sdk-bvh-saver

This project is based on the official Kinect SDK example, it will automatically save many skeleton animation clips to bvh files.

Then you can import the bvh files into Blender or other softwares to smooth animation curves. I use Blender's default smooth key setting to smooth all rotation channels, the results is acceptable.

There is a macro definition named 'FILTER_MODE', change it from 1 to 2 or 3 to enable three types of smooth features.

There is a macro definition named 'DRAW_BONE_AXIS', change it to false to disable the feature.

There is a macro definition named 'MIRROR_MODE', change it to false to disable the feature.

Requirements

Windows 7(32 bit or 64 bit)
kinect for xbox 360.
Microsoft Kinect for Windows SDK 1.7
Microsoft Visual Studio 2010 Express Edition

How to use

1.Install Microsoft Kinect for Windows SDK 1.7.
2.Plug in kinect for xbox 360
3.Install Microsoft Visual Studio 2010 Express Edition.
4.Open the project, build and run.

When the Kinect camera detects your body, the software will automatically record the skeleton animation to a bvh file, after the Kinect camera can not detect your body, the software will finish recording the bvh file, the output path is the current directory.

Enter the Kinect camera's viewport, perform actions, then leave the viewport, repeat the steps, you can record many skeleton animation clips at one time.

Thanks

1.Derek Hendrickx's KinectMotionCapture
2.Kyle Weicht's 3D math library
3.Birdy's Notebook
4.sunchy's Kinect_to_BVH_Console

License

The MIT License (MIT)