未验证 提交 cf0d24e5 编写于 作者: M MissPenguin 提交者: GitHub

Merge pull request #1434 from Evezerest/dy3

Update autoDialog
...@@ -41,11 +41,14 @@ class Worker(QThread): ...@@ -41,11 +41,14 @@ class Worker(QThread):
print('Can not recognise file is : ', Imgpath) print('Can not recognise file is : ', Imgpath)
pass pass
else: else:
strs = ''
for res in self.result_dic: for res in self.result_dic:
chars = res[1][0] chars = res[1][0]
cond = res[1][1] cond = res[1][1]
posi = res[0] 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.result_dic = self.result_dic
self.mainThread.filePath = Imgpath self.mainThread.filePath = Imgpath
# 保存 # 保存
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册