This commit is contained in:
恍兮惚兮 2024-08-14 14:08:37 +08:00
parent 02c213ee9d
commit e33cf58f5e
2 changed files with 2 additions and 1 deletions

View File

@ -921,6 +921,7 @@ class MAINUI:
self.translation_ui.isbindedwindow = b
self.translation_ui.refreshtooliconsignal.emit()
@tryprint
def __do():
if not self.textsource:
setandrefresh(False)

View File

@ -71,7 +71,7 @@ class OCR(baseocr):
def end(self):
wcocr_destroy = self.wcocr.wcocr_destroy
wcocr_destroy.argtypes = c_void_p
wcocr_destroy.argtypes = (c_void_p,)
wcocr_destroy(self.pobj)
def ocr(self, imagebinary):