Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Program Examples » Parallel Enumeration

Parallel Enumeration

Aim:

The task of this example is to check the number of bottles, their orientation, level of liquid, and presence of foam in the shortest possible execution time using Worker Task Macrofilters.

Input:

An image of bottles. The position of the bottles may change both in relation to the camera as well as to other bottles.

Output:

An image with the result of the inspections drawn. If a defect is detected, a rectangle is drawn around it.

Hints:

The location of the object is variable. Inspection steps of this program have been described in the Bottle Inspection example.

Compared to the original example, in order to reduce execution time, image enumeration should be performed in parallel to the inspection.
To achieve this, a Worker Task Macrofilter should be used.

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