- Updated config.json to include new parameters for yanghao template paths and match thresholds. - Adjusted default icon match threshold in config to 0.70 for better detection. - Implemented polygon detection logic in yanghao_idle function to allow for flexible ROI configurations. - Added support for per-action ROI scaling and sizes in the configuration. - Introduced new methods in fudai_analyse for capturing ROI screenshots and matching templates. - Created a test script to validate polygon detection against provided templates. - Improved error handling and logging for better debugging during detection processes.
配置目录
本目录包含项目的所有配置文件。
配置文件列表
- config.json - 主配置文件,包含所有运行时配置参数
- pyrightconfig.json - Pyright类型检查器配置
- pytest.ini - pytest测试框架配置
注意事项
config.json是运行时配置文件,会被程序读取和修改- 建议在修改配置前备份原文件
- 配置文件使用 UTF-8 编码