Using Kinect as an input for OpenSim

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Khang Nguyen
Posts: 3
Joined: Wed Oct 14, 2015 11:57 pm

Using Kinect as an input for OpenSim

Post by Khang Nguyen » Thu Oct 15, 2015 12:10 am

Hi all,

This is my first time using OpenSim and Kinect. I want to use data from Kinect like x,y,z coordinates as input data for OpenSim , so I can use built-in functions from OpenSim like inverse kinematics. But I want OpenSim input data from Kinect simultaneously (real life). Are there any ideas ?

Thank you in advance!

Kevin

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Using Kinect as an input for OpenSim

Post by jimmy d » Thu Oct 15, 2015 1:05 am

This may be a good place to start....
https://simtk.org/forums/viewtopic.php? ... ect#p14886

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: Using Kinect as an input for OpenSim

Post by Dimitar Stanev » Fri Oct 16, 2015 2:54 am

Hi Kevin,

It's an old project of mine. It may need some changes to work with streaming, but I think it is a good start. Also, I dump the joint position to OpenSim trace files.

https://github.com/mitkof6/KinectMotionCapture

Regards

User avatar
Khang Nguyen
Posts: 3
Joined: Wed Oct 14, 2015 11:57 pm

Re: Using Kinect as an input for OpenSim

Post by Khang Nguyen » Fri Dec 11, 2015 12:07 pm

Thank you for your help!

However I have a new question here. Now I am using model arm26 with 3 markers data from Kinect. So I clicked on "Preview Experimental Data" to input the makers' data .trc file.The simulation run well. Then I use the "Inverse Kinematics " tool and import the same .trc file, then the markers are off from the shoulder, elbow and wrist positions.

I think I need to perform some scaling before running the Inverse Kinematics. But I do not know how.

Would you please give me some hints?

Regards

User avatar
mina ashraf
Posts: 1
Joined: Tue Mar 13, 2012 11:33 am

Re: Using Kinect as an input for OpenSim

Post by mina ashraf » Sat Dec 10, 2016 1:17 pm


User avatar
Paavo Vartiainen
Posts: 2
Joined: Thu Jan 20, 2011 6:40 am

Re: Using Kinect as an input for OpenSim

Post by Paavo Vartiainen » Mon Dec 12, 2016 1:07 pm

Hi,
In which type of movements have you used Kinect, I think Kinect is not at its best in case of level walking.

POST REPLY