| Customize Help

A code example



The code example MCode.cpp decodes a Code 39 (1D) code and a DataMatrix (2D) code.

Specifically, MCode.cpp reads two different types of codes, using regions to limit the area in which they are found, using the Code functions in conjunction with other MIL functions. It then outlines the codes in the image, identifies the code types and decodes their strings, printing the results to the display.