2025-07-28 11:59:56 +08:00
|
|
|
[APP]
|
|
|
|
name = Body Balance Evaluation System
|
|
|
|
version = 1.0.0
|
|
|
|
debug = false
|
|
|
|
log_level = INFO
|
|
|
|
|
|
|
|
[SERVER]
|
2025-07-29 17:04:51 +08:00
|
|
|
host = 0.0.0.0
|
2025-07-28 11:59:56 +08:00
|
|
|
port = 5000
|
|
|
|
cors_origins = *
|
|
|
|
|
|
|
|
[DATABASE]
|
2025-07-31 17:23:05 +08:00
|
|
|
path = backend/data/body_balance.db
|
2025-07-28 11:59:56 +08:00
|
|
|
backup_interval = 24
|
|
|
|
max_backups = 7
|
|
|
|
|
|
|
|
[DEVICES]
|
|
|
|
camera_index = 0
|
|
|
|
camera_width = 640
|
|
|
|
camera_height = 480
|
|
|
|
camera_fps = 30
|
2025-08-17 12:48:10 +08:00
|
|
|
imu_port = COM3
|
2025-07-28 11:59:56 +08:00
|
|
|
pressure_port = COM4
|
|
|
|
|
|
|
|
[DETECTION]
|
|
|
|
default_duration = 60
|
|
|
|
sampling_rate = 30
|
|
|
|
balance_threshold = 0.2
|
|
|
|
posture_threshold = 5.0
|
|
|
|
|
|
|
|
[DATA_PROCESSING]
|
|
|
|
filter_window = 5
|
|
|
|
outlier_threshold = 2.0
|
|
|
|
chart_dpi = 300
|
|
|
|
export_format = csv
|
|
|
|
|
|
|
|
[SECURITY]
|
2025-08-17 12:48:10 +08:00
|
|
|
secret_key = 739bbbe1b291cd966ef91d7752701958bf6d3e48c7b41e3872a7281d45403685
|
2025-07-28 11:59:56 +08:00
|
|
|
session_timeout = 3600
|
|
|
|
max_login_attempts = 5
|
|
|
|
|