개정판 11a17b8e
build issue #655:
DTI_PID/DTI_PID/TrainingImageListDialog.py | ||
---|---|---|
272 | 272 |
|
273 | 273 |
try: |
274 | 274 |
# 실제 적용 데이터 생성 3단계진행 |
275 |
trainCmd = tesseract_cmd + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train' + " >> output.log" |
|
275 |
trainCmd = tesseract_cmd + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train'# + " >> output.log"
|
|
276 | 276 |
#subprocess.call(trainCmd, shell = True) |
277 | 277 |
|
278 |
unicharsetExtractorCmd = unicharset_extractor_cmd + ' ' + trainingBoxPath + " >> output2.log" |
|
278 |
unicharsetExtractorCmd = unicharset_extractor_cmd + ' ' + trainingBoxPath# + " >> output2.log"
|
|
279 | 279 |
#subprocess.call(unicharsetExtractorCmd, shell = True) |
280 | 280 |
|
281 |
os.system(trainCmd + " & timeout 15") |
|
282 |
os.system(unicharsetExtractorCmd + " & timeout 15") |
|
281 |
#os.system(trainCmd + " & timeout 15")
|
|
282 |
#os.system(unicharsetExtractorCmd + " & timeout 15")
|
|
283 | 283 |
|
284 | 284 |
#setUnicharsetPropertiesCmd = set_unicharset_properties_cmd + |
285 | 285 |
except Exception as ex: |
내보내기 Unified diff