BodyBalanceEvaluation/backend/config.ini
2025-10-11 16:58:52 +08:00

72 lines
1.2 KiB
INI

[APP]
name = Body Balance Evaluation System
version = 1.0.0
debug = True
log_level = INFO
[SERVER]
host = 0.0.0.0
port = 5000
cors_origins = *
[DATABASE]
path = data/body_balance.db
backup_interval = 24
max_backups = 7
[CAMERA]
enabled = True
device_index = 1
width = 1280
height = 720
fps = 30
buffer_size = 1
fourcc = MJPG
backend = directshow
[FEMTOBOLT]
enabled = True
algorithm_type = plt
color_resolution = 1080P
depth_mode = NFOV_2X2BINNED
camera_fps = 20
depth_range_min = 800
depth_range_max = 1200
fps = 15
synchronized_images_only = False
[DEVICES]
imu_enabled = True
imu_device_type = ble
imu_port = COM9
imu_mac_address = ef:3c:1a:0a:fe:02
imu_baudrate = 9600
pressure_enabled = True
pressure_device_type = real
pressure_use_mock = False
pressure_port = COM5
pressure_baudrate = 115200
[SYSTEM]
log_level = INFO
max_cache_size = 10
cache_timeout = 5.0
[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]
secret_key = 79fcc4983d478c2ee672f3305d5e12c7c84fd1b58a18acb650e9f8125bfa805f
session_timeout = 3600
max_login_attempts = 5