Leaper WaferScan Toolkit
中文 / English 2.x
Data Structures | Enumerations
LPVBarcodeLib Module Reference

LPV Barcode Library, provides functionality for 1D/2D barcode inspection. More...

Data Structures

interface  ILBarcodeDetector
 This interface provide functionalities of barcode detection and quality verification. More...
 
interface  ILBarcodeResult
 This interface holds a single barcode inspection result and is used to access its properties. More...
 
interface  ILBarcodeResults
 This interface holds a collection of barcode results. More...
 
class  LBarcodeDetector
 
class  LBarcodeResult
 
class  LBarcodeResults
 

Enumerations

enum  LPVBarcodeDrawFlags {
  LPVBarcodeDrawRegion = 1 , LPVBarcodeDrawCenter = 2 , LPVBarcodeDrawContent = 4 , LPVBarcodeDrawIndex = 8 ,
  LPVBarcodeDrawDefault = LPVBarcodeDrawRegion , LPVBarcodeDrawAll = 0xff
}
 This enumeration represents the flags to control the barcode result drawing behavior. More...
 
enum  LPVBarcodeQualityGrade {
  LPVBarcodeQualityGradeF = 0 , LPVBarcodeQualityGradeD = 1 , LPVBarcodeQualityGradeC = 2 , LPVBarcodeQualityGradeB = 3 ,
  LPVBarcodeQualityGradeA = 4
}
 This enumeration represents the grading of the barcode quality verification. More...
 
enum  LPVBarcodeQualityParam {
  LPVBarcodeQualityDecode = 0 , LPVBarcodeQualitySC = 1 , LPVBarcodeQualityMinR = 2 , LPVBarcodeQualityEC = 3 ,
  LPVBarcodeQualityMOD = 4 , LPVBarcodeQualityDefects = 5 , LPVBarcodeQualityDecodability = 6 , LPVBarcodeQualityAN = 7 ,
  LPVBarcodeQualityGN = 8 , LPVBarcodeQualityFPD = 9 , LPVBarcodeQualityUEC = 10 , LPVBarcodeQualityRM = 11
}
 This enumeration represents the parameters of the barcode quality verification. More...
 
enum  LPVBarcodeType {
  LPVBarcodeEAN8 = 0x00000001 , LPVBarcodeUPCE = 0x00000002 , LPVBarcodeISBN10 = 0x00000004 , LPVBarcodeUPCA = 0x00000008 ,
  LPVBarcodeEAN13 = 0x00000010 , LPVBarcodeISBN13 = 0x00000020 , LPVBarcodeComposite = 0x00000040 , LPVBarcodeI25 = 0x00000080 ,
  LPVBarcodeDataBar = 0x00000100 , LPVBarcodeDataBarExp = 0x00000200 , LPVBarcodeCodaBar = 0x00000400 , LPVBarcodeCode39 = 0x00000800 ,
  LPVBarcodeCode93 = 0x00001000 , LPVBarcodeCode128 = 0x00002000 , LPVBarcodeQR = 0x00100000 , LPVBarcodeDataMatrix = 0x00200000 ,
  LPVBarcodePDF417 = 0x00400000 , LPVBarcodeAll1D = 0x00003fff , LPVBarcodeAll2D = 0x01f00000 , LPVBarcodeAll = LPVBarcodeAll1D + LPVBarcodeAll2D
}
 This enumeration represents the types of barcode symbologies. More...
 

Detailed Description

LPV Barcode Library, provides functionality for 1D/2D barcode inspection.

This library provides functionality for 1D/2D barcode detection and quality verification. To include the definitions of the library's classes, use the following directive:

Example Code

Note: This modules is currently not available on Linux / MacOS platform.

Enumeration Type Documentation

◆ LPVBarcodeDrawFlags

This enumeration represents the flags to control the barcode result drawing behavior.

Enumerator
LPVBarcodeDrawRegion 

Draw the quadrangle region of the barcode

LPVBarcodeDrawCenter 

Draw the center of the barcode

LPVBarcodeDrawContent 

Draw the content of the barcode

LPVBarcodeDrawIndex 

Draw the index of the barcode right to its center

LPVBarcodeDrawDefault 

Default draw flags, which draws the bounding region

LPVBarcodeDrawAll 

Draw the barcode with all components

◆ LPVBarcodeQualityGrade

This enumeration represents the grading of the barcode quality verification.

Enumerator
LPVBarcodeQualityGradeF 

Failed, F grade

LPVBarcodeQualityGradeD 

D grade

LPVBarcodeQualityGradeC 

C grade

LPVBarcodeQualityGradeB 

B grade

LPVBarcodeQualityGradeA 

Pass, the best grade

◆ LPVBarcodeQualityParam

This enumeration represents the parameters of the barcode quality verification.

Enumerator
LPVBarcodeQualityDecode 

Decode, checks to see whether the code can be read using the standard reference decode algorithm.

LPVBarcodeQualitySC 

Symbol Contrast

LPVBarcodeQualityMinR 

Minimum Reflectance, checks whether the bars are dark enough to meet the required ratio of light that is reflected off of the spaces.

LPVBarcodeQualityEC 

Edge Contrast, measures the difference between adjacent bars and spaces.

LPVBarcodeQualityMOD 

Modulation, refers to local variations in contrast.

LPVBarcodeQualityDefects 

Defects include printing errors, dirt, or markings that affect one single bar or space

LPVBarcodeQualityDecodability 

Decodability, grades the accuracy of bar and space widths compared to their ideal size.

LPVBarcodeQualityAN 

Axial Non-uniformity, refers to the uneven scaling of the code.

LPVBarcodeQualityGN 

Grid Non-uniformity, measures the biggest deviation from the grid.

LPVBarcodeQualityFPD 

Fixed Pattern Damage includes errors with the L sides or clock pattern or quiet zone.

LPVBarcodeQualityUEC 

Unused Error Correction, error-correction characters that is used to reconstruct damaged parts of the symbol

LPVBarcodeQualityRM 

Reflectance Margin, measures how well each element of the symbol is correctly distinguishable as light or dark in comparison to the global threshold.

◆ LPVBarcodeType

This enumeration represents the types of barcode symbologies.

Enumerator
LPVBarcodeEAN8 

EAN-8

LPVBarcodeUPCE 

UPC-E

LPVBarcodeISBN10 

ISBN-10

LPVBarcodeUPCA 

UPC-A

LPVBarcodeEAN13 

EAN-13

LPVBarcodeISBN13 

ISBN-13

LPVBarcodeComposite 

EAN/UPC Composite

LPVBarcodeI25 

Interleaved 2 of 5

LPVBarcodeDataBar 

GS1 DataBar (RSS 14)

LPVBarcodeDataBarExp 

GS1 DataBar Expanded (RSS Expanded)

LPVBarcodeCodaBar 

CodaBar

LPVBarcodeCode39 

Code 39

LPVBarcodeCode93 

Code 93

LPVBarcodeCode128 

Code 128

LPVBarcodeQR 

QR Code

LPVBarcodeDataMatrix 

Data Matrix Code

LPVBarcodePDF417 

PDF 417

LPVBarcodeAll1D 

Represent all 1D barcode types

LPVBarcodeAll2D 

Represent all 2D barcode types

LPVBarcodeAll 

Represent all barcode types