From e2bd8b0da4352966798670efdf52bee47e8b5aca Mon Sep 17 00:00:00 2001 From: MistEO Date: Thu, 7 Oct 2021 19:24:40 +0800 Subject: [PATCH] =?UTF-8?q?fix.=E5=BC=80=E5=A7=8B=E8=A1=8C=E5=8A=A8?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=94=B9=E7=94=A8ocr=E8=AF=86=E5=88=AB?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D[issues#20](https://github.com/MistE?= =?UTF-8?q?O/MeoAssistance-Arknights/issues/20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/tasks.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/resource/tasks.json b/resource/tasks.json index a61a059ad3..da06f67256 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -28,8 +28,16 @@ ] }, "StartButton1": { - "template": "StartButton1.png", - "templThreshold": 0.75, + "algorithm": "OcrDetect", + "text": [ + "开始行动" + ], + "identifyArea": [ + 800, + 400, + 480, + 320 + ], "action": "clickSelf", "next": [ "StartButton2",