def setupUi(self, MainWindow):
    MainWindow.setObjectName('MainWindow')
    MainWindow.resize(632, 318)
    self.centralwidget = QtWidgets.QWidget(MainWindow)
    self.centralwidget.setObjectName('centralwidget')
    self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
    self.verticalLayout_2.setObjectName('verticalLayout_2')
    self.verticalLayout = QtWidgets.QVBoxLayout()
    self.verticalLayout.setObjectName('verticalLayout')
    self.gridLayout = QtWidgets.QGridLayout()
    self.gridLayout.setObjectName('gridLayout')
    self.label = QtWidgets.QLabel(self.centralwidget)
    self.label.setObjectName('label')
    self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
    self.csv_output_button = QtWidgets.QPushButton(self.centralwidget)
    self.csv_output_button.setObjectName('csv_output_button')
    self.gridLayout.addWidget(self.csv_output_button, 1, 4, 1, 1)
    self.label_2 = QtWidgets.QLabel(self.centralwidget)
    self.label_2.setObjectName('label_2')
    self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
    self.csv_output_line_edit = QtWidgets.QLineEdit(self.centralwidget)
    self.csv_output_line_edit.setStyleSheet('output_line_edit.setStyleSheet("QLineEdit { border-radius: 5px; }")')
    self.csv_output_line_edit.setObjectName('csv_output_line_edit')
    self.gridLayout.addWidget(self.csv_output_line_edit, 1, 1, 1, 3)
    self.input_button = QtWidgets.QPushButton(self.centralwidget)
    self.input_button.setObjectName('input_button')
    self.gridLayout.addWidget(self.input_button, 0, 4, 1, 1)
    self.video_line_edit = QtWidgets.QLineEdit(self.centralwidget)
    self.video_line_edit.setStyleSheet('video_line_edit.setStyleSheet("QLineEdit {  border: 2px solid gray; border-radius: 5px;}")')
    self.video_line_edit.setObjectName('video_line_edit')
    self.gridLayout.addWidget(self.video_line_edit, 0, 1, 1, 3)
    self.gridLayout.setColumnStretch(1, 7)
    self.gridLayout.setColumnStretch(2, 1)
    self.gridLayout.setColumnStretch(3, 1)
    self.gridLayout.setColumnStretch(4, 1)
    self.verticalLayout.addLayout(self.gridLayout)
    self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
    self.horizontalLayout_2.setContentsMargins((- 1), 0, (- 1), 0)
    self.horizontalLayout_2.setObjectName('horizontalLayout_2')
    self.label_3 = QtWidgets.QLabel(self.centralwidget)
    self.label_3.setObjectName('label_3')
    self.horizontalLayout_2.addWidget(self.label_3)
    self.model_combo_box = QtWidgets.QComboBox(self.centralwidget)
    self.model_combo_box.setEditable(False)
    self.model_combo_box.setObjectName('model_combo_box')
    self.model_combo_box.addItem('')
    self.model_combo_box.addItem('')
    self.model_combo_box.addItem('')
    self.model_combo_box.addItem('')
    self.horizontalLayout_2.addWidget(self.model_combo_box)
    spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
    self.horizontalLayout_2.addItem(spacerItem)
    self.verticalLayout.addLayout(self.horizontalLayout_2)
    self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
    self.horizontalLayout_3.setContentsMargins((- 1), 24, (- 1), (- 1))
    self.horizontalLayout_3.setObjectName('horizontalLayout_3')
    self.save_video_check_box = QtWidgets.QCheckBox(self.centralwidget)
    self.save_video_check_box.setChecked(True)
    self.save_video_check_box.setObjectName('save_video_check_box')
    self.horizontalLayout_3.addWidget(self.save_video_check_box)
    self.dark_bg_check_box = QtWidgets.QCheckBox(self.centralwidget)
    self.dark_bg_check_box.setObjectName('dark_bg_check_box')
    self.horizontalLayout_3.addWidget(self.dark_bg_check_box)
    self.verticalLayout.addLayout(self.horizontalLayout_3)
    self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
    self.horizontalLayout_4.setContentsMargins((- 1), (- 1), (- 1), 36)
    self.horizontalLayout_4.setObjectName('horizontalLayout_4')
    self.label_4 = QtWidgets.QLabel(self.centralwidget)
    self.label_4.setObjectName('label_4')
    self.horizontalLayout_4.addWidget(self.label_4)
    self.video_output_line_edit = QtWidgets.QLineEdit(self.centralwidget)
    self.video_output_line_edit.setObjectName('video_output_line_edit')
    self.horizontalLayout_4.addWidget(self.video_output_line_edit)
    self.video_output_button = QtWidgets.QPushButton(self.centralwidget)
    self.video_output_button.setObjectName('video_output_button')
    self.horizontalLayout_4.addWidget(self.video_output_button)
    self.verticalLayout.addLayout(self.horizontalLayout_4)
    self.progress_bar = QtWidgets.QProgressBar(self.centralwidget)
    self.progress_bar.setProperty('value', 0)
    self.progress_bar.setTextVisible(False)
    self.progress_bar.setObjectName('progress_bar')
    self.verticalLayout.addWidget(self.progress_bar)
    self.horizontalLayout = QtWidgets.QHBoxLayout()
    self.horizontalLayout.setContentsMargins((- 1), 24, (- 1), (- 1))
    self.horizontalLayout.setObjectName('horizontalLayout')
    spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
    self.horizontalLayout.addItem(spacerItem1)
    self.cancel_button = QtWidgets.QPushButton(self.centralwidget)
    self.cancel_button.setEnabled(False)
    self.cancel_button.setCheckable(True)
    self.cancel_button.setChecked(False)
    self.cancel_button.setObjectName('cancel_button')
    self.horizontalLayout.addWidget(self.cancel_button)
    self.ok_button = QtWidgets.QPushButton(self.centralwidget)
    self.ok_button.setObjectName('ok_button')
    self.horizontalLayout.addWidget(self.ok_button)
    spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
    self.horizontalLayout.addItem(spacerItem2)
    self.verticalLayout.addLayout(self.horizontalLayout)
    self.verticalLayout.setStretch(0, 1)
    self.verticalLayout_2.addLayout(self.verticalLayout)
    MainWindow.setCentralWidget(self.centralwidget)
    self.menubar = QtWidgets.QMenuBar(MainWindow)
    self.menubar.setGeometry(QtCore.QRect(0, 0, 632, 21))
    self.menubar.setObjectName('menubar')
    MainWindow.setMenuBar(self.menubar)
    self.retranslateUi(MainWindow)
    QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow):
    MainWindow.setObjectName('MainWindow')
    MainWindow.resize(632, 318)
    self.centralwidget = QtWidgets.QWidget(MainWindow)
    self.centralwidget.setObjectName('centralwidget')
    self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
    self.verticalLayout_2.setObjectName('verticalLayout_2')
    self.verticalLayout = QtWidgets.QVBoxLayout()
    self.verticalLayout.setObjectName('verticalLayout')
    self.gridLayout = QtWidgets.QGridLayout()
    self.gridLayout.setObjectName('gridLayout')
    self.label = QtWidgets.QLabel(self.centralwidget)
    self.label.setObjectName('label')
    self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
    self.csv_output_button = QtWidgets.QPushButton(self.centralwidget)
    self.csv_output_button.setObjectName('csv_output_button')
    self.gridLayout.addWidget(self.csv_output_button, 1, 4, 1, 1)
    self.label_2 = QtWidgets.QLabel(self.centralwidget)
    self.label_2.setObjectName('label_2')
    self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
    self.csv_output_line_edit = QtWidgets.QLineEdit(self.centralwidget)
    self.csv_output_line_edit.setStyleSheet('output_line_edit.setStyleSheet("QLineEdit { border-radius: 5px; }")')
    self.csv_output_line_edit.setObjectName('csv_output_line_edit')
    self.gridLayout.addWidget(self.csv_output_line_edit, 1, 1, 1, 3)
    self.input_button = QtWidgets.QPushButton(self.centralwidget)
    self.input_button.setObjectName('input_button')
    self.gridLayout.addWidget(self.input_button, 0, 4, 1, 1)
    self.video_line_edit = QtWidgets.QLineEdit(self.centralwidget)
    self.video_line_edit.setStyleSheet('video_line_edit.setStyleSheet("QLineEdit {  border: 2px solid gray; border-radius: 5px;}")')
    self.video_line_edit.setObjectName('video_line_edit')
    self.gridLayout.addWidget(self.video_line_edit, 0, 1, 1, 3)
    self.gridLayout.setColumnStretch(1, 7)
    self.gridLayout.setColumnStretch(2, 1)
    self.gridLayout.setColumnStretch(3, 1)
    self.gridLayout.setColumnStretch(4, 1)
    self.verticalLayout.addLayout(self.gridLayout)
    self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
    self.horizontalLayout_2.setContentsMargins((- 1), 0, (- 1), 0)
    self.horizontalLayout_2.setObjectName('horizontalLayout_2')
    self.label_3 = QtWidgets.QLabel(self.centralwidget)
    self.label_3.setObjectName('label_3')
    self.horizontalLayout_2.addWidget(self.label_3)
    self.model_combo_box = QtWidgets.QComboBox(self.centralwidget)
    self.model_combo_box.setEditable(False)
    self.model_combo_box.setObjectName('model_combo_box')
    self.model_combo_box.addItem()
    self.model_combo_box.addItem()
    self.model_combo_box.addItem()
    self.model_combo_box.addItem()
    self.horizontalLayout_2.addWidget(self.model_combo_box)
    spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
    self.horizontalLayout_2.addItem(spacerItem)
    self.verticalLayout.addLayout(self.horizontalLayout_2)
    self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
    self.horizontalLayout_3.setContentsMargins((- 1), 24, (- 1), (- 1))
    self.horizontalLayout_3.setObjectName('horizontalLayout_3')
    self.save_video_check_box = QtWidgets.QCheckBox(self.centralwidget)
    self.save_video_check_box.setChecked(True)
    self.save_video_check_box.setObjectName('save_video_check_box')
    self.horizontalLayout_3.addWidget(self.save_video_check_box)
    self.dark_bg_check_box = QtWidgets.QCheckBox(self.centralwidget)
    self.dark_bg_check_box.setObjectName('dark_bg_check_box')
    self.horizontalLayout_3.addWidget(self.dark_bg_check_box)
    self.verticalLayout.addLayout(self.horizontalLayout_3)
    self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
    self.horizontalLayout_4.setContentsMargins((- 1), (- 1), (- 1), 36)
    self.horizontalLayout_4.setObjectName('horizontalLayout_4')
    self.label_4 = QtWidgets.QLabel(self.centralwidget)
    self.label_4.setObjectName('label_4')
    self.horizontalLayout_4.addWidget(self.label_4)
    self.video_output_line_edit = QtWidgets.QLineEdit(self.centralwidget)
    self.video_output_line_edit.setObjectName('video_output_line_edit')
    self.horizontalLayout_4.addWidget(self.video_output_line_edit)
    self.video_output_button = QtWidgets.QPushButton(self.centralwidget)
    self.video_output_button.setObjectName('video_output_button')
    self.horizontalLayout_4.addWidget(self.video_output_button)
    self.verticalLayout.addLayout(self.horizontalLayout_4)
    self.progress_bar = QtWidgets.QProgressBar(self.centralwidget)
    self.progress_bar.setProperty('value', 0)
    self.progress_bar.setTextVisible(False)
    self.progress_bar.setObjectName('progress_bar')
    self.verticalLayout.addWidget(self.progress_bar)
    self.horizontalLayout = QtWidgets.QHBoxLayout()
    self.horizontalLayout.setContentsMargins((- 1), 24, (- 1), (- 1))
    self.horizontalLayout.setObjectName('horizontalLayout')
    spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
    self.horizontalLayout.addItem(spacerItem1)
    self.cancel_button = QtWidgets.QPushButton(self.centralwidget)
    self.cancel_button.setEnabled(False)
    self.cancel_button.setCheckable(True)
    self.cancel_button.setChecked(False)
    self.cancel_button.setObjectName('cancel_button')
    self.horizontalLayout.addWidget(self.cancel_button)
    self.ok_button = QtWidgets.QPushButton(self.centralwidget)
    self.ok_button.setObjectName('ok_button')
    self.horizontalLayout.addWidget(self.ok_button)
    spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
    self.horizontalLayout.addItem(spacerItem2)
    self.verticalLayout.addLayout(self.horizontalLayout)
    self.verticalLayout.setStretch(0, 1)
    self.verticalLayout_2.addLayout(self.verticalLayout)
    MainWindow.setCentralWidget(self.centralwidget)
    self.menubar = QtWidgets.QMenuBar(MainWindow)
    self.menubar.setGeometry(QtCore.QRect(0, 0, 632, 21))
    self.menubar.setObjectName('menubar')
    MainWindow.setMenuBar(self.menubar)
    self.retranslateUi(MainWindow)
    QtCore.QMetaObject.connectSlotsByName(MainWindow)