BodyBalanceEvaluation/backend/config.ini

109 lines
1.8 KiB
INI

[APP]
name = Body Balance Evaluation System
version = 1.5.0
debug = True
log_level = INFO
[SERVER]
host = 0.0.0.0
port = 5000
cors_origins = *
[DATABASE]
path = D:/BodyCheck/data/body_balance.db
common_items_path = D:/BodyCheck/data/common_items.json
backup_interval = 24
max_backups = 7
[FILEPATH]
path = D:/BodyCheck/file/
[CAMERA1]
enable = True
device_index = 0
width = 1280
height = 720
fps = 30
buffer_size = 1
fourcc = MJPG
backend = directshow
[CAMERA2]
enable = False
device_index = 2
width = 1280
height = 720
fps = 30
buffer_size = 1
fourcc = MJPG
backend = directshow
[FEMTOBOLT]
enable = True
algorithm_type = plt
color_resolution = 1080P
depth_mode = NFOV_2X2BINNED
camera_fps = 20
depth_range_min = 1200
depth_range_max = 1600
fps = 15
synchronized_images_only = False
[DEVICES]
imu_enable = False
imu_device_type = ble
imu_port = COM9
imu_mac_address = ef:3c:1a:0a:fe:02
imu_baudrate = 9600
pressure_enable = False
pressure_device_type = real
pressure_use_mock = False
pressure_port = COM5
pressure_baudrate = 115200
[REMOTE]
enable = True
port = COM6
baudrate = 115200
timeout = 0.1
strict_crc = False
[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
[LICENSE]
path = D:/BodyCheck/license/license.json
public_key = D:/BodyCheck/license/license_public_key.pem
grace_days = 7
dev_mode = False
[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