feat: Implement high-value room revisit feature and enhance fudai tracking

- Added tracking for previously seen fudai in Runner and ProcRunner classes to avoid duplicate recognition.
- Extracted room title during fudai recognition for better tracking.
- Updated high_value_rooms.json with new room entries and adjusted total count.
- Introduced new GUI elements for configuring icon coordinates in webui.
- Created comprehensive documentation for the high-value room revisit functionality.
- Added tests for delay settings and icon detection logic to ensure functionality.
- Implemented a tool for analyzing step times in logs to identify performance bottlenecks.
This commit is contained in:
Your Name committed 2026-01-08 14:27:38 +08:00
1 parent 47e1a0cb2c
commit b3011dd9ce
26 files changed
+1978 -1118

No files matched your search

+6
View File
@@ -42,6 +42,12 @@ const DEFAULTS = {
yanghao_icon_match_threshold: 0.72,
yanghao_like_template_path: "assets/like.png",
yanghao_fav_template_path: "assets/fav.png",
yanghao_like_icon_x: 0,
yanghao_like_icon_y: 0,
yanghao_fav_icon_x: 0,
yanghao_fav_icon_y: 0,
yanghao_comment_btn_x: 0,
yanghao_comment_btn_y: 0,
yanghao_after_dwell_swipe_direction: "up",
yanghao_after_dwell_swipe_distance_px: 900,
+17
View File
@@ -572,6 +572,23 @@
</div>
</div>
<div class="row grid2">
<div>
<label class="label">爱心图标坐标(x,y)</label>
<div class="inline2">
<input id="yanghao_like_icon_x" class="input" data-key="yanghao_like_icon_x" data-type="int" type="number" />
<input id="yanghao_like_icon_y" class="input" data-key="yanghao_like_icon_y" data-type="int" type="number" />
</div>
</div>
<div>
<label class="label">收藏图标坐标(x,y)</label>
<div class="inline2">
<input id="yanghao_fav_icon_x" class="input" data-key="yanghao_fav_icon_x" data-type="int" type="number" />
<input id="yanghao_fav_icon_y" class="input" data-key="yanghao_fav_icon_y" data-type="int" type="number" />
</div>
</div>
</div>
<div class="row grid2">
<div>
<label class="label">评论按钮坐标(x,y)</label>