Sign in to queue


Today's project might not be one that is used often, but it's fun and not something I believe I've seen before... Then again, who wouldn't want to power their automation with PowerShell and the Kinect? Tongue Out

PowerShell and the Kinect

A few months back I wrote a “module” for scripting the Kinect with PowerShell. It’s located at: https://github.com/adminian/PowerKinect. Recently a new Kinect SDK was released. I’m going to be testing out the new SDK to make sure everything works as expected.

More info about the new SDK: http://blogs.msdn.com/b/kinectforwindows/archive/2013/03/18/the-latest-kinect-for-windows-sdk-is-here.aspx.

Currently there are only two gestures: right hand swipe and left hand swipe. There is also a function that starts PowerPoint and allows you to control your presentation.

Gary Siepser, a fellow PFE and PowerShell Guru, jumped in and started helping out. He’s written the Audio control functions for the module. We’ll be integrating them into the repo soon! I’ll be posting more about Scripting the Kinect, but for now go clone the repo and give it a try!

Project Information URL: http://adminian.com/2013/03/24/powershell-and-the-kinect/


A module to control the Kinect from PowerShell.

Currently we only support Kinect SDK version 1.6. Download located here: http://go.microsoft.com/fwlink/?LinkID=262831

Sample-KinectScripts.ps1 has a dependency on ShowUI: http://showui.codeplex.com/

The following is PowerKinects Hello world...



Add-RightHandGesture -action { notepad }

Add-LeftHandGesture -action { ps notepad | kill }

That's it!

Project Source URL: https://github.com/adminian/PowerKinect

$global:ie = New-Object -ComObject InternetExplorer.Application
$global:ie.Visible = $true
sleep 1
sleep 1
sleep 1
sleep 1

Add-RightHandGesture -action { $global:ie.GoForward() }
Add-LeftHandGesture -action { $global:ie.GoBack() }

Contact Information:

The Discussion

Add Your 2 Cents