1 Star 0 Fork 1

刘伟炜/GraspAndDetect

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainwindow.ui 14.28 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1242</width>
<height>885</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1200</width>
<height>800</height>
</size>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<property name="minimumSize">
<size>
<width>1200</width>
<height>800</height>
</size>
</property>
<widget class="QWidget" name="visionShowWidget" native="true">
<property name="geometry">
<rect>
<x>9</x>
<y>9</y>
<width>618</width>
<height>924</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>600</width>
<height>800</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QWidget" name="videoStreamWidget" native="true">
<property name="minimumSize">
<size>
<width>400</width>
<height>400</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="visionControllWidget" native="true">
<property name="minimumSize">
<size>
<width>600</width>
<height>500</height>
</size>
</property>
<widget class="QTextBrowser" name="detectInfoBrowser">
<property name="geometry">
<rect>
<x>30</x>
<y>100</y>
<width>551</width>
<height>301</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;日志信息:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>50</x>
<y>20</y>
<width>254</width>
<height>48</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QPushButton" name="openCameraButton">
<property name="text">
<string>打开摄像头</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="pushButton_4">
<property name="text">
<string>权重载入</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pushButton_5">
<property name="text">
<string>相机标定</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pushButton_3">
<property name="text">
<string>读取视频文件</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="pushButton_2">
<property name="text">
<string>选取学习样本</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="pushButton_6">
<property name="text">
<string>手动标定</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="startDetectButton">
<property name="geometry">
<rect>
<x>420</x>
<y>20</y>
<width>61</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>实时检测</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="upComputerWidget" native="true">
<property name="geometry">
<rect>
<x>633</x>
<y>9</y>
<width>600</width>
<height>824</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>600</width>
<height>800</height>
</size>
</property>
<widget class="QWidget" name="serialwidget" native="true">
<property name="geometry">
<rect>
<x>40</x>
<y>590</y>
<width>181</width>
<height>141</height>
</rect>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>151</width>
<height>111</height>
</rect>
</property>
<layout class="QVBoxLayout" name="serialModule">
<item>
<layout class="QHBoxLayout" name="com">
<item>
<widget class="QLabel" name="comLabel">
<property name="text">
<string>COM:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comComboBox"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="baudRateModule">
<item>
<widget class="QLabel" name="baudRateLabel">
<property name="text">
<string>波特率:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="baudRateComboBox"/>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="serialConnectButton">
<property name="text">
<string>连接</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QTableWidget" name="tableWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>601</width>
<height>261</height>
</rect>
</property>
<column>
<property name="text">
<string>目标编号</string>
</property>
</column>
<column>
<property name="text">
<string>目标类别</string>
</property>
</column>
<column>
<property name="text">
<string>目标标签</string>
</property>
</column>
<column>
<property name="text">
<string>相机坐标</string>
</property>
</column>
<column>
<property name="text">
<string>笛卡尔坐标</string>
</property>
</column>
</widget>
<widget class="QWidget" name="inputControll" native="true">
<property name="geometry">
<rect>
<x>40</x>
<y>290</y>
<width>551</width>
<height>191</height>
</rect>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>134</width>
<height>131</height>
</rect>
</property>
<layout class="QGridLayout" name="input">
<item row="0" column="0">
<widget class="QLabel" name="xLabel">
<property name="text">
<string>X:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="xLineEdit"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="yLabel">
<property name="text">
<string>Y:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="yLineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="xLabel_2">
<property name="text">
<string>Z:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="zLineEdit"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>170</x>
<y>70</y>
<width>82</width>
<height>48</height>
</rect>
</property>
<layout class="QVBoxLayout" name="actionButton">
<item>
<widget class="QPushButton" name="moveButton">
<property name="text">
<string>移动</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="graspButton">
<property name="text">
<string>抓取</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>181</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>输入目标笛卡尔坐标执行抓取:</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>300</x>
<y>40</y>
<width>176</width>
<height>80</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>目标编号:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>目标类别:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_2">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>目标标签:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEdit_3">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>340</x>
<y>130</y>
<width>91</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>抓取目标</string>
</property>
</widget>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>340</x>
<y>300</y>
<width>141</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>输入抓取目标的任意信息:</string>
</property>
</widget>
<widget class="QWidget" name="buttonControll" native="true">
<property name="geometry">
<rect>
<x>240</x>
<y>560</y>
<width>331</width>
<height>191</height>
</rect>
</property>
<widget class="QWidget" name="">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QPushButton" name="xPlusButton">
<property name="text">
<string>X+</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="yPlusButton">
<property name="text">
<string>Y+</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="zPlusButton">
<property name="text">
<string>Z+</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="xReduceButton">
<property name="text">
<string>X-</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="yReduceButton">
<property name="text">
<string>Y-</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="zReduceButton">
<property name="text">
<string>Z-</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>41</x>
<y>85</y>
<width>254</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="restButton">
<property name="text">
<string>复位</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="graspClose">
<property name="text">
<string>夹爪闭合</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="graspOpen">
<property name="text">
<string>夹爪松开</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1242</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cuicui_lvv/grasp-and-detect.git
git@gitee.com:cuicui_lvv/grasp-and-detect.git
cuicui_lvv
grasp-and-detect
GraspAndDetect
master

搜索帮助