This is a school project solely made to explore some features of Microsoft Kinect V2
This program is designed to inherit basic mouse functionality in order to control a predefined set of programs. Currently the program controls Microsoft Power Point and Windows Media Player to some degree. You will also get simple and straight forward graphic UI.
- 64bit Windows OS
- .NET >4.5.x
- USB 3.0
- Microsoft Kinect V2
- Microsoft Visual Studio (Version 2017 is required)
- Power Point and Windows Media Player (obviously...)
As this repo contains uncompiled C#-Code you need to compile it via VS at first. Then simply open the program. WARNING: The Graphic UI is in not in English. We are a German team of students and therefore it is written in our uber language^^
The running control center presents a green button. If you click on it "Kinect Control" is activated and the button color turns red to indicate that. Now you can use your right arm to move the mouse across the screen. To deactivate just click the same button again. During "Kinect Control" a mouse click can be executed by simply presenting your left hand opened up to the camera and then closing it (making a fist). The process of your open left hand switching to the closed position is what the program translates as 'doClick'.
- Double Lasso = closes the whole program
- Media Player
- Right Hand Open = Play/Pause music
- Left Hand Open = Mute Sound
- Right Hand Lasso = Next Song
- Left Hand Lasso = Previous Song
- Power Point
- Right Hand Open = Arrow Right (usually next slide)
- Left Hand Open = Arrow Left (usually previous slide)
A 'lasso' is the 'Victory Sign'. So you have a fist and then raise just your index and middle finger. A double lasso is when you do present it with both hands.
- The libraries named below need to be referenced in C# before compiling. I've linked to source but the .dll's can an be found in /src/ControlKinectCenter/lib
- ToastNotifications.dll (both Toastnotifications libraries can be installed via 'nuget')
- ToastNotifications.Messages.dll
- Lightbuzz.Vitruvius.dll
- InputSimulator.dll
Do you want to contribute? Great! Just fork the repo and create something of your own. This directly leads me to a little issue and it is covered in the following paragraph.
I wish I could offer this code completely open source but I can't as we have used (and included) proprietary libraries. So whatever you want to do with this code, you need to at least follow the copyright notes of Microsofts Kinect SDK and Lightbuzz "Kinect-Drawing" application. The latter is published under the MIT-License.
Big shoutout goes to TangoChen. His repository gave us a first glimpse of Kinect and we used it as an entry point for our own development.