GithubHelp home page GithubHelp logo

Set the user timeout? about jit.openni HOT 1 CLOSED

diablodale avatar diablodale commented on August 21, 2024
Set the user timeout?

from jit.openni.

Comments (1)

diablodale avatar diablodale commented on August 21, 2024

Interesting inquiry. Unfortunately, there is no known way to change the timeout for recognizing users (aka skeletons) on the lost/re-enter/exit.

The OpenNI SDK writes, "The 'Lost User' event signals that a user has been lost from the list of previously recognized users in the scene. The exact meaning of a 'lost user' is decided by the developer of the xn::UserGenerator. However, a typical implementation would define that a lost user is a previously recognized user that then exits the scene and does not return, even after a 'Lost User' timeout has elapsed. Thus this event might be raised only after some delay after the user actually exited the scene."

PrimeSense writes OpenNI and NITE. NITE is the user generator portion of that. PrimeSense did not expose a way to change the timeouts that you need. :-/

The link you provided to the forum writes about the timeout for gesture recognition. NITE also provides functionality for gesture recognition and in that API set, they did expose a method to control the timeout. Unfortunately, they did not expose a method for user/skeletons recognition.

This will not change for the current v1.x SDK. PrimeSense has abandoned that SDK and completely re-written everything for a v2 SDK which is still in early development.

As a suggestion (I don't know much about your project) you might have better results by using the users who are "moving" or users which are the closest to the Kinect. When a user exits, you will get the exit event and their coordinate values should change very little (or not at all). Using a combination of looking at the exit event + users who's coordinates are unchanging can likely tell you which users should be removed from your scene. The users that remain, are the users who are actively moving and you are probably most interested in.

If you believe I have not addressed your concern, please reopen this issue.

from jit.openni.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.