Files
douyin_guaji-main/assets
Your Name 8b47b506d6 feat: Enhance 福袋 detection and reservation logic
- Updated `config.json` to introduce new settings for infinite loop mode and adjust various thresholds for 福袋 detection.
- Refined the pixel detection logic in `douyin_detection.py` to improve error handling and retry mechanisms.
- Enhanced reservation handling in `douyin_flow_control.py` to prioritize high-value 福袋 and streamline the switching process.
- Improved the GUI in `gui_app.py` to support new configuration options and ensure better user experience.
- Added new tools for analyzing 福袋 colors and comparing them with coupon colors to aid in detection accuracy.
- Updated documentation to reflect changes in configuration and usage instructions.
2025-12-20 13:32:32 +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 太多。