mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 20:58:19 +08:00
Jp font 20241011 (#4272)
* tmp: [JP] commission assets * tmp: [JP] asset RESEARCH_COST_CHECKER * tmp: [JP] assets in mail batch * tmp: [JP] opsi get_zone_name color * tmp: [JP] get_coin and get_oil color * tmp: [JP] ash_collect_status and get_yellow_coins color * upd: [JP] resize commission assets recognize size
This commit is contained in:
@@ -77,7 +77,7 @@ class OSMapOperation(MapOrderHandler, MissionHandler, PortHandler, StorageHandle
|
||||
@Config.when(SERVER='jp')
|
||||
def get_zone_name(self):
|
||||
# For JP only
|
||||
ocr = Ocr(MAP_NAME, lang='jp', letter=(214, 231, 255), threshold=127, name='OCR_OS_MAP_NAME')
|
||||
ocr = Ocr(MAP_NAME, lang='jp', letter=(185, 192, 201), threshold=127, name='OCR_OS_MAP_NAME')
|
||||
name = ocr.ocr(self.device.image)
|
||||
self.is_zone_name_hidden = '安全' in name
|
||||
# Remove punctuations
|
||||
|
||||
Reference in New Issue
Block a user