"Kinect Status Notifier"
- Posted: Aug 13, 2013 at 6:00 AM
- 3,872 Views
Today's project from Abhijit Jana is a cool DLL, with code, that helps you keep track of the connection status of your Kinect. He gets extra credit for releasing it on NuGet too...
The Kinect Status Notifier, will pops up a notification in system tray whenever this changes in sensor status. This can be very useful for Kinect for windows SDK based application.
To understand the flow of the Kinect status and the scenarios on which it can occur in a simpler way, refer the diagram below. Once the device is plugged in and power is turned off it will goes to “Not Powered” state, similarly for unplugging the device from USB port will returns the “Disconnected” status. If you plugged it in back or turn the power on, first it will in “Initializing” state before turns into “Connected” state.
Read more about Kinect Status over here
Kinect for Windows SDK V1.0 or Higher
Kinect for Windows Sensor
See it in action
Kinect Status Notifier, will notify the state of the sensor whenever there is a change of status.
By default, it shows the Kinect Status and device Id during the notification. You can customize the messages based on your requirements.
What is inside ?
KinectStatusNotifier is not a self-executable, it generates an assemblies “KinectStatusNotifier.dll” which can be used with Kinect based application. NotifyIcon is utility forms System.Windows.Forms which can be used invoke the default notification from the system tray. By default, WPF application does not have the Notify Icon, so we are going to create a wrapper around System.Windows.Forms.NotifyIcon so that we can easily invoke it from WPF application.
How to use it ?
This utility is a sample project from my book, Kinect for Windows SDK Programming Guide. If you want to learn more about how to build application using Kinect for Windows SDK, please check my book out. Thanks
Project Information URL: http://abhijitjana.net/2013/08/08/kinect-status-notifier-notify-kinect-status-in-system-tray/
Project Download URL: https://kinectstatusnotifier.codeplex.com/
Project Source URL: https://kinectstatusnotifier.codeplex.com/