Blob - 堆叠纸箱的应用示例

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 用例 > Blob - 自学和后续对象搜索
 >

Blob - 堆叠纸箱的应用示例

要求

应检查不同颜色的纸箱在传送带上的堆叠是否正确。堆叠在一起的纸箱表面印有不同的颜色。

正确

错误

vf_modelbasedblob_kartons richtig gestapelt

vf_modelbasedblob_kartons falsch gestapelt

程序

第一个想法是为每种颜色的纸板创建一个模型或配方。但是,这会使应用程序变得更加复杂,而且由于需要多个模型,运行时间也会增加。

由于背景颜色(传送带)保持不变,因此将其作为参考进行评估是合理的。专门使用 "面积 "来计算正确堆叠的箱子的背景面积,并将其与相应图像的背景面积进行比较。这样,如果箱子被推到一起,可见的背景面积就会变小。

正确

错误

vf_modelbasedblob_hintergrund kartons richtig gestapelt

面积 = 974001 像素

vf_modelbasedblob_hintergrund kartons falsch gestapelt

面积 = 922664 像素


Requirement

A stack of different colored cartons should be checked for correct stacking on a conveyor belt. The stack of cardboard boxes placed on top of one another is printed with different colors on the surface.

Correct

False

vf_modelbasedblob_kartons richtig gestapelt

vf_modelbasedblob_kartons falsch gestapelt

Procedure

The first idea is to create a model or recipe for each cardboard color. However, this would make the application more complex and, due to the multiple models, increase the runtime.

It makes sense to evaluate it as a reference since the background color (the conveyor belt) remains constant. Use Area specifically to calculate the background area for correctly stacked boxes and compare it to the background area of the respective images. This way, if the boxes are pushed together, the visible background area becomes smaller.

Correct

False

vf_modelbasedblob_hintergrund kartons richtig gestapelt

Area = 974001 pixels

vf_modelbasedblob_hintergrund kartons falsch gestapelt

Area = 922664 pixels