CVB++ 15.0
Cvb::Barcode Namespace Reference

Namespace for all barcode decoding functionalities. More...

Namespaces

namespace  Config
 This namespace contains the configuration classes for all supported barcodes.
 

Classes

class  Decoder
 Class for barcode decoding. More...
 
class  Result
 Class for storing the results of barcode decoding. More...
 
class  Result2D
 Class for storing the results of 2D barcode decoding. More...
 

Enumerations

enum class  Symbology {
  Unknown = 0 , DataMatrix = CExports::CVBCBarcodeSymbologies::CVBCBS_DataMatrix , QR = CExports::CVBCBarcodeSymbologies::CVBCBS_QR , MicroQR = CExports::CVBCBarcodeSymbologies::CVBCBS_MicroQR ,
  Ean13 = CExports::CVBCBarcodeSymbologies::CVBCBS_EAN13 , Ean8 = CExports::CVBCBarcodeSymbologies::CVBCBS_EAN8 , UpcA = CExports::CVBCBarcodeSymbologies::CVBCBS_UPCA , UpcE = CExports::CVBCBarcodeSymbologies::CVBCBS_UPCE ,
  Code128 = CExports::CVBCBarcodeSymbologies::CVBCBS_Code128 , Code39 = CExports::CVBCBarcodeSymbologies::CVBCBS_Code39 , Code93 = CExports::CVBCBarcodeSymbologies::CVBCBS_Code93 , Interleaved2of5 = CExports::CVBCBarcodeSymbologies::CVBCBS_Interleaved2of5 ,
  Pdf417 = CExports::CVBCBarcodeSymbologies::CVBCBS_PDF417 , MicroPdf417 = CExports::CVBCBarcodeSymbologies::CVBCBS_MicroPDF417 , Pharmacode = CExports::CVBCBarcodeSymbologies::CVBCBS_Pharmacode , Code32 = CExports::CVBCBarcodeSymbologies::CVBCBS_Code32 ,
  Code11 = CExports::CVBCBarcodeSymbologies::CVBCBS_Code11 , AustraliaPost = CExports::CVBCBarcodeSymbologies::CVBCBS_AustralianPost , DutchPost = CExports::CVBCBarcodeSymbologies::CVBCBS_DutchPost , RoyalMail = CExports::CVBCBarcodeSymbologies::CVBCBS_RoyalMail ,
  UspsIntelligentMail = CExports::CVBCBarcodeSymbologies::CVBCBS_USPSIntelligentMail , GS1DataBar14 = CExports::CVBCBarcodeSymbologies::CVBCBS_GS1DataBar14 , GS1DataBarStacked = CExports::CVBCBarcodeSymbologies::CVBCBS_GS1DataBarStacked , GS1DataBarLimited = CExports::CVBCBarcodeSymbologies::CVBCBS_GS1DataBarLimited ,
  GS1DataBarExpanded = CExports::CVBCBarcodeSymbologies::CVBCBS_GS1DataBarExpanded , GS1DataBarExpandedStacked = CExports::CVBCBarcodeSymbologies::CVBCBS_GS1DataBarExpandedStacked
}
 Enum class listing all supported barcode symbologies.
More...
 
enum class  DecodeStatus { Failure = -1 , Success = 100 }
 Enum class for decoding status. More...
 

Detailed Description

Namespace for all barcode decoding functionalities.

This namespace encompasses all essential functions, enums, and classes required for barcode decoding operations.

Note
For a comprehensive guide on decoding an image with barcodes, refer to the documentation of the Decoder class. The Decoder class description also includes a code example illustrating the process of configuring and executing the decoding.

Enumeration Type Documentation

◆ DecodeStatus

enum class DecodeStatus
strong

Enum class for decoding status.

Enumerator
Failure 

Decoding failed.

Success 

Decoding succeeded.

◆ Symbology

enum class Symbology
strong

Enum class listing all supported barcode symbologies.

This enum class defines all supported barcode symbologies. It is primarily used to specify the configuration class via
the Decoder::Config() function. Each enum entry includes a reference to its corresponding configuration class for all functionalities and settings.

After creating a decoder, you can configure it using the Decoder::Config() member function with the desired
symbology, as shown in the following example:

decoder->Config<Symbology::QR>().Enable();
static std::unique_ptr< Decoder > Create()
Creates and returns a new Decoder instance.
Definition: detail_decoder.hpp:22
@ DataMatrix
Data Matrix.

After decoding an image, the detected symbology type is returned as a value of this enum class via Result::SymbologyType().

Note
A detailed description of the decoding and a code example can be found here.
Enumerator
Unknown 

Unknown barcode symbology.

DataMatrix 

Data Matrix.

See configuration class Config::DataMatrix for all functionalities and settings.

QR 

QR code.

See configuration class Config::QR for all functionalities and settings.

MicroQR 

Micro QR code.

See configuration class Config::MicroQR for all functionalities and settings.

Ean13 

EAN-13.

See configuration class Config::Ean13 for all functionalities and settings.

Ean8 

EAN-8.

See configuration class Config::Ean8 for all functionalities and settings.

UpcA 

UPC-A.

See configuration class Config::UpcA for all functionalities and settings.

UpcE 

UPC-E.

See configuration class Config::UpcE for all functionalities and settings.

Code128 

Code 128.

See configuration class Config::Code128 for all functionalities and settings.

Code39 

Code 39.

See configuration class Config::Code39 for all functionalities and settings.

Code93 

Code 93.

See configuration class Config::Code93 for all functionalities and settings.

Interleaved2of5 

Interleaved 2 of 5.

See configuration class Config::Interleaved2of5 for all functionalities and settings.

Pdf417 

PDF417.

See configuration class Config::Pdf417 for all functionalities and settings.

MicroPdf417 

MicroPDF417.

See configuration class Config::MicroPdf417 for all functionalities and settings.

Pharmacode 

Pharmacode.

See configuration class Config::Pharmacode for all functionalities and settings.

Code32 

Code 32 (Italian Pharmacode).

See configuration class Config::Code32 for all functionalities and settings.

Code11 

Code 11.

See configuration class Config::Code11 for all functionalities and settings.

AustraliaPost 

Australia Post.

See configuration class Config::AustraliaPost for all functionalities and settings.

DutchPost 

DutchPost (KIX Code).

See configuration class Config::DutchPost for all functionalities and settings.

RoyalMail 

RoyalMail 4-State Barcode.

See configuration class Config::RoyalMail for all functionalities and settings.

UspsIntelligentMail 

USPS Intelligent Mail.

See configuration class Config::UspsIntelligentMail for all functionalities and settings.

GS1DataBar14 

GS1 DataBar-14.

See configuration class Config::GS1DataBar14 for all functionalities and settings.

GS1DataBarStacked 

GS1 DataBar Stacked.

See configuration class Config::GS1DataBarStacked for all functionalities and settings.

GS1DataBarLimited 

GS1 DataBar Limited.

See configuration class Config::GS1DataBarLimited for all functionalities and settings.

GS1DataBarExpanded 

GS1 DataBar Expanded.

See configuration class Config::GS1DataBarExpanded for all functionalities and settings.

GS1DataBarExpandedStacked 

GS1 DataBar Expanded Stacked.

See configuration class Config::GS1DataBarExpandedStacked for all functionalities and settings.