- Implemented a test script for shopping red packet detection using pixel analysis and OCR. - Created a sample image to simulate a shopping red packet for testing purposes. - Added functions to test pixel detection, coordinate definitions, and OCR keyword matching. - Included detailed print statements for test results and summaries.
配置目录
本目录包含项目的所有配置文件。
配置文件列表
- config.json - 主配置文件(唯一配置入口),包含所有运行时配置参数
- pyrightconfig.json - Pyright类型检查器配置
- pytest.ini - pytest测试框架配置
注意事项
config/config.json是运行时配置文件,会被程序读取和修改- 建议在修改配置前备份原文件
- 配置文件使用 UTF-8 编码