개정판 36b0d399
test
Change-Id: Ic80d78468413ea9666173d438baaa5a58bd9cedd
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 |
#self.textInfoList = TOCR.getTextInfo(self.img_ocr, (0, 0), 0, language='chi_sim', conf='') # for chinese test
|
|
236 | 236 |
|
237 | 237 |
if self.textInfoList: |
238 | 238 |
#self.textInfoList = sorted(self.textInfoList, key=lambda param: param.getY()) |
내보내기 Unified diff