-
Notifications
You must be signed in to change notification settings - Fork 0
Code for Kinect hand detection and tracking and two users hands detection and tracking. It can communicate with other programs by sending specialized UDP messages. Projects for MS Visual Studio 10 and makefile for OSX.
xforns/Kinect-Detector
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Code that permits to perform hand detection and (two) users detection and tracking. It has already configured some UDP messages being sent to a single IP and port. Specifically: - No pose required for skeleton tracking. - Detects push and wave events. - Detects the presence of two hands and sends a UDP message; it also sents a UDP message when the second hand is lost. - Grabs location of the primary detected hand and sends it back to the specified IP. - When the users are detected, starts tracking the users' hands positions and sends it back to the specified IP. - When a hand and a user are detected or are lost, UDP messages are sent aswell. Major configurable parts are located in define directives at the beginning of the file. The project can be built under three different scenarios: - Microsoft Visual Studio 10 - OSX makefile (lacks testing under *nix and Windows) - OSX Eclipse CDT (lacks testing under *nix and Windows) The code is based on NITE middleware version v1.5.2.21. GENERAL NOTES: The code expects the file 'detector.xml' to be present either at the debug or release directories. The content of the file is as follows: <OpenNI> <Licenses> <License vendor="PrimeSense" key="insert key here"/> </Licenses> <Log writeToConsole="true" writeToFile="false"> <!-- 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default) --> <LogLevel value="3"/> <Masks> <Mask name="ALL" on="false"/> </Masks> <Dumps> </Dumps> </Log> <ProductionNodes> <Node type="Depth"> <Configuration> <Mirror on="true"/> </Configuration> </Node> <Node type="Gesture" /> <Node type="Hands" /> <Node type="User" /> </ProductionNodes> </OpenNI> WINDOWS NOTES: If you happen to have the error "fatal error RC1015: can not open include file 'afxres.h' " when compiling the project, it's easily solvable. Either change the line at the 'nite.rc' file where it says 'afxres.h' for 'windows.h', or create a new file 'afxres.h' and place code you will find elsewhere on the web ;) DISCLAIMER: This software is based on sample working code obtained on NITE sample sources and code elsewhere on the Internet.. It may be unreliable, prone to errors and lacks proper testing. Besides it is an on-going project that I will keep updating until something (which still I have to define) mature is reached.
About
Code for Kinect hand detection and tracking and two users hands detection and tracking. It can communicate with other programs by sending specialized UDP messages. Projects for MS Visual Studio 10 and makefile for OSX.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published