58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
# 实验:只加载通用 MediaPipe 手部模型,不需要零件标注或 YOLO 训练。
|
|
# 区域坐标必须按相机原始画面重新标定,完成判据必须替换为实际工艺要求。
|
|
sop:
|
|
name: 手部动作与AI确认
|
|
version: "1.0"
|
|
description: 手部动作定位流程节点,取当前整帧交给视觉模型确认完成状态
|
|
settings:
|
|
stable_frames: 3
|
|
position_tolerance: 10
|
|
frame_stride: 2
|
|
auto_reset_on_complete: false
|
|
regions:
|
|
tray:
|
|
x1: 20
|
|
y1: 100
|
|
x2: 200
|
|
y2: 380
|
|
name: 取料区
|
|
work:
|
|
x1: 240
|
|
y1: 100
|
|
x2: 460
|
|
y2: 380
|
|
name: 装配区
|
|
out:
|
|
x1: 500
|
|
y1: 100
|
|
x2: 630
|
|
y2: 380
|
|
name: 成品区
|
|
steps:
|
|
- id: 1
|
|
name: 取料并放入装配位
|
|
description: 手从取料区移动到装配区后取图,确认底座已经放入定位夹具
|
|
detection:
|
|
method: hand_move
|
|
from_region: tray
|
|
to_region: work
|
|
hand: right
|
|
tolerance: 10
|
|
ai_confirmation:
|
|
min_confidence: 0.85
|
|
retry_delay_ms: 3000
|
|
timeout_seconds: 30
|
|
- id: 2
|
|
name: 成品放入成品区
|
|
description: 手进入成品区触发取图,检查成品已放好
|
|
detection:
|
|
method: hand_in_region
|
|
region: out
|
|
hand: any
|
|
stable_frames: 3
|
|
tolerance: 10
|
|
ai_confirmation:
|
|
min_confidence: 0.9
|
|
retry_delay_ms: 3000
|
|
timeout_seconds: 30
|