AI 驱动文档
您想了解什么?
创建您的第一个配方 (OV10i)
时长: 30-45 分钟
这是您的相机将成为 AI 检测系统的地方。一个 配方 是一个完整的集合(图像设置、对齐、检测区域、AI 模型和输出规则),为单一的检测任务打包在一起。
您可以在相机上拥有任意数量的配方。每个配方都可以保存、备份、转移到其他相机,并进行版本控制。
启动前:记住瀑布法则
本节中的所有内容都遵循 瀑布法则。您将按顺序完成六个步骤。请勿跳过后续步骤。在进入下一步之前,请验证每一步是否正常工作。
图像设置
曝光、增益、LED 灯
模板与对齐器
捕获、对齐
检测区域
绘制 ROI
AI 训练
标注、训练
输出规则
通过/失败、IO
部署!
激活、验证
创建新配方
- 转到左侧边栏中的 All Recipes(打开相机时也是进入的起始页)
- 点击 + New
- 给它一个名称(例如“螺钉存在性检查”)
- OV10i 使用 classification 配方(pass/fail、presence/absence,或多类别决策)
- 点击 Activate 进入配方编辑器
以下是 Recipe Editor 的外观。三大部分(Imaging Setup、AI Blocks、IO Block)直接映射到分步流程:

OV10i 仅支持 classifiers only。若需要像素级缺陷检测(segmentation),需使用 OV20i 或 OV80i。
如果您的检测需要像素级缺陷检测(segmentation),AI 会高亮显示每个缺陷的确切形状和位置,您将需要 OV20i 或 OV80i。OV10i 旨在用于 classification 任务:pass/fail、presence/absence,以及多类别决策。在投入时间进行 recipe 设置之前,请相应地规划相机的选型。
现在请按照六个步骤操作:
Development Mode 允许您在不影响生产产出的情况下测试配方。在整个设置过程中使用它,以验证每一步是否正确工作。只有在您已在具有代表性的测试件集上确认准确性后,才切换到 Production Mode。
第 1 步:图像设置

让相机图像干净且一致。调整曝光、增益、白平衡,且在使用广角镜头时,务必 启用 lens distortion correction。
关键设置:
- Exposure(曝光):传感器捕捉光线的时长。数值越高,画面越亮,但运动模糊越明显
- Gain(增益):数字亮度提升。数值越高,画面越亮,但噪点越多
- Lens Correction(镜头畸变矫正):修正广角镜头产生的桶形畸变。若适用,请现在就启用。 请勿跳过
- LED 设置(OV10i):调整强度和图案以减少眩光
在继续之前进行验证: 单击 Live Preview。图像应清晰、光线充足,且逐次拍摄保持一致。
第 2 步:模板图像与对齐

这是大多数客户认为最具挑战性的步骤,也是影响最大的一步。对齐器可以使您的检测区域在部件在图像中移动时自动跟踪。
简要版本:
- 捕获良好部件的模板图像
- 在永不改变的特征(强边缘、角点、孔洞)上放置 2-3 个小模板区域
- 将它们尽可能分散放置在部件上
- 使用 Ignore 工具清理嘈杂边缘
- 保存,然后使用 Live Preview 进行测试。移动部件并验证对齐是否跟踪它
请阅读 Alignment Explained 以获取完整的逐步演练。 这是本说明文档中最重要的页面。
第 3 步:检查区域 (ROIs)
Full guide: Inspection Regions
Now draw the areas where the AI will actually inspect. These are your Regions of Interest (ROIs).
The critical rule: Keep ROIs as small as possible. This is the second biggest source of customer issues. Read Why ROI Size Matters to understand why.
The short version:
- Create an Inspection Type (e.g., "Screws") with your expected classes (e.g., "present", "absent")
- Draw rectangular ROIs on each location you want to inspect
- Make them just big enough to contain the feature, no bigger
- Name them descriptively (e.g., "Screw_Top_Left")
第 4 步:训练您的 AI 模型

Label a few images and train your first model.
The short version:
- Start with 3-5 images per class. Don't over-collect
- Double-check every label before training (one mislabel can ruin your model)
- Train in Development Mode first (~30 seconds) to check the signal
- Test with Live Preview. Try to break it
- Add targeted data where it fails, retrain
- When development mode works well, switch to Production Mode (5-10 minutes)
第 5 步:输出规则 (IO Block)
Full guide: Setting Up Outputs

Define what happens when the AI makes its decision.
Basic Mode: Set rules for pass/fail. The simplest setup: all ROIs must pass for a global pass. That single binary result gets sent to your PLC, HMI, or output.
Advanced Mode (Node-RED): For anything beyond simple pass/fail: custom dashboards, time-series logic, data routing to MES systems, barcode integration, and more. Use tools.overview.ai to generate Node-RED flows from plain English descriptions.
第 6 步:部署并验证
- Activate your recipe
- Set your trigger mode (manual, hardware sensor, PLC, or interval)
- Run test parts through the system
- Verify the pass/fail output matches your expectations
- Check edge cases, the parts that are hardest to classify
Congratulations! You now have a running AI inspection.
Recipe checklist
Before moving on, confirm:
- 新配方已创建并命名
- 图像设置已配置:清晰、光线充足、保持一致
- 对齐设置完毕且追踪可靠
- 检测区域绘制:小、位置合适、命名清晰
- AI 模型在开发模式下进行训练和测试
- 输出规则已配置:通过/不通过与预期一致
- 配方已激活并部署,触发模式正确
What's next?
- Improving Your Model: 如何让 AI 随时间持续提升
- Troubleshooting & FAQ: 常见问题与快速修复