Install Facial Recognition on any Ubuntu Version
Face Recognition is allow user to login with camera picture, you don't need to enter password again and again in Ubuntu or other Linux, Just install Pam Face Recognition and Enjoy, it will detect your face through camera automatically.
Now we will see how to install and use it.
First of all open terminal (press Alt+F2 and type: gnome-terminal) and copy the following commands in the the terminal:
Terminal Commands:
|
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:
Terminal Command:
|
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:
Terminal Command:
|
sudo pam-auth-update --package face_authentication
|
How to Uninstall Pam-Face-Recognition:
You just need to copy the following commands in the terminal:
Terminal Commands:
|
sudo pam-auth-update --package face_authentication
|
sudo rm /usr/share/pam-configs/face-authentication
|
sudo apt-get remove pam-face-authentication
|
Here is the
Page of Pam-Recognition-Authentication