标签:meta gen map col jpg 部分 def etc 参数
今天主要完成了焊缝识别软件界面的全部书写,完成了软件著作权申请说明书,准备交给学长做进一步的修改提交申请。如果成功的话就是第二个软件著作权了。
因为重新装了系统,所以得重新装虚拟机和hadoop,spark环境,决定明天开始。
部分代码如下:
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file ‘biaoding2.ui‘ # # Created by: PyQt5 UI code generator 5.13.2 # # WARNING! All changes made in this file will be lost! import sys from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtWidgets, QtCore, QtGui from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(825, 600) pix = QPixmap(‘qipan.jpg‘) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.pushButton = QtWidgets.QPushButton(self.centralwidget) self.pushButton.setGeometry(QtCore.QRect(0, 0, 93, 28)) self.pushButton.setObjectName("pushButton") self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_2.setGeometry(QtCore.QRect(90, 0, 93, 28)) self.pushButton_2.setObjectName("pushButton_2") self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_3.setGeometry(QtCore.QRect(180, 0, 93, 28)) self.pushButton_3.setObjectName("pushButton_3") self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_4.setGeometry(QtCore.QRect(270, 0, 93, 28)) self.pushButton_4.setObjectName("pushButton_4") self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_5.setGeometry(QtCore.QRect(360, 0, 93, 28)) self.pushButton_5.setObjectName("pushButton_5") self.pushButton_6 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_6.setGeometry(QtCore.QRect(160, 50, 93, 28)) self.pushButton_6.setObjectName("pushButton_6") self.label = QtWidgets.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(50, 50, 91, 31)) self.label.setObjectName("label") self.label_3 = QtWidgets.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(380, 50, 81, 31)) self.label_3.setObjectName("label_3") self.label_4 = QtWidgets.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(380, 100, 101, 31)) self.label_4.setObjectName("label_4") self.spinBox = QtWidgets.QSpinBox(self.centralwidget) self.spinBox.setGeometry(QtCore.QRect(490, 100, 42, 22)) self.spinBox.setObjectName("spinBox") self.label_5 = QtWidgets.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(541, 94, 31, 31)) self.label_5.setObjectName("label_5") self.label_6 = QtWidgets.QLabel(self.centralwidget) self.label_6.setGeometry(QtCore.QRect(390, 170, 81, 16)) self.label_6.setObjectName("label_6") self.spinBox_2 = QtWidgets.QSpinBox(self.centralwidget) self.spinBox_2.setGeometry(QtCore.QRect(490, 170, 42, 22)) self.spinBox_2.setObjectName("spinBox_2") self.label_7 = QtWidgets.QLabel(self.centralwidget) self.label_7.setGeometry(QtCore.QRect(390, 230, 81, 20)) self.label_7.setObjectName("label_7") self.spinBox_3 = QtWidgets.QSpinBox(self.centralwidget) self.spinBox_3.setGeometry(QtCore.QRect(490, 230, 42, 22)) self.spinBox_3.setObjectName("spinBox_3") self.label_8 = QtWidgets.QLabel(self.centralwidget) self.label_8.setGeometry(QtCore.QRect(390, 280, 81, 20)) self.label_8.setObjectName("label_8") self.spinBox_4 = QtWidgets.QSpinBox(self.centralwidget) self.spinBox_4.setGeometry(QtCore.QRect(490, 280, 42, 22)) self.spinBox_4.setObjectName("spinBox_4") self.label_9 = QtWidgets.QLabel(self.centralwidget) self.label_9.setGeometry(QtCore.QRect(540, 280, 41, 21)) self.label_9.setObjectName("label_9") self.label_10 = QtWidgets.QLabel(self.centralwidget) self.label_10.setGeometry(QtCore.QRect(630, 100, 72, 15)) self.label_10.setObjectName("label_10") self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget) self.textBrowser.setGeometry(QtCore.QRect(570, 120, 191, 61)) self.textBrowser.setObjectName("textBrowser") self.label_2 = QtWidgets.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(50, 100, 320, 400)) self.label_2.setObjectName("label_2") self.label_2.setPixmap(pix) self.label_11 = QtWidgets.QLabel(self.centralwidget) self.label_11.setGeometry(QtCore.QRect(580, 200, 181, 16)) self.label_11.setObjectName("label_11") self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget) self.textBrowser_2.setGeometry(QtCore.QRect(600, 220, 141, 91)) self.textBrowser_2.setObjectName("textBrowser_2") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 825, 26)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) self.pushButton.setText(_translate("MainWindow", "图像采集")) self.pushButton_2.setText(_translate("MainWindow", "相机标定")) self.pushButton_3.setText(_translate("MainWindow", "图像处理")) self.pushButton_4.setText(_translate("MainWindow", "处理结果")) self.pushButton_5.setText(_translate("MainWindow", "数据管理")) self.pushButton_6.setText(_translate("MainWindow", "...")) self.label.setText(_translate("MainWindow", "添加标定图")) self.label_3.setText(_translate("MainWindow", "参数设置:")) self.label_4.setText(_translate("MainWindow", "棋盘单格宽度")) self.label_5.setText(_translate("MainWindow", "mm")) self.label_6.setText(_translate("MainWindow", "横向角点数")) self.label_7.setText(_translate("MainWindow", "纵向角点数")) self.label_8.setText(_translate("MainWindow", "标定图像数")) self.label_9.setText(_translate("MainWindow", "张")) self.label_10.setText(_translate("MainWindow", "相机内参"))
标签:meta gen map col jpg 部分 def etc 参数
原文地址:https://www.cnblogs.com/Aduorisk/p/12252293.html