1. 修复负冷却时间bug:启动失败时若未设置冷却,现在设置30s冷却 2. EasyOCR worker添加超时保护:readtext()使用concurrent.futures包装,30s超时 3. Windows OCR消息搅和隔离:EasyOCR超时+Windows OCR多时间戳→返回空结果 4. 添加easyocr_worker_state.json到.gitignore
76 lines
1.2 KiB
Plaintext
76 lines
1.2 KiB
Plaintext
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.egg-info/
|
|
dist/
|
|
# PyInstaller output (在build目录内),但保留构建脚本
|
|
build/build/
|
|
build/*.log
|
|
build/cert_info.txt
|
|
build/code_signing_cert.*
|
|
build/windowmsgbot/
|
|
|
|
# Virtual environment
|
|
venv/
|
|
.venv/
|
|
.venv311/
|
|
env/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Config (keep template but ignore local)
|
|
config.json
|
|
local_config.json
|
|
|
|
# User data
|
|
知识库/
|
|
.knowledge_base/
|
|
|
|
# Debug dumps
|
|
.debug/
|
|
tim_dump.txt
|
|
|
|
# OCR debug screenshots
|
|
ocr_debug_*.png
|
|
wechat_ocr_*.png
|
|
|
|
# OCR 调试图片分目录(img/raw 原图 + img/processed 处理后)
|
|
img/
|
|
|
|
# Shell redirect artifacts
|
|
nul
|
|
worker_stderr.txt
|
|
worker_stdout.txt
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# OS
|
|
Thumbs.db
|
|
.DS_Store
|
|
|
|
# 用户消息数据库(含聊天记录,禁止入库)
|
|
msg_history.db
|
|
|
|
# 诊断脚本/报告(临时调试文件)
|
|
# ⚠ 必须同时覆盖带下划线(v1)与无下划线(v2)两种命名——曾有 debug_kb.py/test_kb.py
|
|
# 因无下划线前缀绕过 _debug_*_/ _test_*_ 规则,存活在 git status 待提交区
|
|
_diag_*.py
|
|
_diagnosis_*.py
|
|
_debug_*.py
|
|
debug_*.py
|
|
_debug_*.txt
|
|
debug_*.txt
|
|
_diag_*.txt
|
|
_test_*.py
|
|
test_*.py
|
|
_test_*.txt
|
|
test_*.txt
|
|
_radical_*.txt
|
|
unicode_radicals.md.bak
|
|
easyocr_worker_state.json
|
|
easyocr_worker_state.json
|