To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to find patterns in and IMAQ Image and overlay the found matches in the image.
Description
If you are writing a pattern matching algorithm from scratch, you'll notice that you are provided a Matches array output from the IMAQ Match Pattern VI. The pattern matching VIs do not supply an overlay automatically to show you the location of each match. This example shows you how to modify the Matches output into overlay data such that you can place a bounding box of a desired color around each found pattern.Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.