2025-08-06 09:04:13 +08:00
|
|
|
[APP]
|
|
|
|
|
name = Body Balance Evaluation System
|
2025-12-12 17:33:14 +08:00
|
|
|
version = 1.5.0
|
2025-08-13 16:57:28 +08:00
|
|
|
debug = True
|
2025-08-06 09:04:13 +08:00
|
|
|
log_level = INFO
|
|
|
|
|
|
|
|
|
|
[SERVER]
|
|
|
|
|
host = 0.0.0.0
|
|
|
|
|
port = 5000
|
|
|
|
|
cors_origins = *
|
|
|
|
|
|
|
|
|
|
[DATABASE]
|
2025-10-14 11:32:35 +08:00
|
|
|
path = D:/BodyCheck/data/body_balance.db
|
2025-12-12 18:02:46 +08:00
|
|
|
common_items_path = D:/BodyCheck/data/common_items.json
|
2025-08-06 09:04:13 +08:00
|
|
|
backup_interval = 24
|
|
|
|
|
max_backups = 7
|
|
|
|
|
|
2025-10-14 11:32:35 +08:00
|
|
|
[FILEPATH]
|
|
|
|
|
path = D:/BodyCheck/file/
|
|
|
|
|
|
2025-11-16 11:43:41 +08:00
|
|
|
[CAMERA1]
|
2026-01-10 22:28:56 +08:00
|
|
|
enable = True
|
2026-01-09 14:50:25 +08:00
|
|
|
device_index = 0
|
2025-08-17 12:48:10 +08:00
|
|
|
width = 1280
|
|
|
|
|
height = 720
|
|
|
|
|
fps = 30
|
2025-09-29 08:50:59 +08:00
|
|
|
buffer_size = 1
|
|
|
|
|
fourcc = MJPG
|
2025-11-16 11:43:41 +08:00
|
|
|
backend = directshow
|
|
|
|
|
|
|
|
|
|
[CAMERA2]
|
2026-01-11 11:38:02 +08:00
|
|
|
enable = False
|
|
|
|
|
device_index = 2
|
2025-11-16 11:43:41 +08:00
|
|
|
width = 1280
|
|
|
|
|
height = 720
|
|
|
|
|
fps = 30
|
|
|
|
|
buffer_size = 1
|
|
|
|
|
fourcc = MJPG
|
2025-09-29 08:50:59 +08:00
|
|
|
backend = directshow
|
2025-08-17 12:48:10 +08:00
|
|
|
|
|
|
|
|
[FEMTOBOLT]
|
2026-01-12 15:21:44 +08:00
|
|
|
enable = False
|
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
|
2025-09-29 08:50:59 +08:00
|
|
|
camera_fps = 20
|
2025-10-28 11:41:02 +08:00
|
|
|
depth_range_min = 1200
|
|
|
|
|
depth_range_max = 1600
|
2025-09-29 08:50:59 +08:00
|
|
|
fps = 15
|
|
|
|
|
synchronized_images_only = False
|
2025-08-17 12:48:10 +08:00
|
|
|
|
2025-08-06 09:04:13 +08:00
|
|
|
[DEVICES]
|
2026-01-12 15:21:44 +08:00
|
|
|
imu_enable = True
|
|
|
|
|
imu_use_mock = False
|
|
|
|
|
imu_mac_address = FA:E8:88:06:FE:F3
|
2026-01-10 22:28:56 +08:00
|
|
|
pressure_enable = False
|
2025-08-17 12:48:10 +08:00
|
|
|
pressure_use_mock = False
|
|
|
|
|
pressure_port = COM5
|
|
|
|
|
pressure_baudrate = 115200
|
2025-08-06 09:04:13 +08:00
|
|
|
|
2026-01-09 09:40:00 +08:00
|
|
|
[REMOTE]
|
2026-01-12 15:21:44 +08:00
|
|
|
enable = False
|
2026-01-09 09:40:00 +08:00
|
|
|
port = COM6
|
|
|
|
|
baudrate = 115200
|
|
|
|
|
timeout = 0.1
|
|
|
|
|
strict_crc = False
|
|
|
|
|
|
2025-08-17 12:48:10 +08:00
|
|
|
[SYSTEM]
|
|
|
|
|
log_level = INFO
|
|
|
|
|
max_cache_size = 10
|
|
|
|
|
cache_timeout = 5.0
|
2025-08-13 16:57:28 +08:00
|
|
|
|
2025-08-06 09:04:13 +08:00
|
|
|
[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-13 16:57:28 +08:00
|
|
|
secret_key = 79fcc4983d478c2ee672f3305d5e12c7c84fd1b58a18acb650e9f8125bfa805f
|
2025-08-06 09:04:13 +08:00
|
|
|
session_timeout = 3600
|
|
|
|
|
max_login_attempts = 5
|
|
|
|
|
|
2025-10-29 22:43:38 +08:00
|
|
|
[LICENSE]
|
|
|
|
|
path = D:/BodyCheck/license/license.json
|
|
|
|
|
public_key = D:/BodyCheck/license/license_public_key.pem
|
|
|
|
|
grace_days = 7
|
|
|
|
|
dev_mode = False
|
|
|
|
|
|
2025-12-12 13:12:39 +08:00
|
|
|
[SCREEN_RECORDING]
|
|
|
|
|
strategy = ffmpeg
|
|
|
|
|
ffmpeg_path = D:/BodyCheck/ffmpeg/bin/ffmpeg.exe
|
|
|
|
|
ffmpeg_codec = libx264
|
|
|
|
|
ffmpeg_preset = ultrafast
|
|
|
|
|
ffmpeg_threads = 2
|
|
|
|
|
ffmpeg_bframes = 0
|
|
|
|
|
ffmpeg_gop = 50
|
|
|
|
|
ffmpeg_draw_mouse = 0
|
|
|
|
|
|