forked from p71924506/PulseFocusPlatform
188 lines
11 KiB
Python
188 lines
11 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'SSS_win.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.4
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
# run again. Do not edit this file
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
MainWindow.setObjectName("MainWindow")
|
|
MainWindow.resize(1353, 1007)
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.centralwidget)
|
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
|
self.verticalLayout = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
self.tupiandiaoru = QtWidgets.QPushButton(self.centralwidget)
|
|
self.tupiandiaoru.setObjectName("tupiandiaoru")
|
|
self.verticalLayout_2.addWidget(self.tupiandiaoru)
|
|
self.shipindaoru = QtWidgets.QPushButton(self.centralwidget)
|
|
self.shipindaoru.setObjectName("shipindaoru")
|
|
self.verticalLayout_2.addWidget(self.shipindaoru)
|
|
self.pushButton_xxdaochu = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton_xxdaochu.setObjectName("pushButton_xxdaochu")
|
|
self.verticalLayout_2.addWidget(self.pushButton_xxdaochu)
|
|
self.horizontalLayout.addLayout(self.verticalLayout_2)
|
|
self.formLayout = QtWidgets.QFormLayout()
|
|
self.formLayout.setObjectName("formLayout")
|
|
self.comboBox_tzxuanze = QtWidgets.QComboBox(self.centralwidget)
|
|
self.comboBox_tzxuanze.setEditable(True)
|
|
self.comboBox_tzxuanze.setObjectName("comboBox_tzxuanze")
|
|
self.comboBox_tzxuanze.addItem("")
|
|
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBox_tzxuanze)
|
|
self.label_2 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_2.setObjectName("label_2")
|
|
self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2)
|
|
self.comboBox_yclfangfa = QtWidgets.QComboBox(self.centralwidget)
|
|
self.comboBox_yclfangfa.setEditable(True)
|
|
self.comboBox_yclfangfa.setObjectName("comboBox_yclfangfa")
|
|
self.comboBox_yclfangfa.addItem("")
|
|
self.comboBox_yclfangfa.addItem("")
|
|
self.comboBox_yclfangfa.addItem("")
|
|
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.comboBox_yclfangfa)
|
|
self.label_3 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_3.setObjectName("label_3")
|
|
self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3)
|
|
self.comboBox_sbsuanfa = QtWidgets.QComboBox(self.centralwidget)
|
|
self.comboBox_sbsuanfa.setEditable(True)
|
|
self.comboBox_sbsuanfa.setObjectName("comboBox_sbsuanfa")
|
|
self.comboBox_sbsuanfa.addItem("")
|
|
self.comboBox_sbsuanfa.addItem("")
|
|
self.comboBox_sbsuanfa.addItem("")
|
|
self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.comboBox_sbsuanfa)
|
|
self.label_4 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_4.setObjectName("label_4")
|
|
self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4)
|
|
self.comboBox_GPU = QtWidgets.QComboBox(self.centralwidget)
|
|
self.comboBox_GPU.setEditable(True)
|
|
self.comboBox_GPU.setObjectName("comboBox_GPU")
|
|
self.comboBox_GPU.addItem("")
|
|
self.comboBox_GPU.addItem("")
|
|
self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.comboBox_GPU)
|
|
self.label = QtWidgets.QLabel(self.centralwidget)
|
|
self.label.setObjectName("label")
|
|
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label)
|
|
self.horizontalLayout.addLayout(self.formLayout)
|
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
|
self.shibie = QtWidgets.QPushButton(self.centralwidget)
|
|
self.shibie.setObjectName("shibie")
|
|
self.verticalLayout_4.addWidget(self.shibie)
|
|
self.xunlian = QtWidgets.QPushButton(self.centralwidget)
|
|
self.xunlian.setObjectName("xunlian")
|
|
self.verticalLayout_4.addWidget(self.xunlian)
|
|
self.horizontalLayout.addLayout(self.verticalLayout_4)
|
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
self.pushButton_jswendang = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton_jswendang.setObjectName("pushButton_jswendang")
|
|
self.verticalLayout_3.addWidget(self.pushButton_jswendang)
|
|
self.pushButton_rjwendang = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton_rjwendang.setObjectName("pushButton_rjwendang")
|
|
self.verticalLayout_3.addWidget(self.pushButton_rjwendang)
|
|
self.pushButton_tuichu = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton_tuichu.setObjectName("pushButton_tuichu")
|
|
self.verticalLayout_3.addWidget(self.pushButton_tuichu)
|
|
self.horizontalLayout.addLayout(self.verticalLayout_3)
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
self.label_movie = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_movie.setMinimumSize(QtCore.QSize(1200, 800))
|
|
self.label_movie.setText("")
|
|
self.label_movie.setObjectName("label_movie")
|
|
self.horizontalLayout_2.addWidget(self.label_movie)
|
|
self.formLayout_2 = QtWidgets.QFormLayout()
|
|
self.formLayout_2.setObjectName("formLayout_2")
|
|
self.label_mb1 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_mb1.setObjectName("label_mb1")
|
|
self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_mb1)
|
|
self.flv = QtWidgets.QLabel(self.centralwidget)
|
|
self.flv.setObjectName("flv")
|
|
self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.flv)
|
|
self.label_mb2 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_mb2.setObjectName("label_mb2")
|
|
self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_mb2)
|
|
self.gx = QtWidgets.QLabel(self.centralwidget)
|
|
self.gx.setObjectName("gx")
|
|
self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.gx)
|
|
self.label_mb3 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_mb3.setObjectName("label_mb3")
|
|
self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_mb3)
|
|
self.mbw = QtWidgets.QLabel(self.centralwidget)
|
|
self.mbw.setObjectName("mbw")
|
|
self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.mbw)
|
|
self.label_5 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_5.setObjectName("label_5")
|
|
self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_5)
|
|
self.label_object = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_object.setObjectName("label_object")
|
|
self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.label_object)
|
|
self.horizontalLayout_2.addLayout(self.formLayout_2)
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
self.label_10 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_10.setObjectName("label_10")
|
|
self.verticalLayout.addWidget(self.label_10)
|
|
self.verticalLayout_5.addLayout(self.verticalLayout)
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
self.statusbar.setObjectName("statusbar")
|
|
MainWindow.setStatusBar(self.statusbar)
|
|
|
|
self.retranslateUi(MainWindow)
|
|
self.tupiandiaoru.clicked.connect(MainWindow.import_pic)
|
|
self.shibie.clicked.connect(MainWindow.press_shibie)
|
|
self.xunlian.clicked.connect(MainWindow.press_xunlian)
|
|
self.pushButton_tuichu.clicked.connect(MainWindow.exit)
|
|
self.shipindaoru.clicked.connect(MainWindow.press_movie)
|
|
self.comboBox_sbsuanfa.activated['QString'].connect(MainWindow.moxingxuanze)
|
|
self.comboBox_GPU.activated['QString'].connect(MainWindow.gpu_use)
|
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
|
self.tupiandiaoru.setText(_translate("MainWindow", "静态图像导入"))
|
|
self.shipindaoru.setText(_translate("MainWindow", "动态图像导入"))
|
|
self.pushButton_xxdaochu.setText(_translate("MainWindow", "信息导出"))
|
|
self.comboBox_tzxuanze.setItemText(0, _translate("MainWindow", "无"))
|
|
self.label_2.setText(_translate("MainWindow", "预处理方法"))
|
|
self.comboBox_yclfangfa.setItemText(0, _translate("MainWindow", "多尺度融合"))
|
|
self.comboBox_yclfangfa.setItemText(1, _translate("MainWindow", "图像增广"))
|
|
self.comboBox_yclfangfa.setItemText(2, _translate("MainWindow", "图像重塑"))
|
|
self.label_3.setText(_translate("MainWindow", "识别算法"))
|
|
self.comboBox_sbsuanfa.setCurrentText(_translate("MainWindow", "PPYOLO-BOT"))
|
|
self.comboBox_sbsuanfa.setItemText(0, _translate("MainWindow", "PPYOLO-BOT"))
|
|
self.comboBox_sbsuanfa.setItemText(1, _translate("MainWindow", "YOLOV3"))
|
|
self.comboBox_sbsuanfa.setItemText(2, _translate("MainWindow", "RCNN"))
|
|
self.label_4.setText(_translate("MainWindow", "GPU加速"))
|
|
self.comboBox_GPU.setCurrentText(_translate("MainWindow", "YES"))
|
|
self.comboBox_GPU.setItemText(0, _translate("MainWindow", "YES"))
|
|
self.comboBox_GPU.setItemText(1, _translate("MainWindow", "NO"))
|
|
self.label.setText(_translate("MainWindow", "特征选择"))
|
|
self.shibie.setText(_translate("MainWindow", "识别"))
|
|
self.xunlian.setText(_translate("MainWindow", "训练"))
|
|
self.pushButton_jswendang.setText(_translate("MainWindow", "技术文档"))
|
|
self.pushButton_rjwendang.setText(_translate("MainWindow", "软件说明文档"))
|
|
self.pushButton_tuichu.setText(_translate("MainWindow", "退出"))
|
|
self.label_mb1.setText(_translate("MainWindow", "flv"))
|
|
self.flv.setText(_translate("MainWindow", "0"))
|
|
self.label_mb2.setText(_translate("MainWindow", "gx"))
|
|
self.gx.setText(_translate("MainWindow", "0"))
|
|
self.label_mb3.setText(_translate("MainWindow", "mbw"))
|
|
self.mbw.setText(_translate("MainWindow", "0"))
|
|
self.label_5.setText(_translate("MainWindow", "object"))
|
|
self.label_object.setText(_translate("MainWindow", "0"))
|
|
self.label_10.setText(_translate("MainWindow", "TextLabel"))
|