Weblog / Blog article: Marilena : source code of the Glasses Demo
-->

Marilena : source code of the Glasses Demo

Posted by François On May - 25 - 2009

Somebody remind me that I forgot to share the project of my demo using the Marilena project (OpenCV port).

So here is the source code, nothing fancy, nothing complicated, just a real basic use, but I guess it will help some of you who are interested.

This code is compiled with free tools as Flex SDK, Flash Develop , the optimized version of Marilena by Mario Klingemann and the AS3 Tweenlite class. If you never setup this kind of IDE before I highly recommend this tutorial which will help you with all the settings !

I’m not a programmer so this code is way too simple and not optimized at all, so feel free to re-use it as you want :)

Related Link :

Share and Enjoy:
  • Twitter
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Posterous
  • Tumblr
  • Digg
  • FriendFeed
  • del.icio.us
  • Netvibes
  • RSS
  • email
  • Print
  • PDF
  • Google Bookmarks
  • Blogplay

62 Responses to “Marilena : source code of the Glasses Demo”

  1. Paul Z. says:

    Thank you Francois, I’ll give it another try.

  2. François says:

    Sorry Paul, but all I have left is here. I never used Adobe Flash for this project. only Flash Develop & Flex SDK. if you follow the instruction about how to setup FD & Flex SDK on the link I provide in this post, and don’t forget to get all dependencies, it should compile fine.
    This is an old project, so I don’t remember exactly everything, but I’m pretty sure that it won’t compile if you just copy/paste in Flash.

    Go through the comments of this post, you will probably find some interesting information too.

    cheers,

    François,

  3. Paul Z. says:

    Hi Francois, I really love your eyeglasses demo. I’m trying to replicate it but I can’t get the code to work. Is it possible to share your .fla or .swc file so that I can study it? Thanks, Paul

  4. François says:

    great link !

    no I don’t, sorry !

  5. Ameni says:

    hi again,^^
    do you know how to update the AIR1.1 to 1.5 in flash CS4?
    thanks so much

  6. Ameni says:

    there is a good explanation for the opencv face/ eye search
    http://morph.cs.st-andrews.ac.uk/fof/haarDemo/index.html

  7. François says:

    indeed I am :)

  8. Ameni says:

    i’m tunisian,so my mother tongue language is “arabic” & my second one is frensh.
    anyway,yes i understood what u explained to me.thank’s a lot.u helped me sooo much
    (françois), is a frensh name. Are u frensh?

  9. François says:

    what is your native language ? you should try to translate it (google translate ? ), it’s pretty well explained.
    Anyway, think of those square as contrast region basically ! You remember when I told you it was doing some test, and finer test each time the previous one was valid ? the Haar cascade thing ? well this is it !
    So you can think of them as testing different regions based on there contrast (of course behind it, it is a bit different but give you an idea. For instance, if you take the picture of the 3 vertical lines (black, white, black) it’s checking for an eyes which is a darker zone than the noise, which is brighter than the next zone which is supposed to be another eye. (I’m pretty sure that if an expert were reading this, it would laugh pretty hard to my face, but still it gives you the big picture)
    Anyway, this is why it’s only recognition and tracking

    Hope you understood it !

  10. Ameni says:

    what i can’t understand is the use of the rectangles ! what ‘re their roles ???i’m very confused

Leave a Reply

VIDEO

TAG CLOUD

About Me

about me..

Twitter

    Photos

    very 1rst 3d render (2002)Old tractorOld tractorDépotoirMoi tchou-tchouJulia tchou-tchouQuai gare de MauriacGare de MauriacLumière de Noël à Mauriacbuche de noelMamanDad & MeSaint CucufaJulia au lac de Saint-cucufaJulia PiscineJulia summer