Files
OLmatterandClaude Opus 4.7 66a9ea559e feat(backend): pipeline GUI launcher + 精简启动器
新增 backend/gui.py Tk 监控窗口:
- 拉起 backend.server 子进程并接管 stdout
- 顶部状态栏(启动中/运行中、YOLO/OCR worker 数、监听地址)
- 中间识别列表(最近 20 条 prompt/pred_text/confidence/耗时)
- 底部日志框(stdout 实时滚动,高亮 worker ready / 错误)
- 关闭窗口自动 terminate 后端

后端新增 /recent?limit=20 端口(GUI 拉取最近识别结果),
/health 同步返回 n_yolo / n_ocr / port 字段。

精简根目录启动器(7 → 2):
- 删 start-backend.cmd / start-backend-pipeline.cmd /
      install-env.cmd / 启动后端.cmd / 首次安装环境.cmd
- 留 one-click-start.cmd(首次装环境)
- 留 start-backend-pipeline-gui.cmd(日常启动 + GUI)
- start-backend-pipeline.ps1 → start-backend-pipeline-gui.ps1

打包脚本 build_portable.ps1 / build_release_zips.ps1 同步
更新入口列表和错误提示。

补 .gitignore: official_models/(81M OCR 模型权重,不入库)

补 scripts/tools/evaluate_pipeline_compare.py(PR #10 评估
脚本,cherry-pick 时漏了)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-15 22:53:36 +08:00

52 lines
627 B
Plaintext

# Python
__pycache__/
*.py[cod]
*.pyo
*.pyd
.Python
.pytest_cache/
.mypy_cache/
# Local environments
.venv/
.venv_*/
.venv_paddle/
.venv_paddle_gpu/
# Paddle / model caches
.paddle_home/
.paddle_home_gpu/
.paddlex_cache/
.paddlex_cache_cpu/
.paddlex_cache_gpu/
# Local OCR model weights (downloaded by paddle, kept locally only)
official_models/
# Runtime output
logs/
dataset/
dist/
processed/
runs/
*.log
*.tmp
# OS / editors
.DS_Store
Thumbs.db
.idea/
.vscode/
# Local secrets
.env
*.env
secrets.*
config.local.*
config.json
*token*.txt
新建文本文档*.txt
server_err.txt
server_out.txt
server.pid
test_captcha.png