mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-11-09 22:33:32 +00:00
Update autoDialog
This commit is contained in:
parent
14df1b95af
commit
a633d37d3d
@ -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
|
||||||
# 保存
|
# 保存
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user