I want to share a humble mocap project that we (me and my friend) were working on about year ago.
Main goal was to create simple face mocap with minimum amount of markers. It's only proof-of-concept, so there is only basic functionality. Source is written in C (openCV functions and Maya mocap server) + mel scripts. At the moment project is discontinued, waiting for spare time, but now when we have more knowledge i think it need to be fully rewritten.
Check out sources (if you want ), but it's messy: