Documentation Portal      

What are you looking for?

Reading a Bar Code

Functional Guide | Reference: Read

/////////////////////////////////////////////////////
// This code snippet shows how to read a bar code //
/////////////////////////////////////////////////////
// Image constructor
EImageBW8 srcImage;
// Bar code reader constructor
EBarCode reader;
// String for the decoded bar code
std::string result;
// ...
// Read the source image
result = reader.Read(&srcImage);
'/////////////////////////////////////////////////////
'// This code snippet shows how to read a bar code //
'/////////////////////////////////////////////////////
' Image constructor
Dim srcImage As New EImageBW8
' Bar code reader constructor
Dim reader As New EBarCode
' String for the decoded bar code
Dim result As String
' ...
' Read the source image
result = reader.Read(srcImage)
/////////////////////////////////////////////////////
// This code snippet shows how to read a bar code //
/////////////////////////////////////////////////////
// Image constructor
EImageBW8 srcImage= new EImageBW8();
// Bar code reader constructor
EBarCode reader= new EBarCode();
// String for the decoded bar code
string result;
// ...
// Read the source image
result = reader.Read(srcImage);

See also in the Functional Guide

See also in the Reference

Read

Which API shall we display?

© 2019 EURESYS s.a.  -  About Documentation  -  Open Source Licenses  -  Open eVision 2.10.0.1121