C# SDK - installation

Using the barKoder SDK in C++ console application #

- barKoder SDK is built using Visual Studio 2022, and we can't guarantee that it will work with earlier versions

- Besides the main barcode decoding lib (Barkoder.lib) there's also libiconv.lib included which is necessary for proper handling of text encodings and conversions within the decoding lib

If you are creating a new project, please follow these steps: #

1. Add the .lib files for the desired platform and configuration (Debug or Release) to the project and adjust LibraryDirectories in the project settings.

2. Put the .dll files into the output destination of the project exe file (be sure to match the platform and the configuration).

3. Copy and include all header files into your project

4. Place valid trial or production key in Config::InitializeWithLicenseKey function

5. Adjust the decoder configuration settings as desired (active barcode types, decoding speed, individual barcode type parameters...)

6. Build and run the application by specifying the image file name as first (and only) argument

Note:

Input image format is limited to 24bit BMP, which is supported by Cimg.h. For more image types it's necessary to implement separate loaders using different system or third party libraries.

Usind OCR (MRZ) features #

- copy files from OCR_Resource to executable folder

- use Release OCR or Debug OCR build configuration

- enable reading MRZ in code: config->SetEnabledDecoders(std::vector<DecoderType>{DecoderType::IDDocument});

- using licensing key with MRZ enabled is mandatory

- only 64 bit architectures (ARM64 and x64) are supported currently for OCR (MRZ) decoding

Page Contents

History:

close