2025-08-17 12:48:10 +08:00
|
|
|
[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]
|
2025-09-18 09:07:09 +08:00
|
|
|
enabled = True
|
2025-09-29 08:50:59 +08:00
|
|
|
device_index = 0
|
2025-08-17 12:48:10 +08:00
|
|
|
width = 1280
|
|
|
|
height = 720
|
|
|
|
fps = 30
|
2025-09-01 15:14:42 +08:00
|
|
|
buffer_size = 1
|
|
|
|
fourcc = MJPG
|
2025-09-18 09:07:09 +08:00
|
|
|
backend = directshow
|
2025-08-17 12:48:10 +08:00
|
|
|
|
|
|
|
[FEMTOBOLT]
|
2025-09-18 09:07:09 +08:00
|
|
|
enabled = True
|
2025-10-11 16:58:52 +08:00
|
|
|
algorithm_type = plt
|
2025-08-17 12:48:10 +08:00
|
|
|
color_resolution = 1080P
|
2025-09-01 15:14:42 +08:00
|
|
|
depth_mode = NFOV_2X2BINNED
|
|
|
|
camera_fps = 20
|
2025-10-11 16:58:52 +08:00
|
|
|
depth_range_min = 800
|
|
|
|
depth_range_max = 1200
|
2025-09-01 15:14:42 +08:00
|
|
|
fps = 15
|
|
|
|
synchronized_images_only = False
|
2025-08-17 12:48:10 +08:00
|
|
|
|
|
|
|
[DEVICES]
|
2025-09-18 09:07:09 +08:00
|
|
|
imu_enabled = True
|
2025-09-11 17:40:03 +08:00
|
|
|
imu_device_type = ble
|
2025-09-08 08:50:27 +08:00
|
|
|
imu_port = COM9
|
2025-09-11 17:40:03 +08:00
|
|
|
imu_mac_address = ef:3c:1a:0a:fe:02
|
2025-08-20 10:30:51 +08:00
|
|
|
imu_baudrate = 9600
|
2025-09-18 09:07:09 +08:00
|
|
|
pressure_enabled = True
|
2025-08-17 12:48:10 +08:00
|
|
|
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
|
|
|
|
|