I have created an owncloud server using RPI, Now I was wondering how to implement the face recognition as a login for the pi. I know I have to use the OpenCV.

2 Answers 2


A good starting point would be pam-face-authentication. From there site:

PAM Face Authentication is a pluggable authentication module designed for facial authentication. You can use this module for any service that requires authentication, internally handled by the PAM library.

To get started you would need to compile from source as it is not available as a .deb in apt.


Try developing a small opencv program that detects certain faces or shapes and then use it as a login screen (see SLiM) at system startup (could use it as a wrapper for one of those login managers).

I am not sure if there is a project already that deals with this on linux systems, but developing one one seems useful on any linux distro for those interested.

  • do you mean slim framework? When you say system start up you mean for the raspberry pi right? not for the actual cloud start up.
    – user10826
    Apr 9, 2014 at 21:53
  • @user10826 sorry for the extremely late response, no, i meant SLiM (now abandoned) Https://wiki.archlinux.org/index.php/SLiM Again, I pointed to this only to show an example of an easy lightweight login manager.
    – Anglepoise
    Dec 8, 2014 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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