From a633d37d3d70751d080048fe7d1d2e69f205d9f6 Mon Sep 17 00:00:00 2001
From: Leif <4603009@qq.com>
Date: Tue, 15 Dec 2020 19:37:54 +0800
Subject: [PATCH] Update autoDialog

---
 PPOCRLabel/libs/autoDialog.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/PPOCRLabel/libs/autoDialog.py b/PPOCRLabel/libs/autoDialog.py
index daefe6e6..fe5ec9bc 100644
--- a/PPOCRLabel/libs/autoDialog.py
+++ b/PPOCRLabel/libs/autoDialog.py
@@ -41,11 +41,14 @@ class Worker(QThread):
                         print('Can not recognise file  is :  ', Imgpath)
                         pass
                     else:
+                        strs = ''
                         for res in self.result_dic:
                             chars = res[1][0]
                             cond = res[1][1]
                             posi = res[0]
-                            self.listValue.emit("Transcription: " + chars + " Probability: " + str(cond) + " Location: " + json.dumps(posi))
+                            strs += "Transcription: " + chars + " Probability: " + str(
+                                cond) + " Location: " + json.dumps(posi) + '\n'
+                        self.listValue.emit(strs)
                         self.mainThread.result_dic = self.result_dic
                         self.mainThread.filePath = Imgpath
                         # 保存