I’ve just added to roxlu’s ofxOpenNi the capacity for automatically loading a standard user calibration file whenever a new user is recogniced.
I included an example app.
So far compiled OpenNI an NITE libs just for mac.
In win or linux it should work with no problem using the latest unstable releases of both libraries.
comments are welcome.
Thanks fro this. I’m keen to try this out but seems some pieces may be missing? I notice the auto skeleton example still references ofxHardwareDriver but this class no longer exists in your version of the addon? I removed this dependency from the example but then I came up against some other problems.
HI there.
This is my first github commit so there might be some faults.
I just downloaded it in a different computer and realized there are several things to correct.
Mi first guess is that the reference to the openframeworks lib is broken.
I didn’t modified the ofxTrackedUser class. just ofxUserGenerator.
I’ll correct right now all the mistakes and upload it asap.
I’ll let you know when its done.
OK. so now it works.
My mistake was to use roxlu’s latest commit, in which he modified and reimplemented almost all classes, but I was actually using a previous version by gameoverhack. So now i reverted all to gameoverhack’s version and uploaded everyting to github.
Now it should run with no problems.
Keep in mind that you need to update to the latest versions of OpenNI and NITE.
Duhh!
Sure.
My fault.
It wasn’t uploaded because I left the whole bin folder ignored.
I’m uploading it to GitHub right now.
BTW, I gues that my Usercalibration.bin file might not be the best one. You can easily create your own ones. The classes for doing so are implemented in ofxUserGenerator. I think I might have a working example that generates UserCalibration files. I’ll upload it asap to github.
I patched together a version using a recent project based off gameoverhack’s and roy’s ofxUserGenerator
It seems the updated libraries were throwing me. Still testing too but once I created my own usercalibration file it picked me up right away - pretty amazing!
@jvcleave: the error you are getting is because you have not installed the latest OpenNI and NITE libs.
Even though the updated libs are in data/openni/libs/ folder you need to install the libs to your computer.
I don’t know why this is this way, I was getting the same error and got solved after installing the lastest libs.
I left my comuuter uploading the usercalibration file, I didn’t checked if it was uploaded well; it didn’t.
I’ll uploadit again to github. Also attached here.