개정판 1e6d3d71
issue #663: disable temp image save
Change-Id: I45889cd5d1cc6156d400ec27531096fa082c48a2
DTI_PID/DTI_PID/TextDetector.py | ||
---|---|---|
506 | 506 |
#else: |
507 | 507 |
# cv2.drawContours(ocr_image, [contour], -1, (255, 255, 255), -1) |
508 | 508 |
|
509 |
path = os.path.join(project.getTempPath(), 'OCR_{}.png'.format(app_doc_data.imgName)) |
|
510 |
cv2.imwrite(path, ocr_image)
|
|
509 |
#path = os.path.join(project.getTempPath(), 'OCR_{}.png'.format(app_doc_data.imgName))
|
|
510 |
#cv2.imwrite(path, ocr_image) for debug
|
|
511 | 511 |
|
512 | 512 |
""" |
513 | 513 |
east = False |
내보내기 Unified diff