Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Program Examples » Comparing Golden Template

Comparing Golden Template

Aim:

This example shows how to find defects on the bottle cap. The Golden Template technique can be used to find even the smallest defect.

Input:

A set of images of a single bottle cap.

Output:

An image with marked defects on it.

Hints:

The best way to find defects is to locate the bottle cap using Template Matching and compare the matches using the Golden Template technique.

In this case, you should use the CompareGoldenTemplate_Edges filter.

Labeling connections is explained in this article.

Solution (Studio)

►Click here to show the solution.

Used Filters

►Click here to show the filters list.

Further Readings