Giter VIP home page Giter VIP logo

howdy's Introduction

Howdy provides Windows Hello™ style authentication for Linux. Use your built-in IR emitters and camera in combination with facial recognition to prove who you are.

Using the central authentication system (PAM), this works everywhere you would otherwise need your password: Login, lock screen, sudo, su, etc.

Installation

Howdy is currently available and packaged for Debian/Ubuntu, Arch Linux, Fedora and openSUSE. If you’re interested in packaging Howdy for your distro, don’t hesitate to open an issue.

Note: The build of dlib can hang on 100% for over a minute, give it time.

Ubuntu or Linux Mint

Run the installer by pasting (ctrl+shift+V) the following commands into the terminal one at a time:

sudo add-apt-repository ppa:boltgolt/howdy
sudo apt update
sudo apt install howdy

This will guide you through the installation.

Debian

Download the .deb file from the Releases page and install with gdebi.

Arch Linux

Maintainer wanted.

Install the howdy package from the AUR. For AUR installation instructions, take a look at this wiki page.

You will need to do some additional configuration steps. Please read the ArchWiki entry for more information.

Fedora

Maintainer: @luyatshimbalanga

The howdy package is available as a Fedora COPR repository, install it by simply executing the following commands in a terminal:

sudo dnf copr enable principis/howdy
sudo dnf --refresh install howdy

See the link to the COPR repository for detailed configuration steps.

openSUSE

Maintainer: @dmafanasyev

Go to the openSUSE wiki page for detailed installation instructions.

Building from source

If you want to build Howdy from source, a few dependencies are required.

Dependencies

  • Python 3.6 or higher
    • pip
    • setuptools
    • wheel
  • meson version 0.64 or higher
  • ninja
  • INIReader (can be pulled from git automatically if not found)
  • libevdev

To install them on Debian/Ubuntu for example:

sudo apt-get update && sudo apt-get install -y \
python3 python3-pip python3-setuptools python3-wheel \
cmake make build-essential \
libpam0g-dev libinih-dev libevdev-dev \
python3-dev libopencv-dev

Build

meson setup build
meson compile -C build

You can also install Howdy to your system with meson install -C build.

Setup

After installation, Howdy needs to learn what you look like so it can recognise you later. Run sudo howdy add to add a face model.

If nothing went wrong we should be able to run sudo by just showing your face. Open a new terminal and run sudo -i to see it in action. Please check this wiki page if you're experiencing problems or search for similar issues.

If you're curious you can run sudo howdy config to open the central config file and see the options Howdy has to offer. On most systems this will open the nano editor, where you have to press ctrl+x to save your changes.

CLI

The installer adds a howdy command to manage face models for the current user. Use howdy --help or man howdy to list the available options.

Usage:

howdy [-U user] [-y] command [argument]
Command Description
add Add a new face model for a user
clear Remove all face models for a user
config Open the config file in your default editor
disable Disable or enable howdy
list List all saved face models for a user
remove Remove a specific model for a user
snapshot Take a snapshot of your camera input
test Test the camera and recognition methods
version Print the current version number

Contributing

The easiest ways to contribute to Howdy is by starring the repository and opening GitHub issues for features you'd like to see. If you want to do more, you can also buy me a coffee.

Code contributions are also very welcome. If you want to port Howdy to another distro, feel free to open an issue for that too.

Troubleshooting

Any Python errors get logged directly into the console and should indicate what went wrong. If authentication still fails but no errors are printed, you could take a look at the last lines in /var/log/auth.log to see if anything has been reported there.

Please first check the wiki on common issues and if you encounter an error that hasn't been reported yet, don't be afraid to open a new issue.

A note on security

This package is in no way as secure as a password and will never be. Although it's harder to fool than normal face recognition, a person who looks similar to you, or a well-printed photo of you could be enough to do it. Howdy is a more quick and convenient way of logging in, not a more secure one.

To minimize the chance of this program being compromised, it's recommended to leave Howdy in /lib/security and to keep it read-only.

DO NOT USE HOWDY AS THE SOLE AUTHENTICATION METHOD FOR YOUR SYSTEM.

howdy's People

Contributors

accek avatar albfan avatar andrewmv avatar anthonywharton avatar bob8677 avatar boltgolt avatar ciaoly avatar dmafanasyev avatar dmig avatar emixampp avatar gliese852 avatar izvyk avatar jellyfrog avatar jezek avatar jinnko avatar kageurufu avatar luyatshimbalanga avatar maryball2 avatar matan-arnon avatar misterrager avatar moonburnt avatar mrkmg avatar musikid avatar nickrbclark avatar patriziobruno avatar ponyisi avatar raelgc avatar rafalgorczewski avatar rhysperry111 avatar schnilz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

howdy's Issues

How does one set number of cores in the python calls

I see the face_recognition cli has an option to set number of cores. I was wondering is this exposed somewhere? Would be nice to have as option in config.ini.
I will have a look myself later.

PS. Really nice work!

BadAccess, BadShmSeg

Please describe the issue in as much detail as possible, including any errors and traces

I get this when i run the test command

X Error: BadAccess (attempt to access private resource denied) 10
Extension: 130 (MIT-SHM)
Minor opcode: 1 (X_ShmAttach)
Resource id: 0x2e00003
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 5 (X_ShmCreatePixmap)
Resource id: 0x2e0000d


Linux distribution (if applicable): Ubuntu 18.04.1
Howdy version:

Integration with KWallet

Just installed Howdy on Manjaro, and was able to setup everything fairly easily by following the ArchWiki instructions. My use case is to just use howdy at the graphical login screen. So, I've modified /etc/pam.d/sddm like (hope it's the correct thing to do):

auth            sufficient      pam_python.so /lib/security/howdy/pam.py
auth		include		system-login
auth		optional	pam_kwallet5.so
account		include		system-login
password	include		system-login
session		include		system-login
session		optional	pam_kwallet5.so auto_start

I can now login without password. However, soon after login, KDE Wallet prompts for a password, which kind of defeats the purpose of having face authentication. I think the default configuration in Manjaro is for KDE Wallet to use the same password as the one used for login. Perhaps that's why it never prompts for one when I'm using the usual password authentication.

How could Howdy be better integrated with pam_kwallet5, so that Howdy's authentication would be accepted by KWallet as well? Alternatively, is it possible to change the sddm configuration somehow to achieve the same? Since I don't know about the underlying details, I wasn't sure if this should be posted as a bug or a feature request, so sorry if I posted at the wrong place. I'd be happy to repost under the correct section if needed.

Unable to stop the stream: Invalid argument

Hello,
please excuse any incorrect formatting, this is my first time using Github. I installed howdy using the aur package but when I run sudo howdy test I get:

Unable to stop the stream: Invalid argument

Opening a window with a test feed

Press ctrl+C in this terminal to quit
Click on the image to enable or disable slow mode

Traceback (most recent call last):
  File "/usr/bin/howdy", line 98, in <module>
    import cli.test
  File "/usr/lib/security/howdy/cli/test.py", line 78, in <module>
    overlay = frame.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

Am I doing something wrong?
Thanks in advance for the support

RuntimeError: The stride of the 3rd dimension (the channel dimension) of the numpy array must be 1

Hello
I updated my laptop from ubuntu 17.10 to 18.04 and I am getting this errors, could you please take a look.

File "/lib/security/howdy/compare.py", line 124, in
face_encodings = face_recognition.face_encodings(frame)
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 199, in face_encodings
raw_landmarks = _raw_face_landmarks(face_image, known_face_locations, model="small")
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 153, in _raw_face_landmarks
face_locations = _raw_face_locations(face_image)
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 102, in _raw_face_locations
return face_detector(img, number_of_times_to_upsample)
RuntimeError: The stride of the 3rd dimension (the channel dimension) of the numpy array must be 1
Unknown error: 1

Best Regards!

howdy test segment violation

On excute howdy test fail with output

Opening a window with a test feed

Press ctrl+C in this terminal to quit
Click on the image to enable or disable slow mode

QObject::moveToThread: Current thread (0x8fc4420) is not the object's thread (0x91c03a0).
Cannot move to target thread (0x8fc4420)

Violación de segmento  

Kubuntu 18.04:
Howdy 2.3.0:
Python 3.6.5.

Face detection timeout reached

hi,

Great work, but, i have to add new face profile often, i know what happen. if you need information i would like to help.

Error after running learn.py

Traceback (most recent call last):
  File "learn.py", line 82, in <module>
    captureFrame(delay)
  File "learn.py", line 27, in captureFrame
    ref = face_recognition.load_image_file(tmp_file)
  File "/home/akxer/.local/lib/python3.6/site-packages/face_recognition/api.py", line 81, in load_image_file
    return scipy.misc.imread(file, mode=mode)
  File "/home/akxer/.local/lib/python3.6/site-packages/numpy/lib/utils.py", line 101, in newfunc
    return func(*args, **kwds)
  File "/home/akxer/.local/lib/python3.6/site-packages/scipy/misc/pilutil.py", line 164, in imread
    im = Image.open(name)
  File "/home/akxer/.local/lib/python3.6/site-packages/PIL/Image.py", line 2543, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/howdy_akxer.jpg'

This comes after I run python3 learn.py. It asks me to look into camera, but the camera does not turn on(the light beside it does not turn on) and then it throws this exception

How to show desktop automatically when PAM success on Ubuntu?

Hi! I'm using Ubuntu and when I boot the PAM process on login is working great but I have to press login button after authentication.
It's possible to go to desktop automatically? I think that it's not library
responsibility, but how could I modify it to do that?

Thanks.

Division by Zero in History, compare.py

Hi,

I'm getting errors when trying to sudo, evidently the history is missing.

File "/lib/security/howdy/compare.py", line 101, in
if float(hist[0]) / hist_total * 100 > float(config.get("video", "dark_threshold")):
ZeroDivisionError: float division by zero
Unknown error: 1

is the backtrace.

I'll try to take a look when I can.

Cheers

IR not recognized

It's a really awesome project and face recognition worked great before you merged the dev branch into master. Most probably it still does now. I haven't tried it with the new version yet as the program still does not recognize the IR one but my normal webcam only (HP Spectre 15" x360 Coffee Lake). I took a look inside /dev and the only videoX device that's found is video0 which is my webcam. I have no idea which of the other devices the IR sensors could be. Thus I've also no idea how to extend the repo to support my device. Maybe you can filter the right device from the following "ls -1 /dev"-output:

[...]
media0
[...]
video0
[...]

Any support is greatly appreciated. Count on my support in case I can help. Thanks in advance!

No howdy command

After installing there is no howdy command on my cmd.

I installed this a few mins ago on my new laptop with Ubuntlu
After installing there is no howdy...

XPS 9370 Developer Edition compatibility

Hi!

I am trying to test Howdy on the Dell XPS 13 9370 Developer Edition (Ubuntu 16.04), and although the install detects and tries 2 cameras, neither turn on the IR emitters (which work in Windows obviously).

Any thoughts on what might cause this or how I can help debug?

Thanks!

Using with Linux Mint

Hey there, I'm new to linux as you can probably tell by the distro I'm using.

I'm trying to use Howdy with Linux mint. I've got Howdy working with the IR cameras as I'm able to use commands and add new faces and test out the IR-Camera but I haven't been able to get it to actually work during sudo log in, the lock screen, or beginning of computer sign in.

I'm I supposed to integrate it myself using PAM somehow, or am is this related to using Linux Mint maybe?

I apologize if I've missed something obvious.

Thank you!

IR emitter will sometimes not stop firing after authenticating

This seems to apply to all applications except the terminal and the login screen.
For example, if I try to use Synaptic or GParted or elevate Nemo to root, the IR emitter will fire and authenticate, but then it will continue to fire for several minutes afterwards, before stopping on its own. If you try to run another authentication in the terminal it will throw VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV Unable to stop the stream: Device or resource busy and in a gui it will say "Face detection timeout reached" and re-show the password box.


Running Linux Mint 18.3 Cinnamon 64-Bit
Running Howdy 2.3.0

IR emitter blink only with specific resolution

Hi everyone,

I had write an issues few month ago: #19
I was a bit curious about why emitter emit when I used fswebcam but not when I used Cheese or Howdy. I play with it today and notice something:

By default fswebcam adjust the resolution from 384x288 to 340x340

I had try to use the parameter -r to set another resolution and it adjust resolution from 1280x720 to 640x480 and the emitter didn't work.

Where you aware of this issue ?

I also try to set Cheese in 340x340 and got this as a result, has I never used IR camera, is this a valid output ? http://webmshare.com/play/QNzyr

P.S: I'm on Ubuntu 18.04

Dependency issue in installation script

hi, I receive the following errors and the howdy command is not available after installation (ubuntu 17.10, IR led blinks during the test):

Traceback (most recent call last):
File "/tmp/howdy_install.py", line 94, in
handleStatus(subprocess.call(["git", "clone", "https://github.com/davisking/dlib.git", "/tmp/dlib_clone"]))
File "/usr/lib/python3.6/subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'git': 'git'

Login Loop on Fresh Boot

I installed this following the instructions in the README fine, andafter fixing the missing cv2 module, it works 99.9% of the time. The only it doesn't want to work is when the laptop is coming from a fresh boot.

On fresh boot, I get to the standard login screen, select my user, and the camera scans my face. I see that it says I was identified and the login screen drops away to the "blank" pre-desktop screen. After a few seconds waiting, I'm brought right back to the login screen and the computer is scanning my face again.

I can only reach my desktop if I hide from the camera and let it time out and bring up the password entry.

I have tested this a few ways, in terminal Howdy works fine, if I lock the screen, sleep the computer, or log out without shutting down the computer I can get right back in using my face, but on ONLY a fresh boot (that I have been able to replicate) I am not able to use my face to login.

System details:
Dell Inspiron 15 7573
Ubuntu 17.10 x64 (relatively fresh install with no garbage yet)

Certainty

For some reason distance is a huge struggle now. I have taken 6 scans so far and using my pc at the same distance as before it fails to detect a face. I also noticed you changed the certainty to 3.5 instead of 3. This should make it less accurate and more likely to authenticate. Only the opposite is happening. I can fix this by getting really close to my IR camera but it is inconvenient to do and I did not have to prior.

BadDrawable /invalid Pixmap or Window parameter/ 9

Hello,
i have problem with howdy...when i run howdy test, it shows this:
Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x3a00010

Can somebody help with that?

Thanks in advance.

Cannot scan face?!?

So before you uploaded the rewrite I could only get my face to get scanned in a significant amount of ambient light. I am not in a similar kind of lighting situation and I cannot get it to scan my face. I wear glasses so last time I took 2 scans one with and one without. I was planning on doing 6 this go around. The front, both profiles, and combination with/without glasses on. I do not know if this will improve accuracy at all but I cannot even get a single scan.

Howdy support for IR camera in Lenovo Thinkpad T480s

I've installed howdy in my laptop Lenovo Thinkpad T480s with the camera details as the following link:
boltgolt/howdy-reports#14
boltgolt/howdy-reports#15

After the installation, I ran 'sudo howdy add' but it didn't work. The traceback is as below:
Traceback (most recent call last):
File "/usr/local/bin/howdy", line 90, in
import cli.add
File "/lib/security/howdy/cli/add.py", line 9, in
import cv2
ModuleNotFoundError: No module named 'cv2'


Linux distribution (if applicable): Ubuntu 18.04
Howdy version: v2.3.0

Could you please help me to resolve the problem. Let me know if you need further information.
Thank you,
Ryan

permission denied

Please describe the issue in as much detail as possible, including any errors and traces
when using sudo, give out permission error

➜   sudo bash
python3: can't open file '/lib/security/howdy/compare.py': [Errno 13] Permission denied
Unknown error: 2

Linux distribution (if applicable): ubuntu 18.04
Howdy version: 2.3.0 from ppa

How to install howdy

Hello, I use archlinux, can anyone tell me how to install howdy? Or, who can give me a PKGBUILD?
Thanks!

Support for Raspbian?

I'd love to have this for my Raspberry Pi - but when I run

sudo add-apt-repository ppa:boltgolt/howdy

I get "Error: could not find a distribution template for Raspbian/stretch"

Should this project work on Raspberry Pi? If not, is that an option that could be investigated? Thanks!

Module cv2

File "/lib/security/howdy/compare.py", line 11, in
import cv2
ModuleNotFoundError: No module named 'cv2'

Pink image returned by test?

This may be outside the scope, but I'm having trouble adding a model with my IR cam (04f2:b613), and upon using test, I see that the camera is returning a mostly pink image:
howdy test_screenshot_25 04 2018

I also notice that while it's running, the IR emitters are constantly on, not flashing. I notice that when adobe flash uses the IR cam (for something else), the IR emitters flash, and a readable grayscale image is produced. I have no idea where this is controlled. Is there a parameter specified by the application that calls the camera, or is this determined somewhere else?

Running howdy on Arch Linux

Hey boltgolt,

Earlier, I was curious about getting howdy to run on Fedora and tried to get it running. After it initially didn't work, I just gave up on it. Now that I am on Arch Linux, I retried installing it and finally got it to work with howdy 1.0.0. I don't know how to convert the current deb packages to files that pacman uses, but if you do have an idea, I can give you the current (working) installer.py file. There is no common-auth file in Arch Linux, so you would need to enter the pam.d information into each pam config file.

Revamp CLI

  • Reorder the commands so the argument comes before the user
  • Update help page
  • Add man page
  • Add a command to disable howdy
  • Add a command to open config.ini in an editor

Login Shows unknown error 1 | sudo -i also not working

Traceback (most recent call last):
File "/lib/security/howdy/compare.py", line 116, in
face_encodings = face_recognition.face_encodings(frame)
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 199, in face_encodings
raw_landmarks = _raw_face_landmarks(face_image, known_face_locations, model="small")
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 153, in _raw_face_landmarks
face_locations = _raw_face_locations(face_image)
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 102, in _raw_face_locations
return face_detector(img, number_of_times_to_upsample)
RuntimeError: The stride of the 3rd dimension (the channel dimension) of the numpy array must be 1
Unknown error: 1

This is the error i get when i run sudo -i and then it asks me for the password as usual.
FYI: my laptop doesn't have an IR emitter, could that be the issue?

The test command works after i inserted that line into evironments and it does detect my face.

"Interpreting as a NO, aborting" after positive response

>>> Installing python dependencies

Collecting face_recognition_models==0.3.0
Requirement already satisfied: Click>=6.0 in /usr/local/lib/python3.6/dist-packages (6.7)
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (1.14.3)
Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (5.1.0)
launchpadlib 1.10.6 requires testresources, which is not installed.
Installing collected packages: face-recognition-models
Successfully installed face-recognition-models-0.3.0

>>> Installing face_recognition

Collecting face_recognition==1.2.2
  Using cached https://files.pythonhosted.org/packages/28/10/f153bbbc218fc169768aa1c02f2e9178e9241e4af8da56289bdca2c0c217/face_recognition-1.2.2-py2.py3-none-any.whl
Installing collected packages: face-recognition
Successfully installed face-recognition-1.2.2

>>> Configuring howdy

Permissions set
Howdy command installed

>>> Adding howdy as PAM module

>>> START OF /etc/pam.d/common-auth
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules.  See
# pam-auth-update(8) for details.

# Howdy IR face recognition
auth	sufficient			pam_python.so /lib/security/howdy/pam.py

# here are the per-package modules (the "Primary" block)
auth	[success=1 default=ignore]	pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth	requisite			pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth	required			pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
>>> END OF /etc/pam.d/common-auth

Lines will be insterted in /etc/pam.d/common-auth as shown above
Apply this change? [y/N]: y
Inerpeting as a "NO", aborting
dpkg: error processing package howdy (--configure):
 installed howdy package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.3-2) ...
Errors were encountered while processing:
 howdy
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish

Timeout never reached

Hello,

I really love your work, this really speeds up auth by a bunch. I have to say, In well lit conditions it gets my face in less then a second so I've put the scan timeout to 2 sec,

but I've noticed something when i'm in a darker room and there's no way to see the face. It get's stuck and never hits the timeout to offer the password input until I turn on the lights , and then i do it says the timeout has been reached and offers me to input my password. i left it hanging for a few minutes. but nothing happened until i turned on the light and it could see the face.
I've played a lot with the settings to try to avoid this, but no progress so far,

Maybe you could program a little failsafe if the frame is to dark that it just skips the scan completely?
i wish i knew python so i could fix this myself and not bother you with this.

Thanks for reading this,
and keep up the good work!
Cheers!

Error when running sudo command

$ sudo -i
Traceback (most recent call last):
File "/home/user/howdy/compair.py", line 5, in
import face_recognition
ModuleNotFoundError: No module named 'face_recognition'
Unknown error: 1

Module not being called in mate lockscreen

I'm running ubuntu-mate and I have howdy working normally when I sudo or login through lightdm, but when I lock my screen, I can only unlock with my password. The webcam never turns on when I get back to the lockscreen. My last computer (also ubuntu-mate) had a fingerprint reader with a similarly configured common-auth file, and the lock screen on that computer did take a fingerprint before asking for a password.

No module named 'cv2'

Traceback (most recent call last):
File "/usr/local/bin/howdy", line 98, in
import cli.test
File "/lib/security/howdy/cli/test.py", line 5, in
import cv2
ImportError: No module named 'cv2'

No option 'force_mjpeg' in section: 'debug'

Hi there, this is amazing and I really want to try it out. I am getting this issue after I do "sudo howdy add"

Traceback (most recent call last):
File "/usr/lib/python3.6/configparser.py", line 789, in get
value = d[option]
File "/usr/lib/python3.6/collections/init.py", line 883, in getitem
return self.missing(key) # support subclasses that define missing
File "/usr/lib/python3.6/collections/init.py", line 875, in missing
raise KeyError(key)
KeyError: 'force_mjpeg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/howdy", line 86, in
import cli.add
File "/lib/security/howdy/cli/add.py", line 85, in
if config.get("debug", "force_mjpeg") == "true":
File "/usr/lib/python3.6/configparser.py", line 792, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'force_mjpeg' in section: 'debug'

Support for Fedora

I don't know if this is a lot of work or not, but would it be possible for Howdy to be ported to Fedora? If that is too much work, could you add documentation so that I could compile from source?

does not pick up ir camera when they're two separate devices

In my setup I do have two cameras. One IR on /dev/video0 and the webcam on /dev/video2. From the source and everything else it quite seems like only one of both realy gets used, the one configured. If you configure the webcam, it'll register me just fine. But it does not use the IR at all (does not activate though). If I use the IR it complains about: no face detected.

What is your setup for this? And what are you sending to the library in use here? The IR picture or the webcam picture? Or something combined?

IR emitters don't stay on

Hello, I am running Ubuntu 18.04 and I've noticed that the IR emitters built into my IR camera only flashes on for a second when howdy starts then subsequently turns back off. During installation however it strobed when choosing which camera was the IR camera. This makes all frames dark frames and my only hope for face authentication is sitting in the sunlight for a natural source of IR light. This also persists if I use Cheese using the IR camera.

eliminate subprocess call

This

user = subprocess.check_output("echo $(logname 2>/dev/null || echo $SUDO_USER)", shell=True).decode("ascii").strip()

Can be replaced with

try:
  user = os.getlogin()
except:
  user = os.environ.get('SUDO_USER')

IR emitter don't blink with cv2.VideoCapture

I juste receive my new computer with an IR Camera so I would like to try your software ! :)
So I have properly done the installation, selection the device with blinking IR emitter.
But when I sudo or use howdy test my emitter blink only once.

I have try to manually:

import cv2
vd = cv2.VideoCapture(int("0"))
vd.read()

And like in howdy test, emitters blink once and then stay in a 'low red state' and don't blink anymore even if I vd.read() again.

Any idea to where I should look ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.