Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have been dual booting ubuntu on my alienware m11x R2 for about two years now, and everything works so nicely on ubuntu that I rarely use windows anymore. I always liked how the integrated webcam was used in widows for a facial recognition login, either in combination with password, or on its own, depending on your setting; however, I have been unable to find a way on running a similar application on ubuntu, currently running 11.10. If anyone has a solution to this I would like to hear it, for the same reason that I use an unstable version of ubuntu: I appreciate the bells and whistles it has to offer.

share|improve this question
add comment

1 Answer

Have you tried Pam Face Recognition?

It's supost to detect your face through camera automatically.

First of all open terminal (press Alt+F2 and type: gnome-terminal) and copy the following commands in the the terminal:

sudo apt-get install build-essential cmake qt4-qmake libx11-dev libcv-dev libcvaux-dev libhighgui2.1 libhighgui-dev libqt4-dev libpam0g-dev checkinstall

cd /tmp && wget http://pam-face-authentication.googlecode.com /files/pam-face-authentication-0.3.tar.gz

sudo add-apt-repository ppa:antonio.chiurazzi
sudo apt-get update
sudo apt-get install pam-face-authentication

after the installation, Configure the software copy the following command in terminal:

cat << EOF | sudo tee /usr/share/pam-configs/face_authentication /dev/null

after entering this command copy the following lines in the terminal and press enter:

Name: face_authentication profile
Default: yes
Priority: 900
Auth-Type: Primary
Auth: 
[success=end default=ignore] pam_face_authentication.so enableX
EOF

Now Press Enter. By this action, the file /usr/share/pam-configs/face_authentication is created and contains the plugin information.

Now With the next command you can enable or disable the plugin:

sudo pam-auth-update --package face_authentication

Source

Also this has been answered in this forum here

share|improve this answer
    
Thanks for the quick response, LnxSlck. I will be messing around with this Pam you speak of... –  user51048 Mar 17 '12 at 22:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.