69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
rtsp_enabled: false
|
||
|
||
# 应用配置
|
||
app:
|
||
debug: false
|
||
log_level: INFO
|
||
log_file: "log/app.log"
|
||
|
||
# 资源文件夹配置
|
||
face:
|
||
face_register_image_dir: "D:/ruoyi/uploadPath/face"
|
||
video_dir: "D:/ruoyi/uploadPath/video"
|
||
face_cal_feature_timeout_hours: 10
|
||
face_model_version: 0
|
||
face_use_gpu: true
|
||
face_use_npu: false
|
||
sur_config_type_face: 0
|
||
sur_config_scope_global: 0
|
||
|
||
# 数据库配置
|
||
database:
|
||
host: localhost
|
||
port: 5432
|
||
user: postgres
|
||
password: yipai123
|
||
name: pmms
|
||
schema: public
|
||
pool_size: 10
|
||
max_overflow: 20
|
||
pool_recycle: 3600
|
||
echo: false
|
||
|
||
# 服务组配置:每个组有独立的 WebSocket 和算法类型
|
||
# debug_mode: True=前台运行(适合PyCharm调试),False=后台运行(适合生产部署)
|
||
debug_mode: true
|
||
alert_push_url: "http://123.57.151.210:10000/picenter/websocket/test/process"
|
||
|
||
service_groups:
|
||
- name: "kadian_group" # 服务组名称
|
||
video_source_type: "hls"
|
||
ws_host: "0.0.0.0" # WebSocket 服务地址
|
||
ws_port: 8765 # WebSocket 服务端口
|
||
algorithm: "kadian" # 算法类型
|
||
cameras: # 该组下的摄像头列表
|
||
- id: 1
|
||
index: testindexcode
|
||
name: Entrance
|
||
params:
|
||
roi_points:
|
||
- [0.15, 0.001]
|
||
- [0.5, 0.001]
|
||
- [1.0, 0.8]
|
||
- [0.35, 1.0]
|
||
#- name: "prison_group" # 服务组名称
|
||
# video_source_type: "hls"
|
||
# ws_host: "0.0.0.0" # WebSocket 服务地址
|
||
# ws_port: 8766 # WebSocket 服务端口
|
||
# algorithm: "prison" # 算法类型
|
||
# cameras: # 该组下的摄像头列表
|
||
# - id: 1
|
||
# index: testindexcode
|
||
# name: Entrance
|
||
# params:
|
||
# roi_points:
|
||
# - [0.15, 0.001]
|
||
# - [0.5, 0.001]
|
||
# - [1.0, 0.8]
|
||
# - [0.35, 1.0]
|