ไม่มีหมวดหมู่

Face Login Howto in UBUNTU (10.04)

เมื่อช่วงสัปดาห์ก่อน ไปช่วยสอนที่ทำงานน้องรักคนหนึ่ง ไปเจอมุกเด็ด  Windows 7 logon ด้วยการสแกนหน้า โอ้แม่เจ้า มันเท่สุดๆไปเลย

แล้วก็เลยกลับมาลองหาดูสำหรับ ubuntu มั้งดิ มีอะป่าว 5555+ ปรากฏว่ามีสิครับท่าน… แหม่ ไม่น้อยหน้าครับพี่น้อง มีจริงๆด้วย

ก็เลยติดตั้งดูครับ ตามนี้เลยนะครับ 555+

1 ติดตั้ง เรียก Console

sudo add-apt-repository ppa:antonio.chiurazzi/ppa

sudo apt-get update && sudo apt-get install pam-face-authentication

เรียกใช้โปรแกรมบันทึกใบหน้า  หาโปรแกรม Qt Face tainner ใน เมนูอื่นๆ

2 เพิ่ม face login ให้กับ GDM

sudo sed -i '1i auth sufficient pam_face_authentication.so enableX' /etc/pam.d/gdm

sudo sed -i '1i auth sufficient pam_face_authentication.so enableX' /etc/pam.d/gnome-screensaver

3  สำหรับเครื่องที่ไม่ได้ติดตั้ง web cam มาตั้งแต่แรก ต้องติดตั้ง

libv4l to preload:

  • Create the file /etc/ld.so.preload
  • Paste in the path to the v411compat.so file commonly found in /usr/lib/libv4l

ปล.ผลการทดลอง ในการ logon ประมาณ 50% ครับผม  อิอิ ยังต้องการเวลาพัฒนาสักหน่อย น่าจะดีขึ้น

About admin

No information is provided by the author.

Comments Closed

Comments are closed. You will not be able to post a comment in this post.