Ostrich – Flash Web Cam Motion Capture for Flipped-out Folk!

Thanks Maven for requesting that we have the option to not flip the camera.  Most people will want the camera flipped – it is a pet peeve of mine when I am forced to use a camera that does not mirror motion.  It is very hard to adjust.  So I had set Ostrich to  automatically flip and it is fairly tricky to do.  But there might be some cases when you do not want your camera flipped so now you can pass a Boolean false to the last parameter of the OstrichCamera class after the camera dimensions.  This defaults to true.

So something like:

var myCam:OstrichCamera = new OstrichCamera(0,0,640,480,false);

Download the new zip file at left if you need this feature.

FRIENDS AND DONATIONS
Please let us know if you use any of the Flash Feathers and we will add you to the Friends area at left.  If you use the Flash Feathers for a commercial venture or would care to donate that would be super!

karmatja

All the best and we hope you build exciting things!

feathers

Dan Zen

Advertisements

Ostrich Flash Web Cam Motion Capture Samples and Example Code

OSTRICH – Flash Webcam Gesture Capture

“Cursors to follow your movement in a few lines of code!”

Capturing the difference between successive video frames allows us to locate motion. Ostrich is set up to provide any number of cursors in various regions for excellent experimental usage. This magical interface is second perhaps only to brainwaves in the minds of many futurists. Work was done to capture the left side of motion on the left, the right side on the right and proportionally across the middle giving Ostrich improved expectation performance.

Click to Download the code for the examples

OSTRICH SAMPLES
Simple Cursor
Two Cursors
Gesture Button
Motion Blobs
Fairy Follows Fingers

Kids Moving Things on Screen with a Web Cam and Flash

Kids Gesturing for Camera Interaction

There was a request to use Ostrich for helping sooth kids with trauma – sound like a good cause.  We put together a simple package to help the designer get under way.  It shows two MovieClips on stage that trigger camera motion.  This can be as many clips as you want.  You could then animate the clip, play a sound, etc.

Download Zip File Example

(still need to download Ostrich at right and have the files in the com directory installed in a folder in your Flash class path)

It becomes more tricky to have the clips move location – you would need to adjust the code to dispose of the MotionCursor object for the clip that has changed position and then make a new MotionCursor for it.  Certainly possible but tricky.

%d bloggers like this: