FIND_BARCODE_CANDIDATE_AREAS_OPTIONS

typedef struct FIND_BARCODE_CANDIDATE_AREAS_OPTIONS 
{ 
   L_UINT uStructSize; 
   L_COLORREF BarcodeColor; 
   L_COLORREF BackgroundColor; 
   L_DOUBLE dMinimumQuietMargin; 
   L_DOUBLE dMinimumBarcodeDim; 
   L_DOUBLE dMaximumBarcodeDim; 
   L_INT nMinimumConfidence; 
   L_UINT uUnits; 
   L_UINT uFlags; 
} FIND_BARCODE_CANDIDATE_AREAS_OPTIONS; 

The FIND_BARCODE_CANDIDATE_AREAS_OPTIONS structure provides options to be used in detecting the potential barcode areas.

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

BarcodeColor

The color of the Barcode.

BackgroundColor

The color of the Background.

dMinimumQuietMargin

The minimum quiet margin area around the barcode candidate.

dMinimumBarcodeDim

The minimum area for the barcode candidate in the user-defined units specified in uUnits.

dMaximumBarcodeDim

The maximum area for the barcode candidate in the user-defined specified in uUnits.

nMinimumConfidence

The minimum confidence threshold for a barcode candidate.

uUnits

The user-defined units of measurement for the barcode candidate area.

Value Meaning
BARCODE_CANDIDATE_AREAS_USE_PIXELS [0x00000001] Barcode candidate area measurement in pixels.
BARCODE_CANDIDATE_AREAS_USE_INCHES [0x00000002] Barcode candidate area measurement in inches.
BARCODE_CANDIDATE_AREAS_USE_CENTIMETERS [0x00000003] Barcode candidate area measurement in centimeters.

uFlags

Reserved for future use. Pass NULL or 0.

Comments

The structure is used by L_FindBarcodeCandidateAreas.

Help Version 22.0.2021.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.