Skip to content

KHeresy/webNI

Repository files navigation

webNI

https://github.com/KHeresy/webNI
A WebSocket Server of OpenNI 2 and NiTE 2.

=====

webNI is a framework to provide a user skeleton data server by HTML5 WebSocket.
By using webNI server, user can get skeleton data in any platform which support WebSocket.
The skeleton is generated by OpenNI 2 and NiTE 2.

Here is a simple demo video: http://www.youtube.com/watch?v=tPKgvlb4stk

This project is still in the early stage, every thing is not finalized.
Any help/suggestion is welcome.

See the detail in wiki pages: https://github.com/KHeresy/webNI/wiki/_pages

My Blog: http://kheresy.wordpress.com/ (Chinese)


====
The folders:

1. webNIServer
    a C++ webNI Server

2. Binary
    precompiled webNI server binary

3. webNI.js
    web-based JavaScript webNI client

4. TestWeb
    Test web page of webNI.js



====
Library requirement:
1. Boost C++ Libraries
    http://www.boost.org/

2. WebSocket++ 0.3
    http://www.zaphoyd.com/websocketpp

3. OpenNI 2
    http://www.openni.org/

4. PrimeSense NiTE 2
    http://www.openni.org/files/nite/

Please modify the file webNIServer/PathSetting.props (a XML file) for the 4 macros:
1. BOOST_INCLUDE
2. BOOST_LIB
3. BOOST_LIB64
4. WEBSOCKETPP_INCLUDE


====

Binary build environment:
* Windows 7 Pro
* Microsoft Visual C++ 2012 Professional

To use precompiled binary, you need to installed Visual C++ Redistributable for Visual Studio 2012 Update 1
http://www.microsoft.com/en-us/download/details.aspx?id=30679
(VSU1\vcredist_x86.exe)

====

Should can be build by gcc 4.6