Files
multi_camera/run.py

21 lines
504 B
Python
Raw Normal View History

#!/usr/bin/env python3
"""
多摄像头监控系统启动脚本
"""
import os
import sys
from app import create_app
if __name__ == '__main__':
app = create_app()
from app.config import HOST, PORT, DEBUG
print("=" * 50)
print("🚀 多摄像头网格布局系统启动")
print(f"📡 访问地址: http://{HOST}:{PORT}")
print(f"🎥 摄像头数量: 6个")
print(f"🔧 调试模式: {DEBUG}")
print("=" * 50)
app.run(host=HOST, port=PORT, debug=DEBUG)