1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-21 05:35:35 +08:00

Add: Assets for coalition NEONCITY

This commit is contained in:
LmeSzinc
2025-06-26 23:47:43 +08:00
parent 373cf7e919
commit 118d80f61a
14 changed files with 63 additions and 14 deletions

View File

@@ -37,6 +37,9 @@ class Coalition(CoalitionCombat, CampaignEvent):
ocr = Digit(FROSTFALL_OCR_PT, name='OCR_PT', letter=(198, 158, 82), threshold=128)
elif event == 'coalition_20240627':
ocr = AcademyPtOcr(ACADEMY_PT_OCR, name='OCR_PT', letter=(255, 255, 255), threshold=128)
elif event == 'coalition_20250626':
# use generic ocr model
ocr = Digit(NEONCITY_PT_OCR, name='OCR_PT', lang='cnocr', letter=(208, 208, 208), threshold=128)
else:
logger.error(f'ocr object is not defined in event {event}')
raise ScriptError