Update base config file

This commit is contained in:
boltgolt 2023-02-19 13:06:25 +01:00
parent cae6d5f1cb
commit 27f3a73c9f
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26

View file

@ -27,28 +27,26 @@ disabled = false
# Use CNN instead of HOG # Use CNN instead of HOG
# CNN model is much more accurate than the HOG based model, but takes much more # CNN model is much more accurate than the HOG based model, but takes much more
# computational power to run, and is meant to be executed on a GPU to attain reasonable speed. # power to run, and is meant to be executed on a GPU to attain reasonable speed.
use_cnn = false use_cnn = false
# WARNING: Changing this key can lead to unstability # Set a workaround to do face and password authentication at the same time
# Set a workaround to confirm the prompt # off diables concurrency, so password authentication starts after Howdy
# # input will send an enter keypress to stop the password prompt
# "off" will disable it, so the user needs to confirm manually # native will stop the prompt at PAM level (can lead to instability!)
# "input" will send an enter keypress to confirm (the prompt needs to be on focus) workaround = off
# "native" will stop the prompt at PAM level (DANGEROUS!)
workaround = input
[video] [video]
# The certainty of the detected face belonging to the user of the account # The certainty of the detected face belonging to the user of the account
# On a scale from 1 to 10, values above 5 are not recommended # On a scale from 1 to 10, values above 5 are not recommended
# Lower is better # The lower, the more accurate
certainty = 3.5 certainty = 3.5
# The number of seconds to search before timing out # The number of seconds to search before timing out
timeout = 4 timeout = 4
# The path of the device to capture frames from # The path of the device to capture frames from
# Should be set automatically by an installer if your distro has one # Video devices are usually found in /dev/v4l/by-path/
device_path = none device_path = none
# Print a warning if the the video device is not found # Print a warning if the the video device is not found
@ -68,7 +66,7 @@ frame_height = -1
# Skip the frame if the lowest 1/8 of the histogram is above this percentage # Skip the frame if the lowest 1/8 of the histogram is above this percentage
# of the total # of the total
# The lower this setting is, the more dark frames are ignored # The lower this setting is, the more dark frames are ignored
dark_threshold = 50 dark_threshold = 60
# The recorder to use. Can be either opencv (default), ffmpeg or pyv4l2. # The recorder to use. Can be either opencv (default), ffmpeg or pyv4l2.
# Switching from the default opencv to ffmpeg can help with grayscale issues. # Switching from the default opencv to ffmpeg can help with grayscale issues.
@ -89,9 +87,9 @@ force_mjpeg = false
exposure = -1 exposure = -1
# Rotate captured frames so faces are upright. # Rotate captured frames so faces are upright.
# Check landscape orientation only: rotate = 0 # 0 Check landscape orientation only
# Check landscape and portrait orientation: rotate = 1 # 1 Check both landscape and portrait orientation
# Check portrait orientation only: rotate = 2 # 2 Check portrait orientation only
rotate = 0 rotate = 0
[snapshots] [snapshots]