forked from PulseFocusPlatform/PulseFocusPlatform
Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
p57492168 | 5ad81057b4 | |
p57492168 | 27ca3d3ccf | |
p57492168 | 5ecbf2e0b6 | |
p57492168 | badea2b175 | |
p57492168 | 8d2135b8e4 | |
p57492168 | fff1e9e45d | |
p57492168 | 58de17c69d |
|
@ -13,7 +13,7 @@ Pulse Focus Platform脉冲聚焦是面向水底物体图像识别的实时检测
|
|||
```bash
|
||||
conda env create -f create_env.yaml
|
||||
```
|
||||
该命令会创建一个名为`Focus`的conda虚拟环境,用`conda activate Focus`即可激活该虚拟环境。
|
||||
该命令会根据create_env.yaml配置文件中的内容创建一个名为`Focus`的conda虚拟环境,用`conda activate Focus`即可激活该虚拟环境。
|
||||
|
||||
|
||||
## 2. 软件运行
|
||||
|
@ -31,7 +31,7 @@ python main.py
|
|||
|
||||
2. 模型文件连接
|
||||
|
||||
由于软件包含已训练好的三个模型,模型参数较大,放在百度网盘自行下载,并放在根目录。
|
||||
由于软件包含已训练好的三个模型,模型参数较大,放在百度网盘自行下载,并放在根目录中。
|
||||
|
||||
链接:https://pan.baidu.com/s/1Wf4gjmccgqQYeknm9pX2jQ
|
||||
|
||||
|
|
19
SSS_win.py
19
SSS_win.py
|
@ -2,10 +2,9 @@
|
|||
|
||||
# Form implementation generated from reading ui file 'SSS_win.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
# Created by: PyQt5 UI code generator 5.12.3
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
@ -92,6 +91,9 @@ class Ui_MainWindow(object):
|
|||
self.pushButton_rjwendang = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton_rjwendang.setObjectName("pushButton_rjwendang")
|
||||
self.verticalLayout_3.addWidget(self.pushButton_rjwendang)
|
||||
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton.setObjectName("pushButton")
|
||||
self.verticalLayout_3.addWidget(self.pushButton)
|
||||
self.pushButton_tuichu = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton_tuichu.setObjectName("pushButton_tuichu")
|
||||
self.verticalLayout_3.addWidget(self.pushButton_tuichu)
|
||||
|
@ -147,13 +149,13 @@ class Ui_MainWindow(object):
|
|||
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.connect(MainWindow.moxingxuanze)
|
||||
self.comboBox_GPU.activated.connect(MainWindow.gpu_use)
|
||||
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.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
||||
self.tupiandiaoru.setText(_translate("MainWindow", "静态图像导入"))
|
||||
self.shipindaoru.setText(_translate("MainWindow", "动态图像导入"))
|
||||
self.pushButton_xxdaochu.setText(_translate("MainWindow", "信息导出"))
|
||||
|
@ -162,7 +164,7 @@ class Ui_MainWindow(object):
|
|||
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.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"))
|
||||
|
@ -172,10 +174,11 @@ class Ui_MainWindow(object):
|
|||
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.shibie.setText(_translate("MainWindow", "识别"))
|
||||
self.xunlian.setText(_translate("MainWindow", "训练"))
|
||||
self.pushButton_jswendang.setText(_translate("MainWindow", "技术文档"))
|
||||
self.pushButton_rjwendang.setText(_translate("MainWindow", "软件说明文档"))
|
||||
self.pushButton.setText(_translate("MainWindow", "关于我们"))
|
||||
self.pushButton_tuichu.setText(_translate("MainWindow", "退出"))
|
||||
self.label_mb1.setText(_translate("MainWindow", "flv"))
|
||||
self.flv.setText(_translate("MainWindow", "0"))
|
||||
|
|
|
@ -189,6 +189,13 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="text">
|
||||
<string>关于我们</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_tuichu">
|
||||
<property name="text">
|
||||
|
|
Loading…
Reference in New Issue