From f01d2a56489c031bd7c225ce2e15e8e7ab2d7ec6 Mon Sep 17 00:00:00 2001 From: Zebartin <16185081+Zebartin@users.noreply.github.com> Date: Mon, 2 Oct 2023 12:28:51 +0800 Subject: [PATCH] Fix: OCR of double event --- .../dungeon/event/OCR_DOUBLE_EVENT_REMAIN.png | Bin 15841 -> 15845 bytes tasks/dungeon/assets/assets_dungeon_event.py | 8 ++++---- tasks/dungeon/event.py | 12 +++++++++++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/assets/share/dungeon/event/OCR_DOUBLE_EVENT_REMAIN.png b/assets/share/dungeon/event/OCR_DOUBLE_EVENT_REMAIN.png index a67c5e11b09729c6e5bd9260e4fb8b6c82755c64..33a1030eba214f92675c2f562f584f85164b6620 100644 GIT binary patch literal 15845 zcmeIY=U0Lk)ytrAXT<(u<0KNC}~Z zmIS0J5fCW>LI@`GKw^LtNa4iaxc7Xx_xu6pgYOs_&%07aM%J@3pSk8-iI<)1_WdLC z4*&qzckzPtRRCa@=yv-L@!g_jAe!VVTDApWwL1@}>X%y-1v`SzU%VzRE>8UAJS_@$ z`kZq-2LPbb{^j5K^T|DrF5C6D}pSuS4S|RPqnj9Hv`;}z% zC_Fq|oW8%EL@G8qq;d7#p;L8@>F19%B496DcAcV2sUO(BlRGy_x@eHQ@8T&9@O}o- zN8vSToHU-jRWj4l#M$q1X#)k@A^JwZL74_t;h&qc=eHmGvz|}^Z2uE_{|*0U<8Lwi z{V)85g8v5z4IHR!2p+WU_5ypt51CnJVOqut2LReY#k{YkZ*Sf!c+U#o>+b;A{+}%p ziSrX21^|BBZ`Kgdl{oMFCqz$o8%FP~-vMZg?eGDw`w9+QDQ`RQSP#4Po+aHj!0vJ* zXNVO>AU#5R@UuVN!Dk3l0^f+4CW&4*m51A=4Oe&!K@aCM+?U39 ze4NEEFHA2Qh-ft1P|qMuOVlwx}t9RX(bMFAF}-b;PEQm4*a%H0$Ut{VZKJSPP$K(aQ3@vGl)mYNclyqFC>KJXSfr-w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C82>G~LDmv8qf&BLc|I`i-&>-6 ziUB~y{A*tdoLxE?3$g4xc)D+IVx%KTbntw{lz{t#AaCJj3!9UYsHW!R$ndx;0R06V z@?ns7fa5+RNvTyWrXaTgq^P?y2}H8o25%eEY=X&AO);u`CqdrX?f=3#h9%2T4T!+N zcP`QimY6Cf37L^fwPaytFeze98bOX}1cSFrOk0IZfU36@p<`_g%L=4LMXhN|QNSH{ zx?jKG#cyy?bkb8i77Pv3^WcOVZ8K}(;^&<3Hvi)3j9}r|0?ib1^&OUz)LbM^$Xc diff --git a/tasks/dungeon/assets/assets_dungeon_event.py b/tasks/dungeon/assets/assets_dungeon_event.py index f09003247..5f17dc470 100644 --- a/tasks/dungeon/assets/assets_dungeon_event.py +++ b/tasks/dungeon/assets/assets_dungeon_event.py @@ -27,9 +27,9 @@ OCR_DOUBLE_EVENT_REMAIN = ButtonWrapper( name='OCR_DOUBLE_EVENT_REMAIN', share=Button( file='./assets/share/dungeon/event/OCR_DOUBLE_EVENT_REMAIN.png', - area=(434, 141, 1163, 166), - search=(414, 121, 1183, 186), - color=(228, 185, 100), - button=(434, 141, 1163, 166), + area=(437, 177, 1169, 208), + search=(417, 157, 1189, 228), + color=(234, 190, 103), + button=(437, 177, 1169, 208), ), ) diff --git a/tasks/dungeon/event.py b/tasks/dungeon/event.py index 6c9f0c464..b2ac550dd 100644 --- a/tasks/dungeon/event.py +++ b/tasks/dungeon/event.py @@ -1,3 +1,5 @@ +import re + from module.logger import logger from module.ocr.ocr import DigitCounter from tasks.base.ui import UI @@ -8,6 +10,14 @@ from tasks.dungeon.assets.assets_dungeon_event import ( ) +class DoubleEventOcr(DigitCounter): + def after_process(self, result): + result = super().after_process(result) + # 9112 -> 9/12 + result = re.sub(r'112$', '/12', result) + return result + + class DungeonEvent(UI): def has_double_calyx_event(self) -> bool: """ @@ -34,7 +44,7 @@ class DungeonEvent(UI): Pages: in: page_guide, Survival_Index, selected at the nav with double event """ - ocr = DigitCounter(OCR_DOUBLE_EVENT_REMAIN) + ocr = DoubleEventOcr(OCR_DOUBLE_EVENT_REMAIN) remain, _, total = ocr.ocr_single_line(self.device.image) if total not in [3, 12]: logger.warning(f'Invalid double event remain')