feat: 视觉记录系统 v1.0.0 - 摄像头定时拍照+智能分析+Web界面

This commit is contained in:
2026-04-16 09:42:53 +08:00
commit 49785191c3
14 changed files with 1997 additions and 0 deletions

19
start.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
echo "================================"
echo "视觉记录系统启动脚本 (Linux/Mac)"
echo "================================"
cd "$(dirname "$0")"
echo "检查 Python 环境..."
python3 --version || python --version
echo "检查依赖..."
pip3 show opencv-python 2>/dev/null || pip show opencv-python 2>/dev/null
if [ $? -ne 0 ]; then
echo "安装依赖..."
pip3 install -r requirements.txt || pip install -r requirements.txt
fi
echo "启动服务..."
python3 main.py || python main.py