From da3b019ef2dcd5ead87e036c8b508ac71737516c Mon Sep 17 00:00:00 2001 From: Yifan Liu Date: Fri, 3 Feb 2023 17:23:13 -0600 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=9F=E4=B8=80=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=9C=AC=E5=92=8C=E8=8A=AF=E7=89=87=E6=9C=AC=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=E4=B8=BAocr=E4=BB=A5=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=A4=96=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前资源本是用的template,外服字号不同识别不出来 --- resource/tasks.json | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/resource/tasks.json b/resource/tasks.json index 2ceb51c136..bbc5c15603 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -2028,8 +2028,10 @@ }, "ResourceStageLevel5": { "Doc": "base_task", - "template": "empty.png", + "algorithm": "OcrDetect", "baseTask": "Stage", + "isAscii": true, + "text": [], "roi": [ 850, 140, @@ -2039,8 +2041,10 @@ }, "ResourceStageLevel6": { "Doc": "base_task", - "template": "empty.png", + "algorithm": "OcrDetect", "baseTask": "Stage", + "isAscii": true, + "text": [], "roi": [ 936, 101, @@ -2053,6 +2057,7 @@ ] }, "ChipStageLevel1": { + "Doc": "base_task", "algorithm": "OcrDetect", "baseTask": "Stage", "isAscii": true, @@ -2065,6 +2070,7 @@ ] }, "ChipStageLevel2": { + "Doc": "base_task", "algorithm": "OcrDetect", "baseTask": "Stage", "isAscii": true, @@ -2102,27 +2108,39 @@ }, "CE5@Stage": { "baseTask": "ResourceStageLevel5", - "template": "StageCE5.png" + "text": [ + "CE-5" + ] }, "CE6@Stage": { "baseTask": "CE5@ResourceStageLevel6", - "template": "StageCE6.png" + "text": [ + "CE-6" + ] }, "LS5@Stage": { "baseTask": "ResourceStageLevel5", - "template": "StageLS5.png" + "text": [ + "LS-5" + ] }, "LS6@Stage": { "baseTask": "LS5@ResourceStageLevel6", - "template": "StageLS6.png" + "text": [ + "LS-6" + ] }, "CA5@Stage": { "baseTask": "ResourceStageLevel5", - "template": "StageCA5.png" + "text": [ + "CA-5" + ] }, "AP5@Stage": { "baseTask": "ResourceStageLevel5", - "template": "StageAP5.png" + "text": [ + "AP-5" + ] }, "PR-A-1@Stage": { "baseTask": "ChipStageLevel1", @@ -9751,7 +9769,7 @@ "action": "DoNothing" }, - + "Reclamation@PopupConfirm":{ "Doc":"base_task", "template": "PopupConfirm.png", @@ -9799,7 +9817,7 @@ "Reclamation@CloseAnnos#next", "Reclamation@TodoEnter" ], - "postDelay": 1000 + "postDelay": 1000 }, "Reclamation@TodoEnter": { "action": "ClickSelf", @@ -10431,7 +10449,7 @@ "next": [ "Reclamation@EnterResearchLab", "Reclamation@CmdCenterSwipeRight" - ] + ] }, "Reclamation@EnterResearchLab":{ "algorithm": "OcrDetect",