Match Template

Description

Search Image Template in Image Src and add bounding box to Image Dst where it is located. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8.
Documentation illustration (illustration unavailable in the archive). Image Template : class, type accepted U8.
Documentation illustration (illustration unavailable in the archive).
threshold : float,
similarity coefficient between function results and template image.

 

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

Documentation illustration (illustration unavailable in the archive). Detected Box : cluster,

Documentation illustration (illustration unavailable in the archive). left : integer, left coordinate of box.
Documentation illustration (illustration unavailable in the archive). top : integer, top coordinate of box.
Documentation illustration (illustration unavailable in the archive). right : integer, right coordinate of box.
Documentation illustration (illustration unavailable in the archive). bottom : integer, bottom coordinate of box.
Documentation illustration (illustration unavailable in the archive). threshold : float, similarity coefficient of box.

Documentation illustration (illustration unavailable in the archive).

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision ​library to run it).