Skip to content
OpenNI2.x Cinder Block
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build/vc2012
src
templates/Basic
README.md
cinderblock.png
cinderblock.xml

README.md

/* CADET - Center for Advances in Digital Entertainment Technologies Copyright 2013 University of Applied Science Salzburg / MultiMediaTechnology

http://www.cadet.at
http://multimediatechnology.at/

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

CADET - Center for Advances in Digital Entertainment Technologies

Authors: Robert Praxmarer
Email: support@cadet.at
Created: 17-05-2013

*/

OpenNI2xCinderBlock

Cinder Block for new OpenNI 2.x API (Kinect, PrimeSense and other TOF devices) written by Robert Praxmarer, this piece of software is free (Apache 2.0), do with it what u want but don't blame me

Getting Ready

  • Install OpenNI 2.2alpha and NITE 2.2alpha
  • I am not allowed to redistribute NITE2 with this repo, so you need to copy the content of your NITE2 installation /NITE2/redist to OpenNI2xCinderBlock/bin if you don't do this the app crashes cause it can't find the NITE2.dll
  • If you start the app from within Visual Studio be sure to put the working dir ....\bin in the settings, otherwise dlls won't be found

Features

  • RGB, Depth, IR Streams supported (just two streams work simultaniously)
  • User Tracking / Skeleton Tracking
  • Masking RGB, IR and Depth Stream with User Stream (Background Substraction)
  • Nonblocking
  • Recording / Playback
  • Multiple Devices (this wrapper manages multiple devices easy for you to startup, get data, ...)
  • Hotplugging of devices, auto restart when connected device gets unconnected and then reconnected (still experimental, needs testing on multiple devices)

Known Issues

  • Issues with Microsoft Kinect SDK and Microsoft Drivers (tested for MS SDK v1.6, and 1.7)

    • Features like mirror, align, reset are not working with MS Kinect SDK, they work fine with a PrimeSense Device You can't install patched avin2 drivers anymore with OpenNI 2.x

    • When using with Kinect and Windows Kinect drivers just 8bit image information can be retrieved and is shown

    • Timeout for Wait forAnyStream not working for Kinect SDK (so for now no framerate boost in polling mode)

  • Other issues

    • When using multiple devices, usertracker just works for the first device (tested with KINECT SDK and NITE2 for live and playback devices, should behave the same when using two real devices) This is working now for multiple devices and recordings tested with two primesense devices, not sure about kinect yet

    • When the UserTracker is enabled you can't mirror the DepthStream

    • OpenNI function setDepthColorSyncEnable(); freezes app with AsusSensor, it seems to be ignored on windows kinect

    • You can't play the same file with different positions, if you start the same file twice the always run synchronously

    • Same file playback with usertracker and subtraction flickers

TODO

  • Auto Restart crashed due to an bug in the close function of openni
  • Alternative event based implementation (should be way faster as it's threaded,specially for multiple devices)
  • HandTracker
  • device number vs. uri, rewrite functions to work with unique ids
  • Realtime change of resolutions and active streams
  • Seperation Wrapper / Cinder Helper Code
  • Test if recording of multiple devices is possible simultaniously
  • Quiet mode --> switch of error and debug msgs in console
  • TinderBox automatically copying OPENNI and NITE REDIST not sure if tinderbox supports that
You can’t perform that action at this time.