=== Kinect PowerPoint Control
Joshua Blake
Copyright ?2011
This project shows how to use the Kinect SDK to do basic gesture recognition to control PowerPoint.
=== Requirements
?Kinect for Windows SDK beta
?Microsoft Office PowerPoint
=== Usage
1. Compile and run the application
2. Point the Kinect at you and stand at least five feet away
3. You can see yourself in the application window and the three ellipses will track your head and hands.
4. Extend your right arm to activate the "right" or "forward" gesture. Extend your left arm to active the "left" or "back" gesture. These gestures will send a right or left arrow key to the foreground application, respectively.
5. Run your PowerPoint show so PowerPoint is the foreground application, and the right and left gestures will go forward and back in your deck.
The ellipses grow and change color when your hand exceeds the threshold of 45 centimeters. The gestures will only activate once as your hand exceeds the threshold, and only one of the gestures can be active at once. You must bring your hand back closer to your body to activate the gesture a second time.
The gestures will also work for any other application. For example, open Notepad and type some text then use the gestures to move the cursor left or right one character at a time.
=== Speech recognition
By default voice recognition is disabled due to false positives, but you can uncomment the call to the StartSpeechRecognition() in MainWindow_Loaded() to enable speech recognition. The recognizer is set up to recognize and respond to the following commands:
?computer show window
?computer hide window
?computer show circles
?computer hide circles
=== Limitations
1. There is currently no way to activate embedded videos, so you should add a PowerPoint animation so the video starts when you push the right arrow key.
2. The gesture is triggered based upon the distance between the head and the hands, so you might accidentally trigger the gesture if you put your arms out, or bend over to pick something up perhaps.
3. Speech recognition, if enabled, will currently cause the program to hang after you close the window until the next audio sample is recognized or rejected.
4. Speech recognition may have a lot of false positive or false negatives. Hopefully this will be improved in future versions of the SDK.
=== Book
This code is a sample project from my book, Natural User Interfaces in .NET. If you want to learn more about how to design and develop NUIs, please check my book out. If you like this software, please buy my book to show your support and tell your friends! Thanks!
http://bit.ly/NUIbook
Chapter 1 is free at that URL.
=== License
The source code is made available under the Ms-PL.
http://kinectpowerpoint.codeplex.com/license
Yes, I know the Kinect SDK EULA requires code to use a particular license. I don�t think that language enforceable and I don�t think the Kinect SDK teams intended to place those restrictions on how we distribute the code that we write and own.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
KinectPowerPointControl.zip (64个子文件)
KinectPowerPointControl
Readme.txt 3KB
KinectPowerPointControl.v12.suo 21KB
KinectPowerPointControl
bin
Release
Debug
KinectPowerPointControl.pdb 34KB
KinectPowerPointControl.exe 18KB
Microsoft.Research.Kinect.dll 55KB
KinectPowerPointControl.vshost.exe 24KB
ImageFrameReadyEventArgs.cs 179B
App.xaml 334B
obj
x86
Debug
KinectPowerPointControl.csprojFakesResolveAssemblyReference.cache 18KB
App.g.i.cs 2KB
KinectPowerPointControl.csproj.ResolveComReference.cache 792B
App.g.cs 2KB
Fakes
fakes.args 7KB
ms
f.ch 56B
f.fakesconfig 7KB
f.fakes 9KB
f.csproj 7KB
o
f.csprojResolveAssemblyReference.cache 24KB
Microsoft.Speech.Fakes.pdb 608KB
f.csproj.FileListAbsolute.txt 1KB
Microsoft.Speech.Fakes.dll 269KB
f.snk 596B
f.ah 8B
b
Microsoft.Speech.Fakes.pdb 608KB
Microsoft.QualityTools.Testing.Fakes.dll 295KB
Microsoft.Speech.Fakes.dll 269KB
Microsoft.Research.Kinect.dll 55KB
Microsoft.Speech.Fakes.xml 422KB
Microsoft.Speech.Fakes.fakesconfig 7KB
f.cs 2.83MB
Interop.SpeechLib.dll 167KB
KinectPowerPointControl.csproj.GenerateResource.Cache 919B
KinectPowerPointControl.pdb 34KB
KinectPowerPointControl.Properties.Resources.resources 180B
KinectPowerPointControl_Content.g.i.cs 532B
KinectPowerPointControl.exe 18KB
DesignTimeResolveAssemblyReferencesInput.cache 8KB
MainWindow.g.cs 5KB
DesignTimeResolveAssemblyReferences.cache 3KB
KinectPowerPointControl.g.resources 2KB
TempPE
Properties.Resources.Designer.cs.dll 5KB
KinectPowerPointControl.csproj.FileListAbsolute.txt 4KB
KinectPowerPointControl_MarkupCompile.cache 369B
KinectPowerPointControl_MarkupCompile.i.cache 368B
MainWindow.g.i.cs 5KB
MainWindow.baml 1KB
KinectPowerPointControl.csprojResolveAssemblyReference.cache 24KB
Fakes
Microsoft.Speech.fakes 248B
App.xaml.cs 325B
KinectPowerPointControl.csproj 7KB
KinectPowerPointControl.csproj.user 478B
FakesAssemblies
Microsoft.Speech.Fakes.messages 177KB
Microsoft.Speech.Fakes.dll 269KB
Microsoft.Speech.Fakes.xml 422KB
Microsoft.Speech.Fakes.fakesconfig 7KB
Service References
KinectPowerPointControl.csproj.vspscc 257B
MainWindow.xaml 1KB
Properties
Resources.resx 5KB
Settings.settings 201B
AssemblyInfo.cs 2KB
Settings.Designer.cs 1KB
Resources.Designer.cs 3KB
MainWindow.xaml.cs 12KB
KinectPowerPointControl.sln 911B
共 64 条
- 1
资源评论
- my_mine012016-07-07OK 有帮助
- leon_hust2015-07-20挺有意思的
- huachengcheng2014-06-05不知道运行的时候这个错误是什么意思?“对类型“KinectPowerPointControl.MainWindow”的构造函数执行符合指定的绑定约束的调用时引发了异常。”,行号为“3”,行位置为“9”。
luomi0327
- 粉丝: 2
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功