OpenNI2
C++ C Shell Python Java Objective-C Other
Pull request Compare This branch is 16 commits ahead, 2 commits behind OpenNI:master.
Latest commit 1fce8ed Aug 19, 2015 Dustin Hopper OniStream:convertDepthToWorldCoordinates
Function now checks the stream pixel format to return millimeters if the pixel format is set to PIXEL_FORMAT_DEPTH_100_UM

README.md

OpenNI

http://structure.io/openni

Develop branch

The latest ongoing development is currently being done in the develop branch. Refer to README and ReleasesNotes in the develop branch for up to date build instructions.

Contributing

Pull requests that do not apply cleanly on top of the develop branch head will be rejected.

Other than that, sensible and meaningful contributions are very welcome!

Building Prerequisites

Windows

Linux

Android

Building

Building on Windows:

Open the solution OpenNI.sln

Building on Linux:

Run:

make

Cross-Compiling for ARM on Linux

The following environment variables should be defined:

  • ARM_CXX=path-to-cross-compilation-g++
  • ARM_STAGING=path-to-cross-compilation-staging-dir

Then, run:

PLATFORM=Arm make

Creating OpenNI2 packages

  • Go into the directory Packaging
  • Run:

    ReleaseVersion.py [x86|x64|arm|android]
    
  • The installer will be placed in the Final directory