refactor: 重构为极简截图上传工具
- 简化项目定位:从智能工具转为极简截图上传工具 - 移除重型依赖:torch、transformers、paddleocr、SQLAlchemy - 新增轻量级核心模块: - config.py: 简化 YAML 配置管理 - database.py: 原生 SQLite 存储 - screenshot.py: 截图功能(全屏/区域) - uploader.py: 云端上传(支持 custom/telegraph/imgur) - plugins/ocr.py: 可选 RapidOCR 插件 - 重写主窗口:专注核心功能,移除复杂 UI - 更新依赖:核心 ~50MB,OCR 可选 - 更新文档:新的 README 和需求分析 v2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
8
requirements-ocr.txt
Normal file
8
requirements-ocr.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# CutThenThink - 可选 OCR 插件
|
||||
# 安装:pip install -r requirements-ocr.txt
|
||||
|
||||
# 轻量级 OCR 引擎
|
||||
rapidocr>=1.3.0
|
||||
|
||||
# ONNX 运行时
|
||||
onnxruntime>=1.16.0
|
||||
Reference in New Issue
Block a user