What's the frame to write Kinect skeleton track program with gesture users can define with C#? -
i'm writing program kinect skeleton track program.while definition of gesture written in program. want definition of gesture defined user.one way of doing dfa. don't konw how start c#. can 1 help?
try using lists store coordinates of skeleton's joints (kind of buffer) , maybe run dfa. define transitions range of coordinates every direction , , final state when elements in buffer approximativily in same area.
so in c# need create datatype save sequece of gesture updated when user adds one.lists buffers stated below.
when saving gesture code :
while(!joint_stable && (i < buffer.count() ) ) { while ((buffer.joint.elementat(i+1).x-buffer.joint.elementat(i)).x>0 && (buffer.joint.elementat(i+1)-buffer.joint.elementat(i).y )>0 ) //think adding tolerence here { gesture.add("upper_right"); } ... }
just advice , kinect sensor not accurate try establish kind of tolerance.
i hope answer or @ least give inspiration :)
Comments
Post a Comment