MotionMachine is a C++ software toolkit for rapid prototyping of motion feature extraction and motion-based interaction design. It encapsulates the complexity of motion capture data processing into an intuitive and easy-to-use set of APIs, associated with the openFrameworks environment for visualisation. MotionMachine is a new framework designed for “sense-making”, i.e. enabling the exploration of motion-related data so as to develop new kinds of analysis pipelines and/or interactive applications.
ofxMotionMachine is an openframeworks addon.
- Download version of OpenFrameworks from official website http://www.openframeworks.cc. The last version of MotionMachine works with 0.10.0 OF version, others might not work.
- Clone MotionMachine repository on your computer, or download the zip and unzip it in folder addons of openframeworks.
- you can generate a motionMachine project with the app: of_v0.10.0_vs_release\addons\ofxMotionMachine\projectGenerator-*-MoMa\projectGenerator This generator is a customized version of the OF project generator. It selects the appropriate addons and copy the good template for new project.
Dependencies: We add in this ofAddon the following modified libraries: Armadillo C++ Linear Algebra Library version 4.450 http://arma.sourceforge.net/ ofxUi https://github.com/rezaali/ofxUI (deprecated library)
Work in progress...
You can find a series of tutorials for installation and first use of MotionMachine here:
- Clone MotionMachine repository on your computer, or download the zip.
- Download OSX version version of OpenFrameworks from official website http://www.openframeworks.cc. The last version of MotionMachine works with 0.9.2 OF version, others might not work.
- Copy libs and export folders from OF main folder to your MotionMachine folder "libs/oF". Leave the addons folder as it is.
- Done. You can check if it works by running apps/examples/mmEmptyExample/mmEmptyExample.xcodeproj with xcode.
- Clone MotionMachine repository on your computer, or download the zip.
- Download Windows Visual Studio version version of OpenFrameworks from official website http://www.openframeworks.cc. The last version of MotionMachine works with 0.9.2 OF version, others might not work.
- Copy libs and export folders from OF main folder to your MotionMachine folder "libs/oF". Leave the addons folder as it is.
- Done. You can check if it works by running apps/examples/mmEmptyExample/mmEmptyExample.sln with Visual Studio 2015.
On Linux, MotionMachine (MoMa) is composed of two parts, as opposed to what is done in OSX and Windows where Xcode/VS configs take care of everything as one big project. The two parts are:
- libmoma, a shared library based on the files in
./libs/MoMa/{core,features,parsers}
. You can use it to load, access and process mocap data in your applications independently of openFrameworks. It gets installed into /usr/local/{lib,include}. - ofxMoMa, an openFrameworks (oFx) addon to make it easy to use MoMa into oFx. It goes into /path/to/openframeworks/addons/
Installing MotionMachine has been tested on Ubuntu 14.04 and 16.04. Note that on Ubuntu 14.04, it requires to install some tools manually, from source (notably armadillo, CMake, GCC 5.x, etc.) because the versions available in the official repositories are outdated. The installation process is the following:
- Clone MotionMachine repository on your computer, or download the zip.
- Go to ./MotionMachine/libs/compiled/project/linux/ and follow the instructions in README.md
C3D-to-csv file converter developed from the MotionMachine parser: https://omid.al/projects/c3d_to_csv.html