Files
vision-record/main.py

27 lines
485 B
Python

"""
视觉记录系统主入口
"""
import sys
import os
# 确保路径正确
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from web.app import run_web
from config import WEB_PORT
def main():
"""启动系统"""
print("=" * 50)
print("视觉记录系统启动")
print("=" * 50)
print(f"Web 端口: {WEB_PORT}")
print(f"访问地址: http://localhost:{WEB_PORT}")
print("=" * 50)
run_web()
if __name__ == "__main__":
main()