프로젝트

일반

사용자정보

개정판 b39d7e4e

IDb39d7e4e944f81839cf0791deff7d469364433fb
상위 f8f80cba
하위 94ac8af8

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

issue #1366: label

Change-Id: I84bbaa3908596bd3b095c5e01cac8383e9b01f2d

차이점 보기:

DTI_PID/DTI_PID/Shapes/TrainingBoxItem.py
91 91
            self.view.scene().addItem(self)
92 92

  
93 93
            self.textShowBox = QGraphicsTextItem(self.char)
94
            self.textShowBox.setFont(QFont('Consolas', 9, QFont.Bold))
94
            self.textShowBox.setFont(QFont('Consolas', 15, QFont.Bold))
95 95
            self.textShowBox.setDefaultTextColor(Qt.green)
96 96
            #self.textShowBox.setPos(self.rect().x() + round(self.rect().width() / 3), self.rect().y() - round(self.rect().height() / 2))
97 97
            self.setPosCustom()
DTI_PID/DTI_PID/TrainingSymbolImageListDialog.py
476 476
                else:
477 477
                    for cnt in contours:
478 478
                        x, y, w, h = cv2.boundingRect(cnt)
479
                        if not (w < 30 or h < 30):
479
                        if not (w < 25 or h < 25):
480 480
                            boundarySymbolData.append([x, y, w, h])
481 481
        except Exception as ex:
482 482
            from App import App
DTI_PID/DTI_PID/TrainingSymbolImageList_UI.py
52 52
        self.label.setObjectName("label")
53 53
        self.horizontalLayout_3.addWidget(self.label)
54 54
        self.spinBox = QtWidgets.QSpinBox(TraingingSymbolImageListDialog)
55
        self.spinBox.setEnabled(False)
55 56
        self.spinBox.setMaximum(2048)
56
        self.spinBox.setProperty("value", 448)
57
        self.spinBox.setProperty("value", 500)
57 58
        self.spinBox.setObjectName("spinBox")
58 59
        self.horizontalLayout_3.addWidget(self.spinBox)
59 60
        self.label_2 = QtWidgets.QLabel(TraingingSymbolImageListDialog)
60 61
        self.label_2.setObjectName("label_2")
61 62
        self.horizontalLayout_3.addWidget(self.label_2)
62 63
        self.spinBox_2 = QtWidgets.QSpinBox(TraingingSymbolImageListDialog)
64
        self.spinBox_2.setEnabled(False)
63 65
        self.spinBox_2.setMaximum(2024)
64
        self.spinBox_2.setProperty("value", 448)
66
        self.spinBox_2.setProperty("value", 850)
65 67
        self.spinBox_2.setObjectName("spinBox_2")
66 68
        self.horizontalLayout_3.addWidget(self.spinBox_2)
67 69
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)

내보내기 Unified diff

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