Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Face Tracking with Action Script 3

Loading...

Sign in or sign up now!
5,718
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 7, 2009

Wanna try it? Here you go: http://cog-soft.de/FaceSensor.swf
Face detectors can easily be implemented in Adobe Action Script 3 (AS3). If you want to do this, just download the free Adobe Flex SDK and search the web for the Spark project Marilena sources. Nevermind the braindead game I made for testing. Just needed a simple application to demonstrate the head gesture idea. For those who want to play with this thingy: You need the Adobe Flash Plugin version 9 or newer plus (obviously) a webcam. Center the latter on your face, the black cross should hit your nose.

Link to this comment:

Share to:

Uploader Comments (piechulla1966)

  • Toooooooooooooooooo slow.

  • @icrazyhack

    Yes, that's why it's crazy to do it with AS3. An alternative is project Alchemy. But the Alchemy toolchain is quite impressive, that is to say *complex*. Normally, you'd just use native code for your OS.

  • looks REALLY fustrating lol

  • @Sikeman214

    It's a tricky game. But completely useless, of course :-)

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • 1. Install the Flex SDK from Adobe[dot]com

    2. Evaluate your installation by writing a "hello world" type of AS3 script

    3. Play with the optimized sparc marilena AS3 code (download from quasimondo[dot]com)

    4. Do your own personalized Marilena demonstration, make it avalaible on YouTube

    5. Get my source code and debug it

    6. Agree or disagree that "the purpose of computing is not answers, but insight" [Edsger Dijkstra]

    7. Have a lot of fun!

  • @piechulla1966 I think so.

  • My first guess is that the cause it a misconfiguration of your web browser. Does any other AS3 script get access to your webcam? For example, my TestYourWebcam.swf

  • It's not my processor; it's the program. It just doesn't get anything from my webcam. Although I know my webcam works, and I know Flash has recently detected my webcam, this program doesn't detect it.

  • AS3 is slow. So, it is not suited at all for things like facetracking. If you experience excessive processor load, this may be the cause of your problem. But I know next to nothing about the internals of the Flash Player's implementation. Please ask Adobe!

  • I click the link and click allow and it just stays on a black screen and doesn't respond.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more