EasyBarCodeRead

Support

Required licenses

EasyBarCode

Recommended images

Any image from the folder Sample Images\EasyBarCode

Location

[…]C:\Users\Public\Documents\Euresys\Open eVision 24.02\Sample Programs
\[LANGUAGE] samples
\Text and Code Reading\EasyBarCodeRead

Purpose

This sample program demonstrates how to:

Read a 1D bar code in an image.

Code highlights

1. Read the bar codes present in the image.
barCodes_ = barCodeReader_.Read(m_Source);
2. Retrieve the text encoded in the ith bar code.
m_DecodedText[i] = barCodes_[i].GetDecodedString();
3. Draw the position of the ith bar code on the image.
barCodes_[i].DrawPosition(e.Graphics, 1, 1, 0, 0);