I used the UDP protocol to connect Maya with Processing(Java) and with JMyron library I find a color blob.
Processing is a server and Maya is a client, the first continuously sends a message to Maya by x-y values of blob.
I use the coordinates (x,y) of my blob to move a simple locator in Maya associated with a skeleton of a character.
It's a work in progress