Compare commits

...

31 Commits

Author SHA1 Message Date
p02945817 f88a80b448 “修改” 2022-06-24 19:24:04 +08:00
p02945817 554cc83b40 “修改” 2022-06-23 20:16:02 +08:00
p02945817 b24be7713c “修改” 2022-06-23 20:14:56 +08:00
p02945817 b7e9967556 “修改” 2022-06-23 20:13:55 +08:00
p02945817 8caeb6944b “修改” 2022-06-23 20:13:04 +08:00
p02945817 3279cc4c82 “修改” 2022-06-23 20:12:00 +08:00
p02945817 9ca4085c6a “修改” 2022-06-22 19:46:24 +08:00
p02945817 9bf14dae80 “修改” 2022-06-22 19:45:09 +08:00
p02945817 40f2168f6f “修改” 2022-06-22 19:42:57 +08:00
p02945817 a5673f134b “修改” 2022-06-22 19:41:54 +08:00
p02945817 61370c1c72 “修改” 2022-06-22 19:40:08 +08:00
p02945817 3acdb7fcc4 “修改” 2022-06-22 19:39:30 +08:00
p02945817 0868c3ca26 “修改” 2022-06-22 19:38:50 +08:00
p02945817 3e19acf86c “修改” 2022-06-21 19:18:36 +08:00
p02945817 b0bebf0846 “修改” 2022-06-21 19:17:50 +08:00
p02945817 5bcdee1fac “修改” 2022-06-21 19:16:28 +08:00
p02945817 3b4ac9cae1 “修改” 2022-06-21 19:15:50 +08:00
p02945817 ab8ffcf61a “修改” 2022-06-21 19:15:03 +08:00
p02945817 d16b7893a5 “修改” 2022-06-21 19:14:22 +08:00
p02945817 becb5ea553 “修改” 2022-06-20 19:43:52 +08:00
p02945817 2ffcc98ac4 “修改” 2022-06-20 19:41:21 +08:00
p02945817 128444f997 “修改” 2022-06-20 19:40:23 +08:00
p02945817 efc062138b “修改” 2022-06-20 19:39:39 +08:00
p02945817 1735bc6975 “修改” 2022-06-20 19:38:54 +08:00
p02945817 1d613070e3 “修改” 2022-06-20 19:37:23 +08:00
p02945817 7f873243cf “修改” 2022-06-19 21:51:17 +08:00
p02945817 e66910c48b “修改” 2022-06-19 21:50:28 +08:00
p02945817 914394829b “修改” 2022-06-19 21:49:27 +08:00
p02945817 aca022de7a “修改” 2022-06-19 21:47:30 +08:00
p02945817 63b8e759b1 “修改” 2022-06-19 21:46:37 +08:00
p02945817 ccd2951448 “修改” 2022-06-19 21:45:05 +08:00
10 changed files with 50 additions and 19 deletions

3
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 3.7 (Focus)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyDocumentationSettings">
<option name="format" value="GOOGLE" />
<option name="myDocStringFormat" value="Google" />
</component>
</module>

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

4
.idea/misc.xml Normal file
View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (Focus)" project-jdk-type="Python SDK" />
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/PulseFocusPlatform.iml" filepath="$PROJECT_DIR$/.idea/PulseFocusPlatform.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -3,9 +3,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 unless you know what you are doing.
# run again. Do not edit this file
from PyQt5 import QtCore, QtGui, QtWidgets
@ -147,13 +146,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 +161,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,7 +171,7 @@ 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", "软件说明文档"))

Binary file not shown.

View File

@ -75,10 +75,8 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
# print(self.path1+'video_output/'+self.Video_fname.split('/')[-1])
# self.cap = cv2.VideoCapture(
# self.path1+'video_output/'+self.Video_fname.split('/')[-1])
# self.framRate = self.cap.get(cv2.CAP_PROP_FPS)
# self.framRate = self.cap.get(cv2.CAP_PROP_FPS
# th = threading.Thread(target=self.Display)
# th.start()
def Images_Display(self):
img_list=[]
@ -137,7 +135,7 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
# print(xmlFile)
# self.label_movie.setPixmap(QtGui.QPixmap(
# self.video_image_path+'/'+xmlFile))
# time.sleep(0.5)
# time.sleep
def Sorted(self,files):
files=[int(i.split('.')[0]) for i in files]

View File

@ -1,16 +1,12 @@
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# distributed under the License is distributed on an "AS IS" BASIS
# See the License
import os.path as osp
import glob
@ -37,7 +33,6 @@ def package_model_zoo():
valid_cfgs = []
for cfg in cfgs:
# exclude dataset base config
if osp.split(osp.split(cfg)[0])[1] not in ['datasets']:
valid_cfgs.append(cfg)
model_names = [