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 :
- Glasses demo : http://www.francois-tarlier.com/blog/?p=256
- Playing with Marilena : http://www.francois-tarlier.com/blog/?p=242
- Article talking about Marilena : http://www.francois-tarlier.com/blog/?tag=marilena

















Thank you Francois, I’ll give it another try.
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,
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
great link !
no I don’t, sorry !
hi again,^^
do you know how to update the AIR1.1 to 1.5 in flash CS4?
thanks so much
there is a good explanation for the opencv face/ eye search
http://morph.cs.st-andrews.ac.uk/fof/haarDemo/index.html
indeed I am
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?
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 !
what i can’t understand is the use of the rectangles ! what ‘re their roles ???i’m very confused
http://www.cognotics.com/opencv/servo_2007_series/part_2/sidebar.html
this’s the correct link
this is the link that i’m using :
http://www.cognotics.com/opencv/servo_2007_series/part_2/sidebar.html