개정판 14dc9dfe
chinese
Change-Id: I06181483cc8fc24efc10e5b065437a33a8ac7ef0
DTI_PID/DTI_PID/OcrResultDialog.py | ||
---|---|---|
232 | 232 |
if self._format == QOcrResultDialog.Format.Normal: |
233 | 233 |
self.textInfoList = TOCR.getTextInfo(self.img_ocr, (0, 0), 0, language=ocr_data, |
234 | 234 |
conf=white_char_list[0].value if white_char_list else '') |
235 |
#self.textInfoList = TOCR.getTextInfo(self.img_ocr, (0, 0), 0, language='eng+chi_tra', conf='') # for chinese test |
|
235 | 236 |
|
236 | 237 |
if self.textInfoList: |
237 | 238 |
#self.textInfoList = sorted(self.textInfoList, key=lambda param: param.getY()) |
내보내기 Unified diff