aisop/configs/sop/d3-workflow.yaml

33 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 第一版模板:先在相机画面上重新绘制区域,再修改完成条件。
# 一个步骤一条触发规则;规则满足只触发取图,不直接完成步骤。
sop:
name: D3区域流程
version: "1.0"
description: 手部动作触发区域取图,由D3-lite判断完成状态
settings:
stable_frames: 3
frame_stride: 2
auto_reset_on_complete: false
regions:
tray: { x1: 100, y1: 300, x2: 700, y2: 1500, name: 取料区 }
work: { x1: 800, y1: 300, x2: 1800, y2: 1600, name: 盒子检查区 }
steps:
- id: 1
name: 放入零件
description: 把零件放进盒子,盒子里面能看到零件。
detection: { method: hand_leave_region, region: work, hand: any, stable_frames: 3, tolerance: 10 }
ai_confirmation:
image_region: work
min_confidence: 0.85
retry_delay_ms: 1000
timeout_seconds: 5
- id: 2
name: 取走零件
description: 取走盒子里的零件,盒子里没有剩余零件。
detection: { method: hand_leave_region, region: work, hand: any, stable_frames: 3, tolerance: 10 }
ai_confirmation:
image_region: work
min_confidence: 0.85
retry_delay_ms: 1000
timeout_seconds: 5