# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindowUi.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

# class Ui_MainWindow(object):
#     def setupUi(self, MainWindow):
#         MainWindow.setObjectName("MainWindow")
#         MainWindow.resize(800, 600)
#         MainWindow.setStyleSheet("background-color: rgb(208, 233, 198);")
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
#         MainWindow.setSizePolicy(sizePolicy)
#         MainWindow.setMaximumSize(QtCore.QSize(10000, 10000))
#         MainWindow.setStyleSheet("")
#         self.centralwidget = QtWidgets.QWidget(MainWindow)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
#         self.centralwidget.setSizePolicy(sizePolicy)
#         self.centralwidget.setStyleSheet("background-color:#d0e9c6;")
#         self.centralwidget.setObjectName("centralwidget")
#         self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.centralwidget)
#         self.horizontalLayout_3.setObjectName("horizontalLayout_3")
#         self.verticalLayout = QtWidgets.QVBoxLayout()
#         self.verticalLayout.setContentsMargins(0, 0, 0, 0)
#         self.verticalLayout.setObjectName("verticalLayout")
#         self.horizontalLayout = QtWidgets.QHBoxLayout()
#         self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
#         self.horizontalLayout.setContentsMargins(5, 12, 0, 13)
#         self.horizontalLayout.setSpacing(6)
#         self.horizontalLayout.setObjectName("horizontalLayout")
#         self.comboBox = QtWidgets.QComboBox(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
#         self.comboBox.setSizePolicy(sizePolicy)
#         self.comboBox.setMinimumSize(QtCore.QSize(0, 0))
#         self.comboBox.setMaximumSize(QtCore.QSize(1000, 1000))
#         self.comboBox.setStyleSheet("background-color: #27ae61;\n"
# "border-radius:6px;\n"
# "border-width:2px;\n"
# "color:#f9f9f9;\n"
# "font:bold 16px;\n"
# "padding:0px 0px 0px 8px;")
#         self.comboBox.setObjectName("comboBox")
#         self.comboBox.addItem("")
#         self.comboBox.addItem("")
#         self.comboBox.addItem("")
#         self.comboBox.addItem("")
#         self.horizontalLayout.addWidget(self.comboBox)
#         self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.checkBox.sizePolicy().hasHeightForWidth())
#         self.checkBox.setSizePolicy(sizePolicy)
#         self.checkBox.setStyleSheet("color:#d9534f;\n"
# "font:bold 14px;")
#         self.checkBox.setObjectName("checkBox")
#         self.horizontalLayout.addWidget(self.checkBox)
#         self.checkBox_2 = QtWidgets.QCheckBox(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.checkBox_2.sizePolicy().hasHeightForWidth())
#         self.checkBox_2.setSizePolicy(sizePolicy)
#         self.checkBox_2.setStyleSheet("color:#d9534f;\n"
# "font:bold 14px;")
#         self.checkBox_2.setObjectName("checkBox_2")
#         self.horizontalLayout.addWidget(self.checkBox_2)
#         self.checkBox_3 = QtWidgets.QCheckBox(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.checkBox_3.sizePolicy().hasHeightForWidth())
#         self.checkBox_3.setSizePolicy(sizePolicy)
#         self.checkBox_3.setStyleSheet("color:#d9534f;\n"
# "font:bold 14px;")
#         self.checkBox_3.setObjectName("checkBox_3")
#         self.horizontalLayout.addWidget(self.checkBox_3)
#         self.checkBox_4 = QtWidgets.QCheckBox(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.checkBox_4.sizePolicy().hasHeightForWidth())
#         self.checkBox_4.setSizePolicy(sizePolicy)
#         self.checkBox_4.setStyleSheet("color:#d9534f;\n"
# "font:bold 14px;")
#         self.checkBox_4.setObjectName("checkBox_4")
#         self.horizontalLayout.addWidget(self.checkBox_4)
#         self.pushButton = QtWidgets.QPushButton(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
#         self.pushButton.setSizePolicy(sizePolicy)
#         self.pushButton.setMinimumSize(QtCore.QSize(0, 38))
#         self.pushButton.setMaximumSize(QtCore.QSize(10000, 16777215))
#         self.pushButton.setStyleSheet("border-radius:6px;\n"
# "border-width:2px;\n"
# "background-color:#27ae61;\n"
# "color:#f9f9f9;\n"
# "font:bold 16px;")
#         self.pushButton.setObjectName("pushButton")
#         self.horizontalLayout.addWidget(self.pushButton)
#         self.verticalLayout.addLayout(self.horizontalLayout)
#         self.line = QtWidgets.QFrame(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.line.sizePolicy().hasHeightForWidth())
#         self.line.setSizePolicy(sizePolicy)
#         self.line.setMinimumSize(QtCore.QSize(0, 10))
#         self.line.setStyleSheet("color:cyan;\n"
# "color: rgb(255, 0, 127);")
#         self.line.setFrameShape(QtWidgets.QFrame.HLine)
#         self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
#         self.line.setObjectName("line")
#         self.verticalLayout.addWidget(self.line)
#         self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
#         self.horizontalLayout_2.setObjectName("horizontalLayout_2")
#         self.image1 = QtWidgets.QLabel(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.image1.sizePolicy().hasHeightForWidth())
#         self.image1.setSizePolicy(sizePolicy)
#         self.image1.setStyleSheet("background-color:#a3b0c9;")
#         self.image1.setObjectName("image1")
#         self.image1.setMinimumHeight(500)
#         self.horizontalLayout_2.addWidget(self.image1)
#         self.image2 = QtWidgets.QLabel(self.centralwidget)
#         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.image2.sizePolicy().hasHeightForWidth())
#         self.image2.setSizePolicy(sizePolicy)
#         self.image2.setStyleSheet("background-color:#a3b0c9;")
#         self.image2.setObjectName("image2")
#         self.image2.setMinimumHeight(500)
#         self.horizontalLayout_2.addWidget(self.image2)
#         self.verticalLayout.addLayout(self.horizontalLayout_2)
#         self.horizontalLayout_3.addLayout(self.verticalLayout)
#         MainWindow.setCentralWidget(self.centralwidget)
#         self.menubar = QtWidgets.QMenuBar(MainWindow)
#         self.menubar.setGeometry(QtCore.QRect(0, 0, 728, 23))
#         self.menubar.setObjectName("menubar")
#         self.menuFile = QtWidgets.QMenu(self.menubar)
#         self.menuFile.setObjectName("menuFile")
#         MainWindow.setMenuBar(self.menubar)
#         self.statusbar = QtWidgets.QStatusBar(MainWindow)
#         self.statusbar.setObjectName("statusbar")
#         MainWindow.setStatusBar(self.statusbar)
#         self.actionOpen_File = QtWidgets.QAction(MainWindow)
#         self.actionOpen_File.setObjectName("actionOpen_File")
#         self.menuFile.addAction(self.actionOpen_File)
#         self.menubar.addAction(self.menuFile.menuAction())
#
#         self.retranslateUi(MainWindow)
#         QtCore.QMetaObject.connectSlotsByName(MainWindow)
#
#     def retranslateUi(self, MainWindow):
#         _translate = QtCore.QCoreApplication.translate
#         MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
#         self.comboBox.setItemText(0, _translate("MainWindow", "YOLO"))
#         self.comboBox.setItemText(1, _translate("MainWindow", "MaskRCNN"))
#         self.comboBox.setItemText(2, _translate("MainWindow", "SSD"))
#         self.comboBox.setItemText(3, _translate("MainWindow", "FasterRCNN"))
#         self.checkBox.setText(_translate("MainWindow", "人"))
#         self.checkBox_2.setText(_translate("MainWindow", "车"))
#         self.checkBox_3.setText(_translate("MainWindow", "猫"))
#         self.checkBox_4.setText(_translate("MainWindow", "狗"))
#         self.pushButton.setText(_translate("MainWindow", "识别"))
#         self.menuFile.setTitle(_translate("MainWindow", "File"))
#         self.actionOpen_File.setText(_translate("MainWindow", "Open File"))
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1374, 854)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMaximumSize(QtCore.QSize(10000, 10000))
        MainWindow.setStyleSheet("")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setStyleSheet("background-color:#d0e9c6;")
        self.centralwidget.setObjectName("centralwidget")
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setGeometry(QtCore.QRect(10, 90, 1351, 16))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.line.sizePolicy().hasHeightForWidth())
        self.line.setSizePolicy(sizePolicy)
        self.line.setMinimumSize(QtCore.QSize(0, 10))
        self.line.setStyleSheet("color:cyan;\n"
"color: rgb(255, 0, 127);")
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.comboBox = QtWidgets.QComboBox(self.centralwidget)
        self.comboBox.setGeometry(QtCore.QRect(50, 30, 131, 31))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setMinimumSize(QtCore.QSize(0, 0))
        self.comboBox.setMaximumSize(QtCore.QSize(1000, 1000))
        self.comboBox.setStyleSheet("background-color: #27ae61;\n"
"border-radius:6px;\n"
"border-width:2px;\n"
"color:#f9f9f9;\n"
"font:bold 16px;\n"
"padding:0px 0px 0px 8px;")
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox.setGeometry(QtCore.QRect(306, 40, 42, 21))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox.sizePolicy().hasHeightForWidth())
        self.checkBox.setSizePolicy(sizePolicy)
        self.checkBox.setStyleSheet("\n"
"font:bold 14px;")
        self.checkBox.setObjectName("checkBox")
        self.checkBox_2 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_2.setGeometry(QtCore.QRect(354, 40, 42, 21))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_2.sizePolicy().hasHeightForWidth())
        self.checkBox_2.setSizePolicy(sizePolicy)
        self.checkBox_2.setStyleSheet("\n"
"font:bold 14px;")
        self.checkBox_2.setObjectName("checkBox_2")
        self.checkBox_3 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_3.setGeometry(QtCore.QRect(402, 40, 42, 21))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_3.sizePolicy().hasHeightForWidth())
        self.checkBox_3.setSizePolicy(sizePolicy)
        self.checkBox_3.setStyleSheet("color:#d9534f;\n"
"font:bold 14px;")
        self.checkBox_3.setObjectName("checkBox_3")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(1140, 30, 91, 38))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
        self.pushButton.setSizePolicy(sizePolicy)
        self.pushButton.setMinimumSize(QtCore.QSize(0, 38))
        self.pushButton.setMaximumSize(QtCore.QSize(10000, 16777215))
        self.pushButton.setStyleSheet("border-radius:6px;\n"
"border-width:2px;\n"
"background-color:#27ae61;\n"
"color:#f9f9f9;\n"
"font:bold 16px;")
        self.pushButton.setObjectName("pushButton")
        self.checkBox_4 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_4.setGeometry(QtCore.QRect(450, 40, 41, 21))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_4.sizePolicy().hasHeightForWidth())
        self.checkBox_4.setSizePolicy(sizePolicy)
        self.checkBox_4.setStyleSheet("color:#d9534f;\n"
"font:bold 14px;")
        self.checkBox_4.setObjectName("checkBox_4")
        self.image1 = QtWidgets.QLabel(self.centralwidget)
        self.image1.setGeometry(QtCore.QRect(20, 120, 660, 671))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.image1.sizePolicy().hasHeightForWidth())
        self.image1.setSizePolicy(sizePolicy)
        self.image1.setStyleSheet("background-color: rgb(170, 170, 255);")
        self.image1.setText("")
        self.image1.setObjectName("image1")
        self.image2 = QtWidgets.QLabel(self.centralwidget)
        self.image2.setGeometry(QtCore.QRect(690, 120, 660, 671))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.image2.sizePolicy().hasHeightForWidth())
        self.image2.setSizePolicy(sizePolicy)
        self.image2.setStyleSheet("background-color: rgb(170, 170, 255);")
        self.image2.setText("")
        self.image2.setObjectName("image2")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1374, 26))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionOpen_File = QtWidgets.QAction(MainWindow)
        self.actionOpen_File.setObjectName("actionOpen_File")
        self.menuFile.addAction(self.actionOpen_File)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.comboBox.setItemText(0, _translate("MainWindow", "YOLO"))
        self.comboBox.setItemText(1, _translate("MainWindow", "MaskRCNN"))
        self.comboBox.setItemText(2, _translate("MainWindow", "SSD"))
        self.comboBox.setItemText(3, _translate("MainWindow", "FasterRCNN"))
        self.checkBox.setText(_translate("MainWindow", "人"))
        self.checkBox_2.setText(_translate("MainWindow", "车"))
        self.checkBox_3.setText(_translate("MainWindow", "狗"))
        self.pushButton.setText(_translate("MainWindow", "识别"))
        self.checkBox_4.setText(_translate("MainWindow", "猫"))
        self.menuFile.setTitle(_translate("MainWindow", "File"))
        self.actionOpen_File.setText(_translate("MainWindow", "Open File"))

