MainWindowClass
0
0
1600
960
VisionGuide
6
6
6
6
6
-
相机预览
-
-
左相机 (GCQ25060290)
-
420
420
background-color: #1a1a2e; color: #aaa; font-size: 14px;
QFrame::Box
左相机未连接
Qt::AlignCenter
-
-
连接左相机
-
false
断开
-
false
开启预览
-
false
冻结
-
color: gray;
● 未连接
-
右相机 (GCQ25060284)
-
420
420
background-color: #1a1a2e; color: #aaa; font-size: 14px;
QFrame::Box
右相机未连接
Qt::AlignCenter
-
-
连接右相机
-
false
断开
-
false
开启预览
-
false
冻结
-
color: gray;
● 未连接
-
图像结果显示
-
860
200
background-color: #0d0d1a; color: #666;
QFrame::Box
图像结果可视化区域(右键可导出图片)
Qt::AlignCenter
-
-
-
4
false
相机参数
-
左右相机联动设置
-
曝光时间 (μs)
-
100
100000
10000
Qt::Horizontal
-
100
100000
10000
-
增益 (dB)
-
0
240
0
Qt::Horizontal
-
0.000000000000000
24.000000000000000
0.100000000000000
0.000000000000000
-
自动白平衡
-
模式:Once(一次自动调整)
-
应用 Once
-
设备带宽
-
启用设备带宽限制模式 (DeviceLinkThroughputLimitMode)
true
-
color: gray; font-size: 11px;
说明: 默认开启可避免多相机争抢带宽导致丢帧
-
false
应用相机参数
-
Qt::Vertical
20
40
光源控制
-
串口设置
-
-
COM1
0
0
100
30
-
19200
-
-
连接光源
-
false
断开光源
-
color: gray;
● 光源未连接
-
左光源 CH1 亮度 (0-255)
-
false
255
100
Qt::Horizontal
-
false
255
100
-
false
设置
-
右光源 CH2 亮度 (0-255)
-
false
255
100
Qt::Horizontal
-
false
255
100
-
false
设置
-
-
联动模式
true
-
false
常亮
-
false
关灯
-
Qt::Vertical
20
40
数据管理
-
相机标定参数
-
-
左相机:
-
未加载
-
导入...
-
-
右相机:
-
未加载
-
导入...
-
-
双目标定:
-
未加载
-
导入...
-
3D形状模板 (.sm3)
-
-
未加载
-
加载模板...
-
color: gray; font-size: 11px;
状态: 未加载
-
坐标系转换
-
-
手眼矩阵:
-
未加载
-
导入...
-
-
抓取点沿工件 +Z 偏移:
-
从零件中心沿工件局部坐标系 +Z 方向移动的距离
mm
3
-1000.000000000000000
1000.000000000000000
0.100000000000000
4.400000000000000
-
-
false
还原零件中心
-
false
QPushButton{background:#0b8f72;color:white;font-weight:bold;border-radius:4px;padding:4px;} QPushButton:hover{background:#10a985;} QPushButton:disabled{background:#555;color:#999;}
实际抓取点
-
false
眼在手上:使用测量时刻的 TCP XYZABC、TCP 到相机矩阵和相机下抓取位姿,计算同一参考坐标系下的抓取位姿
QPushButton{background:#8e44ad;color:white;font-weight:bold;border-radius:4px;padding:4px;} QPushButton:hover{background:#9b59b6;} QPushButton:disabled{background:#555;color:#999;}
转换抓取位姿 XYZABC
-
color: gray; font-size: 11px;
状态: 未转换
-
导出目录
-
true
请选择导出目录...
-
浏览...
-
位姿信息导出
-
-
导出位姿(相机)
-
false
导出位姿(机械臂)
-
color: gray; font-size: 11px;
相机位姿可切换零件中心/实际抓取点;机械臂位姿需先加载手眼矩阵并转换
-
Qt::Vertical
20
40
YOLO 检测
-
YOLO 模型加载
-
模型路径:未加载
-
加载 ONNX 模型
-
color: gray;
● 模型未加载
-
凹槽占位识别(独立 ONNX 模型)
-
-
凹槽模型路径:正在检查 Yolo/groove_best.onnx
-
加载/更换凹槽模型
-
color: gray;
● 凹槽模型未加载
-
-
false
QPushButton {background-color: #722ed1; color: white; font-weight: bold;}
执行凹槽占位识别
-
空凹槽:
-
true
-
已占用:
-
true
-
耗时(ms):
-
true
-
color: #555555;
识别结果:未执行
-
0
6
序号
状态
置信度
中心X(px)
中心Y(px)
检测框(px)
-
检测目标选择
-
检测全部
true
-
仅检测 镀金零件
-
仅检测 非镀金零件
-
自动过滤干扰项
true
-
-
false
在20000~60000微秒曝光范围内按10000微秒步长采集5组双目原图,采集期间请保持料盘静止
QPushButton {background-color: #1677ff; color: white; font-weight: bold;}
双目多曝光采集并保存
-
false
保持左右相机当前曝光参数,各采集并保存1张原图,不进行多重曝光
QPushButton {background-color: #13a8a8; color: white; font-weight: bold;}
双目采集并保存
-
false
QPushButton {background-color: #28a745; color: white; font-weight: bold;}
执行 YOLO 检测
-
清空检测结果
-
检测结果统计
-
镀金零件:
-
true
-
非镀金零件:
-
true
-
检测耗时(ms):
-
true
-
ROI 操作
-
-
false
YOLO自动ROI裁剪
-
false
清除 ROI
-
color: gray; font-size: 11px;
ROI: 未选取
-
Qt::Vertical
20
40
位姿估计
-
匹配参数
-
-
最低匹配分数:
-
2
0.050000000000000
1.000000000000000
0.050000000000000
0.400000000000000
-
贪心度:
-
2
0.000000000000000
1.000000000000000
0.050000000000000
0.850000000000000
-
分割膨胀(px):
-
0
50
12
-
坐标轴长度(mm):
-
1
1.000000000000000
100.000000000000000
1.000000000000000
10.000000000000000
-
-
启用自动分割(开始测量)
true
-
QFrame::VLine
QFrame::Sunken
-
图像预处理滤波
-
-
启用预处理滤波
true
-
滤波器类型:
-
1
-
高斯滤波 (Gaussian)
-
中值滤波 (Median)
-
双边滤波 (Bilateral)
-
核大小 (奇数):
-
1
31
2
7
-
Sigma (σ):
-
2
0.100000000000000
50.000000000000000
0.500000000000000
1.000000000000000
-
-
color: gray; font-size: 10px;
中值滤波不使用 Sigma 参数
-
分步执行(需先: 加载标定+模板 + 采集图像 + 设定ROI)
-
-
false
Step1: 自动分割
-
color: gray; font-size: 11px;
未执行
-
-
false
Step2: 位姿测量
-
color: gray; font-size: 11px;
未执行
-
-
false
Step3: 参数调试
-
color: gray; font-size: 11px;
未执行
-
0
-
分步结果
-
16777215
150
background-color: #0d0d1a; color: #00cc88; font-family: Consolas, monospace; font-size: 11px;
true
-
Qt::Vertical
20
40
-
采集与测量
-
false
采集单帧
-
false
QPushButton { background-color: #1e6f9f; color: white; font-weight: bold; font-size: 14px; border-radius: 4px; } QPushButton:disabled { background-color: #555; color: #999; } QPushButton:hover { background-color: #2589c4; }
▶ 开始测量
-
0
true
-
位姿估计结果
-
X (mm):
-
true
—
-
Y (mm):
-
true
—
-
Z (mm):
-
true
—
-
姿态:
-
true
—
-
类别:
-
true
—
-
耗时(ms):
-
true
—
-
运行日志
-
background-color: #0d0d1a; color: #00cc88; font-family: Consolas, monospace; font-size: 11px;
true
-
清空日志
保存日志
退出
关于
在线双目标定...
在线手眼标定...
生成离线轮廓库...