Files
douyin_guaji-main/requirements.txt
T
Your Name 539e580147 feat: Add coverage report generation and enhance testing framework
- Introduced a new `.coverage` file for tracking test coverage metrics.
- Added `pytest.ini` configuration for streamlined testing setup, including coverage reporting and logging options.
- Created `requirements-test.txt` to manage testing dependencies, ensuring a consistent testing environment.
- Implemented a `run_tests.py` script to facilitate running tests with various options, including unit and integration tests.
- Established a structured testing directory with unit and integration tests, enhancing code reliability and maintainability.
- Updated documentation to reflect new testing procedures and configurations.
2025-12-22 13:26:26 +08:00

67 lines
1.4 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
# ========== 可选依赖(提升性能) ==========
# 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