Files
douyi_guaji_main/assets
Your Name f92933641f feat: Enhance documentation and clean up code structure
- Added comprehensive documentation for the unified screenshot and score recording process in the new markdown file.
- Improved existing markdown files by adding spacing for better readability.
- Cleaned up code by removing unnecessary blank lines across various scripts, enhancing overall code clarity.
- Updated configuration settings to reflect recent changes and ensure consistency across the project.
- Enhanced logging mechanisms to support better debugging and monitoring.
2025-12-25 16:11:25 +08:00
..

把“爱心/点赞”与“收藏/五角星”两个图标的小图片分别保存为:
- assets/like.png
- assets/fav.png

脚本会在养号动作时:
1) 按 config.json 里的坐标截取附近 180x180 的 ROI,保存到 pic/action_like_roi/latest.png、pic/action_fav_roi/latest.png
2) 用 OpenCV 模板匹配判断 ROI 是否包含对应图标;检测到才会点击

提示:模板图片尽量是纯图标(透明背景也可以),大小不要超过 ROI 太多。