- Deleted `check_md_files.py` and `fix_cursor_md_issue.py` as they are no longer needed. - Added new functions in `path_config.py` for better path management, including actions log and run_cli paths. - Updated various modules to utilize the new path configuration, ensuring consistency and maintainability across the project.
157 lines
1.7 KiB
Plaintext
157 lines
1.7 KiB
Plaintext
# 抖音福袋挂机项目 - Python依赖清单
|
|
# Python版本要求: >= 3.8
|
|
|
|
# ========== 核心必需依赖 ==========
|
|
# 图片处理
|
|
Pillow>=9.0.0
|
|
|
|
# 数值计算(OCR和图像处理需要)
|
|
numpy>=1.20.0
|
|
|
|
# 计算机视觉库(图像处理、模板匹配等)
|
|
opencv-python>=4.5.0
|
|
|
|
# OCR识别 - PaddleOCR(主要OCR引擎)
|
|
paddleocr>=2.7.0
|
|
|
|
# 深度学习框架(PaddleOCR的依赖)
|
|
# 注意:PaddleOCR会自动安装paddlepaddle,但为了确保版本兼容性,建议显式安装
|
|
paddlepaddle>=2.5.0,<3.0.0
|
|
|
|
# ========== GUI相关依赖 ==========
|
|
# 现代化GUI框架(可选,如果未安装会自动回退到原生tkinter)
|
|
ttkbootstrap>=1.10.0
|
|
|
|
# tkinter拖放支持(可选,用于pick_coords.py工具,支持拖放图片文件)
|
|
# 如需使用拖放功能,请安装:pip install tkinterdnd2
|
|
# tkinterdnd2>=0.3.0
|
|
|
|
# ========== 可选依赖(提升性能) ==========
|
|
# EasyOCR(备选OCR引擎,比PaddleOCR更快,但需要更多内存)
|
|
# 如需使用,取消下面的注释并安装:
|
|
# easyocr>=1.7.0
|
|
|
|
# ========== 开发和测试依赖(可选) ==========
|
|
# Web GUI测试工具(如果需要使用Web界面测试功能)
|
|
# playwright>=1.30.0
|
|
|
|
# 注意:
|
|
# 1. 如果paddlepaddle安装失败,可以尝试:
|
|
# CPU版本: pip install paddlepaddle==2.5.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
# GPU版本: pip install paddlepaddle-gpu==2.5.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
#
|
|
# 2. 如果网络连接有问题,可以使用国内镜像源:
|
|
# pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|