feat: cam and slience detect sleep
This commit is contained in:
@ -141,6 +141,36 @@ config ZHENGCHEN_CAM_USE_GIF_EMOJI
|
||||
When enabled, default assets use custom-emojis/gif.
|
||||
When disabled, default assets use custom-emojis/png.
|
||||
|
||||
menu "Fatigue Reminder"
|
||||
depends on BOARD_TYPE_ZHENGCHEN_CAM || BOARD_TYPE_ZHENGCHEN_CAM_ML307
|
||||
|
||||
choice FATIGUE_DETECTION_DEFAULT_MODE
|
||||
prompt "Default fatigue detection mode"
|
||||
default FATIGUE_DETECTION_MODE_CAMERA
|
||||
help
|
||||
Select the default fatigue reminder detection mode used when no runtime NVS
|
||||
override exists.
|
||||
|
||||
config FATIGUE_DETECTION_MODE_CAMERA
|
||||
bool "Camera blink/eye closure only"
|
||||
config FATIGUE_DETECTION_MODE_SILENCE
|
||||
bool "Silence/no-speaking only"
|
||||
config FATIGUE_DETECTION_MODE_BOTH
|
||||
bool "Camera and silence"
|
||||
config FATIGUE_DETECTION_MODE_OFF
|
||||
bool "Off"
|
||||
endchoice
|
||||
|
||||
config FATIGUE_CAMERA_DEBUG_PREVIEW_DEFAULT
|
||||
bool "Show camera debug preview by default"
|
||||
depends on FATIGUE_DETECTION_MODE_CAMERA || FATIGUE_DETECTION_MODE_BOTH
|
||||
default n
|
||||
help
|
||||
Show sampled camera frames while running local drowsiness detection.
|
||||
This is useful for tuning, but it can cover the neutral standby image.
|
||||
|
||||
endmenu
|
||||
|
||||
choice
|
||||
depends on BOARD_TYPE_LILYGO_T_DISPLAY_P4
|
||||
prompt "Select the screen type"
|
||||
|
||||
Reference in New Issue
Block a user