개정판 b49856dc
build issue #655: split
DTI_PID/DTI_PID/TrainingImageListDialog.py | ||
---|---|---|
274 | 274 |
# 실제 적용 데이터 생성 3단계진행 |
275 | 275 |
#trainCmd = tesseract_cmd + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train' + ' >> output.log' |
276 | 276 |
#trainCmd = '\"' + tesseract_cmd + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train &timeout 15' + '\"' |
277 |
trainCmd = '\"' + tesseract_cmd + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train' + '\"' |
|
277 |
#trainCmd = '\"' + tesseract_cmd + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train' + '\"' |
|
278 |
trainCmd = '\"' + tesseract_cmd + '\"' + ' ' + trainingImgPath + ' ' + trainingBoxPath.replace('.box', '') + ' nobatch box.train' |
|
278 | 279 |
#subprocess.call(trainCmd, shell = True) |
279 | 280 |
|
280 | 281 |
#unicharsetExtractorCmd = unicharset_extractor_cmd + ' ' + trainingBoxPath + " >> output.log" |
281 |
unicharsetExtractorCmd = '\"' + unicharset_extractor_cmd + ' ' + trainingBoxPath + '\"'
|
|
282 |
unicharsetExtractorCmd = '\"' + unicharset_extractor_cmd + '\"' + ' ' + trainingBoxPath + " >> output.log"
|
|
282 | 283 |
#subprocess.call(unicharsetExtractorCmd, shell = True) |
283 | 284 |
QMessageBox.question(self, 'tesseract', trainCmd, QMessageBox.Yes, QMessageBox.Cancel) |
284 | 285 |
|
내보내기 Unified diff