개정판 3b93962e
issue #000: not found text deleted
Change-Id: I394c8805cc805d688082a3676ba9f40568ac62dd
DTI_PID/DTI_PID/OcrResultDialog.py | ||
---|---|---|
238 | 238 |
|
239 | 239 |
self.copy_horizontal() |
240 | 240 |
else: |
241 |
self.ui.detectResultTextEdit.setText(self.tr("Not Found"))
|
|
241 |
self.ui.detectResultTextEdit.setText('')
|
|
242 | 242 |
else: |
243 | 243 |
cv_image = cv2.threshold(cv2.cvtColor(self.img_ocr, cv2.COLOR_BGR2GRAY), 200, 255, cv2.THRESH_BINARY)[1] |
244 | 244 |
# contours 추출 |
... | ... | |
271 | 271 |
|
272 | 272 |
self.copy_horizontal() |
273 | 273 |
else: |
274 |
self.ui.detectResultTextEdit.setText(self.tr("Not Found"))
|
|
274 |
self.ui.detectResultTextEdit.setText('')
|
|
275 | 275 |
|
276 | 276 |
except Exception as ex: |
277 | 277 |
from App import App |
내보내기 Unified diff