fix(task): 修复竞赛总是卡在跳过页面

检测 SKIP 按钮默认给的阈值过高,现在调低了点。
This commit is contained in:
XcantloadX 2025-07-27 15:30:43 +08:00
parent 9c9e4af555
commit 738ec9ee78
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ def handle_challenge() -> bool:
# 跳过所有
# [screenshots/contest/contest1.png]
if image.find(R.Daily.ButtonIconSkip, preprocessors=[WhiteFilter()]):
if image.find(R.Daily.ButtonIconSkip, preprocessors=[WhiteFilter()], threshold=0.7):
logger.debug('Skipping all.')
device.click()
return True