1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 07:13:34 +08:00
This commit is contained in:
GH Action - Upstream Sync
2025-02-23 14:17:30 +00:00
15 changed files with 32 additions and 22 deletions

View File

@@ -1,4 +1,5 @@
from typing import List
import module.config.server as server
from module.logger import logger
from module.ocr.ocr import DigitYuv, Ocr
from module.statistics.item import Item, ItemGrid
@@ -48,7 +49,10 @@ class CounterOcr(Ocr):
COUNTER_OCR = CounterOcr([], threshold=96, name='Counter_ocr')
PRICE_OCR = PriceOcr([], letter=(255, 223, 57), threshold=32, name='Price_ocr')
if server.server in ['jp']:
PRICE_OCR = PriceOcr([], letter=(245, 214, 58), threshold=32, name='Price_ocr')
else:
PRICE_OCR = PriceOcr([], letter=(255, 223, 57), threshold=32, name='Price_ocr')
class OSShopItem(Item):