c# - Get JointType from Body class Kinect -


i know in old sdk, there skeleton class , can

public void compare(skeleton skeleton) {     var leftshoulderposition = skeleton.joints.where(j => j.jointtype == jointtype.shoulderleft); } 

however, new sdk came out , skeleton class replaced body class. now, code throwing error @ j.jointtype.

is there workaround problem?

with microsoft kinect sdk v2.0, can shoulderleft joint (and, similarly, other skeletal joint) follows:

body.joints[jointtype.shoulderleft] 

where body instance of body class refer.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -