You are here: Start » Program Examples » Template Matching using DXF
Template Matching using DXF
Aim
The task is to locate object using model created with .dxf file.
Input
An image of an object in.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 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
- Template Matching - Most detailed description of the Template Matching technique.