Face recognition login to Ubuntu

Source: Internet
Author: User

 

Some identification software may not be a new thing, but do you know you can use a normal camera to log on to your Ubuntu Desktop? 
Use the PAM-face-Authentication facial recognition tool to log on to the unbuntu and you only need an elegant giggle. It is specially designed for common users in daily use.

File dependency    
To install and run this function, you must first install some dependency files. Install them together to save some time. Open a terminal (Application Program > Attachment> terminal), and then enter the following Code :

Lucid User:
Sudo apt-Get install build-essential cmake qt4-qmake libx11-dev libcv-dev libcvaux-dev libhighgui4 libhighgui-dev libqt4-dev libpam0g-dev libswscale0
 
Maverick User:
Sudo apt-Get install build-essential cmake qt4-qmake libx11-dev libcv-dev libcvaux-dev libqt4-dev libpam0g-dev libswscale0 libhighgui-dev libhighgui2.1
 
Then execute the following commands separately. After one command is executed, the system enters the next one.

CD/tmp Wget http://pam-face-authentication.googlecode.com/files/pam-face-authentication-0.3.tar.gz Tar zxf pam-face-authentication-0.3.tar.gz & CD Pam-face-Authentication -* Mkdir build & CD build Cmake-D cmake_install_prefix =/usr .. Make Sudo make install


Run the facial recognition exercise program and open it in the program> others menu.










Kubuntu 10.04 Pam facial recognition logon demonstration

  Add facial recognition and log on    
Now we have added the facial verification module to the gmtr. This is the default logon management for Ubuntu:
Sudo sed-I '1i auth sufficient pam_face_authentication.so enablex '/etc/PAM. d/TPD
Sudo sed-I '1i auth sufficient pam_face_authentication.so enablex '/etc/PAM. d/gnome-screensaver
 
Because of your camera model, you may need to install and add libv4l preload:
 
Create file/etc/lD. So. Preload

Paste the path to the v411compat. So file, usually in/usr/lib/libv4l

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.