Coder Social home page Coder Social logo

mocap's Introduction

MATLAB Motion Capture Toolbox

The MATLAB motion capture toolbox allows loading and playing of BVH and acclaim files in MATLAB.

Warning this toolbox seems to be affected by a possible bug in MATLAB 7.4, see here for details.

Release Information

Current release is 0.136.

As well as downloading the MOCAP software you need to obtain the toolboxes specified below.

Toolbox Version
NDLUTIL 0.161

Missing a file for reading the poser data.

Release 0.135

Added visualisation files written by Carl Henrik Ek for the Human Eva data and for Ankur Agarwal's Poser generated silhouette data.

Release 0.134

Bug fix release, a bug in bvh2xyz meant that if a position was included in the bvh skeleton structure for non-root nodes, the xyz positions were computed incorrectly. Thanks to Richard Widgery and Christopher Hulbert for identifying this problem.

horse.bvh removed due to copyright reasons. To obtain a license for this file, and plenty of other motion capture data of horses, please contact Richard Widgery of Kinetic Impulse.

Release 0.133

This release is a bug fix release, to deal with bugs in mocapResultsCppBvh, thanks to Cedric Vanaken for pointing out the problem.

Release 0.132

Moved tree handling code into NDLUTIL toolbox, version 0.156.

Release 0.131

This release fixes a bug where the left was displayed on the right and vice versa.

Release 0.13

New in this release is the ability to load data in the acclaim ASF/AMC format. See the example below for details.

Examples

Once downloaded you can try loading a BVH data set from the examples directory.

>> [skel, channels, frameLength] = bvhReadFile('examples/Swagger.bvh');
>>

This motion capture data was taken from Ohio State University's ACCAD centre.

You can now play the data using the command

>> skelPlayData(skel, channels, frameLength);

You can also download and read data in the Acclaim format (asf/amc). In the example below we load a nd play data from the CMU Graphics Lab Motion Capture Database. We use the tenth example from the 86th subject. We have assumed that you have placed the files in the examples subdirectory.

>> skel = acclaimReadSkel('examples/86.asf');
>> [channels, skel] = acclaimLoadChannels('examples/86_10.amc', skel);
>> skelPlayData(skel, channels, 1/120);
>>

Where the frames per second is given on the CMU site as 120.

Page updated on Tue Oct 6 17:26:28 2009

mocap's People

Contributors

lawrennd avatar adamian avatar redouanelg avatar

Stargazers

 avatar  avatar kilgrim avatar  avatar  avatar Zhongang Cai avatar  avatar Pavel Filimonov avatar Pengzhan Jiang avatar pony ma avatar  avatar Xiong avatar  avatar Nick Fn Blum avatar Nori avatar Yu Gao avatar Timothy avatar  avatar Vlad Paunescu avatar Osama Hussein avatar Sanghun Lee avatar Yingru Liu avatar Levon Dang avatar Sayano avatar Jie Xu avatar almuradyh avatar  avatar  avatar  avatar  avatar  avatar Jhonsonlai avatar Ci Li avatar  avatar Siyuan Yang avatar  avatar Qing Shuai avatar Massinissa avatar Luis avatar H_P avatar Arihide Takahashi avatar  avatar 郭正龙, BUAA 可靠飞行控制组 avatar Qiongjie Cui avatar Yuhuang Hu avatar Linghui Yang avatar jeetkanjani7 avatar  avatar Bingo avatar  avatar Jack Armitage avatar Dargon_Rider avatar Wonhui Kim avatar Cumhur Erkut avatar Cong Ma avatar Rui Zhao avatar Jason Lamberton avatar  avatar

Watchers

 avatar James Cloos avatar  avatar Linghui Yang avatar Jason Lamberton avatar  avatar  avatar Rodrigo Barrita avatar Dargon_Rider avatar  avatar

mocap's Issues

how to realize xyz2bvh ?

Your work is so nice, and i have a question about if we know the xyz 3d position every frame and skeleton, how to do xyz2bvh?

look forward to your reply

Error when reading data in the Acclaim format

When the acclaimReadSkel is called, there is always an error.

Error using getline (line 77)
First argument is not a valid handle.

Error in acclaimReadSkel (line 23)
lin = getline(fid);

I am using the CMU motion database. The fid is 4, which means the file is opened correctly. Is there any method to avoid that? Thank you very much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.