Files
SupervisorAI/config.yaml
2026-02-28 12:12:43 +08:00

73 lines
2.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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"
hls_root_path: "D:/ProjectDoc/Police/data/hls"
hls_downloader_daily_rotate_hour: 3 # 凌晨轮换时间
hls_downloader_retention_days: 3 # 文件保留天数
hls_downloader_retry_interval_seconds: 10 # 重试等待秒数
service_groups:
- name: "kadian_group" # 服务组名称
video_source_type: "hls"
ws_host: "0.0.0.0" # WebSocket 服务地址
ws_port: 8765 # WebSocket 服务端口
algorithm: "supervision_room" # 算法类型
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]