The XMM library contains different probabilistic models for motion recognition and Mapping between movement and media. The XMM library was developed for movement interaction in creative applications and implements an interactive machine learning workflow with fast training and continuous, real-time inference. XMM is a portable, cross-platform C++ library that implements Gaussian Mixture Models and Hierarchical Hidden Markov Models for recognition and regression.
This library is one of the output of the Jules Françoise‘s PhD. It is an open-source C++ library (with a possible proprietary close license for commercial applications).
MaxMSP implementations are freely available in the MuBu & Friend package, as explained here.
More information here http://julesfrancoise.com/xmm/