Feature Request: Add a Graphical Interface for Facial Recognition Enrollment

Hello Ubuntu developers,

I would like to suggest adding a graphical user interface for facial recognition enrollment in Ubuntu as it realized with GNOME Settings Fingerprint GUI.

Currently, users who want to use facial authentication often need to install additional software and configure it through terminal commands. This can be difficult for new Linux users and may discourage adoption of biometric authentication.

It would be very helpful to have a built-in GUI in the Settings application that allows users to:

- Enroll their face using a webcam.

- Manage and remove enrolled facial profiles.

- Test facial recognition functionality.

- View camera compatibility and status.

- Configure facial authentication for login, screen unlock, and authentication prompts.

Many modern operating systems already provide a simple graphical experience for biometric authentication. Adding similar functionality to Ubuntu would improve usability, accessibility, and the overall desktop experience.

Thank you for your consideration.

2 Likes

On this platform we can share opinions on topics like feature requests. The proper place to submit a feature request is Launchpad.

The Caononical Launchpad web site

Your Single Sign On account should log you in. I think a person would use the Bug Reporting link to ask make a feature request.

From the little reading I have done I can say that Facial Recognition is not part of the future Ubuntu development Roadmap.

As to expressing an opinion I am reminded of what a developer said some years ago. He pointed out that finger prints are like a user name. They are not passwords. And we leave finger prints all over the place.

It seems to me that photographs would also be like a user name. We should not consider them to be like a password.

1 Like

For camera based auth to function securely you do need a camera with 3D support to allow it to measure some depth data, else just holding up a photo in front of the camera would log you in …
Preferably that camera should also have an infrared sensor so it would be able to check surface temperature of the face …

Many phones have such cameras today which is why you can use such a feature rather safely there … in laptops you typically just find standard RGB webcameras though and adding face enrollment on such a device would just be plain insecure …

3 Likes

Have you looked at Howdy?

It seeks to do the same thing you describe - like Windows “Hello”.

1 Like

This is absolutely correct. In addition, it should also check that the face is “active”, so not just a model.

The latest Pixel phones check for activity, but unfortunately they are still 2D (a couple of older ones used 3D; it’s a shame that it was dropped. A few Android phones still use it). iPhones do have 3D support.

1 Like

Sure, so, is not better to provide native IR-Camera support for Ubuntu? If laptop has IR-Camera support, then facial recognition GUI is available, on the other hand - no. Is there any problem with it? Thanks!

1 Like

Sure, so, is not better to provide native IR-Camera support for Ubuntu? If laptop has IR-Camera support, then facial recognition GUI is available, on the other hand - no. Can developers provide it?

I agree with you. It would be good to do this. The problem isn’t that Linux shouldn’t support it, but that it takes work and money to do so, while most Linux work is volunteer-based.

This really goes well beyond Ubuntu.

Will Developers see my post and recommendations? Is it possible? Because it is good if my post will be visible and developers enchance Ubuntu sequrity and sign-in options.

Do you own a laptop with such a camera? If so, would you be willing to help implementing it?

They are usually rather found in the higher end of the pricing categories, the bigger part of laptops out there has standard RGB webcams …

I doubt anyone would want to implement fake security just to have the feature…

But if it is only for the sake of having such a feature and you do not care that people can log in with a picture of you, you can indeed try out “Howdy” that @popey pointed to above and file a wishlist bug on launchpad (or even better in debian, so it gets automatically synced into Ubuntu) to get it included in the archive…

1 Like

Sure, i have such a laptop with IR-Camera (HP EliteBook 850 G5). Give me a link please to Debian Community and Launchpad. Thanks!

1 Like

Here is the debian documentation about how to file an ITP (Intent To Package) wishlist bug:

https://wiki.debian.org/ITP

And launchpad is here:

Though it is typically preferred that you make such requests in debian first since adding packages to ubuntu only means some team will have to do extra maintenance work. So I would try the debian route first…

1 Like

It’s not fake security if, as I mentioned, it checks for an active face. My Pixel phone is an example; it isn’t fooled by a photograph.

The pixel uses DPAF ( Dual Pixel Autofocus) and AI to actually render a 3D model of your face internally to make sure you can not unlock with a photo …

You’d need the respective HW (DPAF capable camera and AI chip … and indeed the AI model on disk) to make this work …

2 Likes

Try Biopass, that supports Anti-Spoofing with IR-cameras and has also a good protection without, by setting the recognition model Treshold above 60%.

4 Likes

After some testing I get a stable Anti-Spoofing result without an IR-Camera by using this model:

https://github.com/facenox/face-antispoof-onnx

With best_model_quantinized and an threshold off 75%, detection threshold off 50% and an recognition threshold off 70% I couldn’t unlock the device with an picture on the smartphone.

In Biopass I have made four pictures, by looking to the right top corner and to the left top corner of the screen with and without glasses.

1 Like

Biopass does work on Ubuntu 26.10 Stonking Stingray (Fingerprint Reader id: 138:00ab) How did you make it workable? Where did you register your finger and face using GUI?

After Installation first run /usr/share/com.ticklab.biopass/download_models.sh as user. This will download the necessary models, next follow the guide for the System Sign-in Setup, enable Face Recognition, make the pictures by > Start Camera > Capture > Stop for each picture seperate (the pictures just appears after a application restart), set the Tresholds for Detection, Recognition and Anti-Spoofing to fit your needs and save the settings.

Meaning of the Thresholds:

  • Detection (Face detection or localization): This threshold determines the level of confidence the algorithm must reach to successfully locate a face (or another biometric feature) within an image or video stream. A higher threshold ensures that only clearly visible faces are detected, whereas a lower threshold allows for the detection of faces even under challenging conditions (e.g., poor lighting or unusual angles).
  • Recognition (Matching / Identification): This threshold defines the required degree of correspondence (similarity score) between two biometric patterns for them to be identified as belonging to the same person. It balances security and user convenience: a stricter (higher) threshold minimizes false matches (false acceptances) but may also lead to the rejection of authorized individuals (false rejections).
  • Anti-Spoofing (Liveness detection / Presentation Attack Detection): This threshold sets the criterion for determining whether a captured feature originates from a genuine, living person. It distinguishes authentic interactions from fraudulent attempts (such as the use of photographs, videos displayed on screens, deepfakes, or masks). A higher anti-spoofing threshold enhances security against attacks, but simultaneously places higher demands on the capture quality required from legitimate users.

Fingerprint I haven’t set up because the device hasn’t a sensor.

Oh, it looks like my fingerprint reader is not compatible with Python Library (138:00ab). There is no sense to try to register it… Thanks to everyone why tried to help me!

The recognition model being used also influences the anti-spoofing function. While searching for available recognition models, I came across face-reidentification; when using the ArcFace MobileFace model, even a slight variation in color tone is enough to prevent access or unlocking.

https://github.com/yakhyo/face-reidentification/releases/latest

1 Like