개정판 e2a2841f
임시저장
DTI_PID/DTI_PID/azure_ocr_module.py | ||
---|---|---|
306 | 306 |
for tinfo in textInfoList: |
307 | 307 |
cv2.putText(im, tinfo.getText(), (tinfo.getX(), tinfo.getY()+tinfo.getH()), 2, 1.0, (0, 0, 0)) |
308 | 308 |
cv2.rectangle(im, (tinfo.getX(), tinfo.getY()), (tinfo.getX()+tinfo.getW(), tinfo.getY()+tinfo.getH()), (0, 0, 255), 2) |
309 |
cv2.imwrite(os.path.dirname(os.path.realpath(__file__)) + "/res/Result/Standalone_OCR_Test.png", im) |
|
309 |
cv2.imwrite(os.path.dirname(os.path.realpath(__file__)) + "/res/Result/Standalone_OCR_Test.png", im) |
내보내기 Unified diff