pgte / node-openni

OpenNI bindings for Node.js
79 stars 37 forks source link

Request: Tracking, pre-pose/calibration #10

Closed KevinGrandon closed 10 years ago

KevinGrandon commented 11 years ago

HI Pedro,

Not sure if this is the right area, or if it's possible, but I'd like to request that we be able to track the position of users, or even a rough guess at center of mass pre-calibration.

Thanks for all the hard work on this library, it's awesome!

KevinGrandon commented 11 years ago

I don't really know this stuff too well, but I think the only way to do it is to look for the center of mass. Here's something that may be handy:

http://kinectcar.ronsper.com/docs/openni/classxn_1_1_user_generator.html#a451c8a197374b567e62622f5edcb1670

Perhaps there could be a simple API to return the COM given a userId.

pgte commented 11 years ago

@KevinGrandon I'd be glad to accept a PR with this feature :)