You are here: Start » Program Examples » Template Matching using DXF

Template Matching using DXF

Aim:

The task is to locate an object using a model created with a .dxf file.

Input:

An image of an object in a .dxf file as a model and current images of the object

Output:

The marked object's location

Hints:

To load an image saved in the .dxf format, use the LoadImage_FromDxf filter. To create a model, you can use the CreateEdgeModel1 filter and then the LocateSingleObject_Edges1 to find the object's position on the image.

Macrofilter Main.

Further Readings