개정판 ec29eea1
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' |
|
275 |
trainCmd = tesseract_cmd + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train &timeout 15'
|
|
276 | 276 |
strrr = subprocess.call(trainCmd, shell = True) |
277 | 277 |
print(strrr) |
278 | 278 |
|
내보내기 Unified diff