개정판 ca6ee278
issue #501: add list init
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
232 | 232 |
|
233 | 233 |
appDocData.setImgFilePath(mainRes) |
234 | 234 |
appDocData.imgSrc = None |
235 |
appDocData.activeDrawing = Drawing(appDocData.imgName) |
|
236 |
appDocData.setCurrentPidSource(Image.open(self.path)) |
|
235 | 237 |
|
236 | 238 |
# remove equipment desc. area |
237 | 239 |
configs = appDocData.getConfigs('{} Equipment Desc Area'.format(appDocData.imgName)) |
DTI_PID/DTI_PID/TextDetector.py | ||
---|---|---|
251 | 251 |
from Area import Area |
252 | 252 |
|
253 | 253 |
try: |
254 |
self.otherTextInfoList = [] |
|
255 |
self.titleBlockTextInfoList = [] |
|
254 | 256 |
appDocData = AppDocData.instance() |
255 | 257 |
project = appDocData.getCurrentProject() |
256 | 258 |
|
내보내기 Unified diff