Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Program Examples » Cap (Advanced)

Cap (Advanced)

Aim:

The task of this example is to check whether a seal (plastic ring under the cap) is correctly placed.

Input:

An image of the top of a bottle. The position of the bottle is variable.

Output:

The result of the inspection printed on the image. If a defect is detected, a rectangle is drawn around it.

Hints:

The position of the object is variable along both vertical and horizontal axes. Using 1D Edge Detection technique, you are able to create a local coordinate system that can be used to configure other tools to work independently of the object orientation, translation, and scale.

Labeling connections is explained in this article.

Solution (FIS):

►Click here to show the solution.

Used Filters

►Click here to show the filters list.

Further Readings