Friday, January 16, 2009

motion tracking in flash

This video shows a pretty cool implementation of motion tracking using flash.


Tracking Multiple Objects Using a Webcam from chris teso on Vimeo.


Full blog post here.

DEERTANK


one last one... testing some other body types... Let me know if im getting to crazy.

i give you lobster crotch


ok heres one more before the weekend. IM experimenting with a color system now also.. like the body parts the coloration should be generated at random like the parts.

Wednesday, January 14, 2009

MR TEEEEEEEEEEEETH


Im trying a new body type here and seeing if you guys can code in like an IF THEN statement. LIke IF the body is this THEN stop adding parts... I present MR TEEEEEEEEETH.

Thursday, January 8, 2009

TITFISH

Here is the my latest effort TITFISH. I am finding more and more that the way to have these things work (multiple character generation) is to remove most of the joints. That way placement is easier to asses.

Tuesday, January 6, 2009

Playing with AS3

One of the first things I ran into was the lack on an onEnterFrame. It seems that event listeners are the way to go.

Here's what I did today. There is no analysis yet, but it tracks the x and y locations of the mouse for a period of thirty seconds (when running at 30 frames/second).

I just wanted to check that I am using the best approximation of an onEnterFrame function.

----------
var xLocations:Array=new Array();
var yLocations:Array=new Array();
var testFreq=3;
var counter=0;

//300 at 10 sample per second is 30 seconds
for (var i=0; i<300; i++) {
xLocations.push(0);
yLocations.push(0);
}

addEventListener(Event.ENTER_FRAME,TrackMouse);

function TrackMouse(event:Event) {
counter++;
if (counter>=testFreq) {
counter=0;
xLocations.push(mouseX);
xLocations.splice(0,1);
yLocations.push(mouseY);
yLocations.splice(0,1);
}
}
-------------

-Andy

Capturing CD+G

I have access to over 3000 karaoke songs on the typical format, CD+G, G standing for graphics. There is an excellent explanation of this data system here.

It appears that the words are ACTUALLY a video that is compressed and hidden in the available stream on regular CDs. This means that for me to translate the files into the madlib karaoke format, I will need to take the ripped video file, place it in a video editor, and get the time points for each new line.

It would be great to find some video analysis software that does video-to-text, but I don't know of any that exists :(

motion library

Andy is working on creating a motion library that translates mouse positions over time into specific motions.

This library will be activated by data from the mouse for now, but will soon be received from IR coming from the microphone. We will be using XML Sockets in flash to communicate between the IR recognition and Flash