프로젝트

일반

사용자정보

개정판 f6e21bb4

IDf6e21bb4c59708749ae68c50c4eca7b25846ff8a
상위 5b3ff3b6
하위 d8f0e034

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

issue #655: angle missing fixed

차이점 보기:

DTI_PID/DTI_PID/OcrResultDialog.py
141 141
            docData = AppDocData.instance()
142 142
            whiteCharList = docData.getConfigs('Text Recognition', 'White Character List')
143 143
            if len(whiteCharList) is 0:
144
                self.textInfoList = TOCR.getTextInfo(img, (round(self.boundingBox.x()), round(self.boundingBox.y())), language='eng')
144
                self.textInfoList = TOCR.getTextInfo(img, (round(self.boundingBox.x()), round(self.boundingBox.y())), 0, language='eng')
145 145
            else:
146
                self.textInfoList = TOCR.getTextInfo(img, (round(self.boundingBox.x()), round(self.boundingBox.y())), language='eng', conf = whiteCharList[0].value)
146
                self.textInfoList = TOCR.getTextInfo(img, (round(self.boundingBox.x()), round(self.boundingBox.y())), 0, language='eng', conf = whiteCharList[0].value)
147 147

  
148
            #self.textInfoList = TOCR.getTextInfo(img, (int(self.boundingBox.x()), int(self.boundingBox.y())))
149 148
            if self.textInfoList is not None and len(self.textInfoList) > 0:
150 149
                self.ui.detectResultTextEdit.setText(self.getPlainText(self.textInfoList))
151 150
                for textInfo in self.textInfoList:

내보내기 Unified diff

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