프로젝트

일반

사용자정보

개정판 97f1abb2

ID97f1abb2d6e5c5698931d0c3c28e616a90a9e6f5
상위 df0ec478
하위 39e90f36

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

issue #506: merge line

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
746 746
            if isAccept:
747 747
                if textInfoList is not None and len(textInfoList) > 0:
748 748
                    docData = AppDocData.instance()
749
                    configs = docData.getConfigs('Line No', 'Delimiter')
750
                    delimiter = configs[0].value if 1 == len(configs) else '-'
751
                    lineNoconfigs = docData.getConfigs('Line No', 'Configuration')
752 749
                    for textInfo in textInfoList:
753 750
                        x = textInfo.getX()
754 751
                        y = textInfo.getY()
DTI_PID/DTI_PID/OcrResultDialog.py
173 173
                            height = textInfo.getH()
174 174
                            textInfo.setW(height) ## SWAP
175 175
                            textInfo.setH(width) ## SWAP
176
                self.textInfoList = self.textInfoList[:len(splitText)]
176 177
                QDialog.accept(self)
177 178
            else:
178 179
                QMessageBox.about(self.ui.ocrDialogButtonBox, "알림", "텍스트 검출을 하신 후 다시 시도해주세요.")

내보내기 Unified diff

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