개정판 94c4cd85
issue #478:
- connect text's onRemoved signal for other text
DTI_PID/DTI_PID/TextDetector.py | ||
---|---|---|
209 | 209 |
y = tInfo.getY() - round(offset[1]) |
210 | 210 |
img = imgOCR[y:y+tInfo.getH(), x:x+tInfo.getW()] |
211 | 211 | |
212 |
cv2.imwrite('c:\\temp\\ocr.png', img) |
|
212 |
#cv2.imwrite('c:\\temp\\ocr.png', img)
|
|
213 | 213 | |
214 | 214 |
# set angle 0 if symbol contains the text area is instrumentation |
215 | 215 |
category = None |
내보내기 Unified diff