From ffe71f5851e0403daa566eba0630d308b7a83ef1 Mon Sep 17 00:00:00 2001 From: Leif <4603009@qq.com> Date: Fri, 18 Dec 2020 19:32:16 +0800 Subject: [PATCH] Update AutoDialog --- PPOCRLabel/libs/autoDialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PPOCRLabel/libs/autoDialog.py b/PPOCRLabel/libs/autoDialog.py index 87df9117..09fbeb56 100644 --- a/PPOCRLabel/libs/autoDialog.py +++ b/PPOCRLabel/libs/autoDialog.py @@ -46,7 +46,8 @@ class Worker(QThread): chars = res[1][0] cond = res[1][1] posi = res[0] - strs += "Transcription: " + chars + " Probability: " + str(cond) + " Location: " + json.dumps(posi) + strs += "Transcription: " + chars + " Probability: " + str(cond) + \ + " Location: " + json.dumps(posi) +'\n' # Sending large amounts of data repeatedly through pyqtSignal may affect the program efficiency self.listValue.emit(strs) self.mainThread.result_dic = self.result_dic