upd: [JP] commission ocr

This commit is contained in:
guoh064 2024-10-17 22:08:05 +08:00 committed by LmeSzinc
parent 168338b4aa
commit 92c5f5f59f

View File

@ -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)