system.py 878 B

12345678910111213141516171819202122232425262728
  1. """
  2. 系统配置
  3. """
  4. # 系统配置
  5. SYSTEM_CONFIG = {
  6. 'name': '施工现场安全行为智能识别系统',
  7. 'version': '2.0.0',
  8. # === 功能开关 ===
  9. # 摄像头模块
  10. 'enable_panorama_camera': True, # 启用全景摄像头
  11. 'enable_ptz_camera': True, # 启用 PTZ 球机
  12. # 检测模块
  13. 'enable_detection': True, # 启用人体检测 (YOLO)
  14. # 联动与校准
  15. 'enable_calibration': True, # 启用自动校准
  16. 'enable_ptz_tracking': True, # 启用 PTZ 跟踪联动
  17. # 事件推送
  18. 'enable_event_push': False, # 启用事件推送
  19. # === 工作模式 ===
  20. 'tracking_mode': 'polling', # 'polling'(默认) | 'async' | 'sequential'
  21. # 注:async/sequential 为历史 OCR 联动模式,当前默认已移除 OCR
  22. }