diff --git a/PPOCRLabel/libs/autoDialog.py b/PPOCRLabel/libs/autoDialog.py index daefe6e63af2651ff1604c47762b6a6bba4cb001..fe5ec9bcbd71a82d9e4fa5635d1f32e0ddd4b4ca 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 # 保存