14

I purchased an alienware 15 r3 which comes with windows hello enabled which means all hardware included. I have installed Ubuntu 16.04 and couldn't find any package that can substitute for windows hello. Please give me a good alternative which can login using face detection and also make use of the infrared in the hardware for detection in low light

Windows hello is basically a face detection system added on Win10. It works with dual-camera and a laser pointer (dual-camera for 3 dimensions and laser for measuring profundity).

  • 1
    What does Windows hello do? Can you be more specific about what you want? – Ramon Suarez Mar 4 '17 at 8:33
  • It logs me in as soon as the camera(entire set) sees me. Also it can be used as an advanced face recognition security accessory that can store my password and use it only when I am there. Its pretty accurate even in low light(and even no light) because of the infrared that comes in the set – akxer Mar 4 '17 at 23:45
  • Searching for > ubuntu face recognition login on Google provides multiple results that can help you. Here are the first 2: - askubuntu.com/questions/516710/… - ubuntubuzz.com/2011/05/… – Ramon Suarez Mar 5 '17 at 7:16
  • I asked here because I already did that and there are no modern or even currently active projects. Seems weird when you see that these cameras and 3d support by Intel has been out for so long – akxer Mar 7 '17 at 19:40
17

If anyone is still searching for a solution, i got my own script working on the same principles as Windows Hello (using the IR camera and face recognition). It's customizable, integrated with the PAM and works basically everywhere: Login, lock screen, sudo, su, etc.

It's available as a PPA on github if you want to give it a spin.

  • I accepted your answer as my friend got it to work and it really does work well – akxer May 14 '18 at 9:04
  • Really cool. This works really well. Great job. – ngust Nov 25 '19 at 0:59
4

As all of the answers seem to misunderstand the question (as far as I understand :]), and I don't have the rep to comment I will just post an attempt at an answer/help.

In short: The Windows Hello login seem to use an infrared point cloud to get 3d depth of the field/face (increased accuracy in face ID). Since this is basically the same as Kinect, I suggest looking into Kinect projects and libraries.

Since there are no finished libraries to just plugin in and use, I suggest taking an existing Ubuntu face ID module, modify it by adding point cloud library (PCL) to the face identification algorithm.

Ubuntu PAM face ID: I would try something more recent than the seemingly abandoned pam-face-authenticate, such as this pam-facial-auth, https://github.com/devinaconley/pam-facial-auth fork it, and modify the input data to be the point cloud image from IR webcam.

PCL python binding to webcam: http://pointclouds.org/documentation/tutorials/depth_sense_grabber.php

Hope it helps!

2

Up to Ubuntu 17.10, it seems there is no real alternative to Hello. There are some projects, mostly based on dlib (machine learning), such as this Python script: http://pythonopencv.com/worlds-simplest-facial-recognition-api-for-pythonubuntu-only/

However, none of them seem so far to have been integrated with PAM

1

To add a little to Magnus Persson's suggestion (which is spot-on, IMO) and in hoping someone gets some inspiration from this thread one day:

I think the use-case for this on Linux goes far beyond the login screen.

It would be awesome if we could just encrypt a user's password using some PCL signature as the secret and then trigger it from a shortcut. This would allow facial recognition to be used for sudo commands as well or even for websites, apps, or virtually anywhere.

I don't think I'm the only Linux user that dreads sudoing anything for the mere fact I have to type my password...

Of course, security becomes a slight issue here, but I think there are ways to harden this concept.

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