Fake Smiles

Not a fake smile in the sense of somebody faking a smile, but I'm still getting bogus smile readings from my Python script. I tried looking up other scripts on the Internet for detecting smiles, and found one by Amine Sehili on github, called fnsmile.py; it doesn't work. There's a disclaimer in the code (and on github) that there is no claim this program works (and it has a GNU copyright, so that is a required disclaimer). However, the author says it's supposed to work.

Take a look at the videos below; the video on the left was created by video_streamer6.py - my latest concoction, The video on the right was created by fnsmile.py Both scripts are claiming that I'm smiling in these videos; I know I'm not. :



Code I Wrote: video_streamer6.py Code Amine Sehili Wrote: fnsmile.py

I'm using Anaconda 4.0 (Python 2.7) to run these scripts. I had to change the name of a flag used in these scripts (I added the flag to my script), but the flag name is translated to an integer value of 2 (just like the original flag) so I really haven't changed anything in the code (besides cosmetically) for fnsmile.py (I did add some code to create an output file, but I ran the script before adding the output code, and it made no difference in how the script ran). I'm using a MS Lifecam for these videos, but I don't think the videos are adversely affected by the webcam. I'll probably try using a C++ script and see if it makes a difference.

Return To My Blog Page       Return To My Programming Page