/OpenNI2

OpenNI2 VS 2019

Primary LanguageC++Apache License 2.0Apache-2.0

OpenNI

perevalovds fork notes

  • Updated the code to be compiled on VS 2019, 64 bit, except cameras drivers (I put them as dll).

  • Added function for faster converting whole depth frame to world, see DepthToWorldCoeff, getDepthToWorldCoeff() at CoordinateConverter.

  • Changed PS1080.ini to be able to work with more number of cameras on a single PC: UsbInterface=2

Original text

Structure Core customers: OpenNI does not currently support Structure Core. To start developing with Structure Core download Structure SDK (Cross-Platform) on the Developer Portal.

OpenNI2 homepage: 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