mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 13:07:33 +08:00
upd: [JP] commission ocr
This commit is contained in:
parent
168338b4aa
commit
92c5f5f59f
@ -161,7 +161,7 @@ class Commission:
|
||||
# Name
|
||||
area = area_offset((176, 23, 420, 53), self.area[0:2])
|
||||
button = Button(area=area, color=(), button=area, name='COMMISSION')
|
||||
ocr = Ocr(button, lang='jp')
|
||||
ocr = Ocr(button, letter=(201, 201, 201), lang='jp')
|
||||
self.button = button
|
||||
self.name = ocr.ocr(self.image)
|
||||
self.genre = self.commission_name_parse(self.name)
|
||||
|
Loading…
Reference in New Issue
Block a user