프로젝트

일반

사용자정보

개정판 b49856dc

IDb49856dc1be3a57bf2c44a116ebe28265b7bd27a
상위 7dfe0c0b
하위 3e35d0f6

함의성이(가) 6년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)