개정판 093fea9d
issue #663: fix typo
Change-Id: I2f532e50c2562d7cbdab845215910a0dd089e4c3
DTI_PID/DTI_PID/tesseract_ocr_module.py | ||
---|---|---|
219 | 219 |
transform.translate(-imgWidth * 0.5, -imgHeight * 0.5) |
220 | 220 |
text_rect = transform.mapRect(text_rect) |
221 | 221 |
|
222 |
text_info = ti.TextInfo(text_filter(text), startPoint[0] + text_rect.left() - thickness, |
|
222 |
text_info = ti.TextInfo(self.text_filter(text), startPoint[0] + text_rect.left() - thickness,
|
|
223 | 223 |
startPoint[1] + text_rect.top() - thickness, |
224 | 224 |
text_rect.width(), text_rect.height(), angle) |
225 | 225 |
textInfoList.append(text_info) |
내보내기 Unified diff