I've been trying out the jit.openni external for the mac. It seems really good.
I've been wanting to limit the depth within which the skeleton analysis operates. Preferably, this would only affect the skeleton analysis (ie. I would still get full depth map output from the depthmap outlet), but my priority is to get the skeleton analysis working in a constrained range.
From reading some of the posts on here, it looks like I need to edit the OpenNI xml file. After reading the OpenNI website, it seemed like I only had to add a couple of lines to the existing openni_config.xml.
This is what I changed (comments show you the small amount of code I added:
So... It doesn't work; it initialises in exactly the same way as it previously did. This problem solving is made more difficult because of the newness of this object (as in, is this feature working/supported), and my lack of familiarity with XML. So I was wondering if anybody has had any luck with this approach? Or is there another way to limit the depth the Skeleton analysis operates on. I know I could take the numerical values output for the z-dimension and filter them, but I want to use this in a busy space, and am worried that if I don't limit the range it works on things could get quite messy (eg. if there are forty people within the Kinect's entire range, I would maybe just want it to work between 1m and 3m).
There is probably something really simple or obvious I am missing. Has anybody used this functionality successfully?
There is probably something obvious that I am doing wrong. Has anybody successfully used this functionality?