←Select platform

BarcodeImageType Enumeration

Summary
Determines the type of barcode image when reading barcodes.
Syntax
C#
Objective-C
C++/CLI
Java
Python
[SerializableAttribute()] 
public enum BarcodeImageType   
typedef NS_ENUM(NSInteger, LTBarcodeImageType) { 
 LTBarcodeImageTypeScannedDocument,  
 LTBarcodeImageTypePicture,  
 LTBarcodeImageTypeUnknown 
}; 
public enum BarcodeImageType 
[SerializableAttribute()] 
public enum class BarcodeImageType   
class BarcodeImageType(Enum): 
   ScannedDocument = 0 
   Picture = 1 
   Unknown = 2 
Members
ValueMemberDescription
0ScannedDocument

The barcode image is generated using a scanner.

1Picture

The barcode image is a picture taken from camera or video devices.

2Unknown

The barcode image type is unknown, try ScannedDocument first and if no barcodes were found, try Picture.

Remarks

This BarcodeImageType enumeration is used as the type for the BarcodeReader.ImageType property and is used to determine the type of barcode image when reading barcodes.

Barcode images generated by picture devices such as camera and video recorder may suffer problems different than the images generated by scanners, e.g., shadows, which may require special handling of the barcode image.

Unknown will try ScannedDocument type first and then if no barcodes were found, it will try Picture to that the engine will try both types of images. Therefore, using Unknown may naturally result in slower recognition speed. If you do not know the type of image or in a server situation were the images are sent from various source, then use Unknown to ensure that the engine exhausts all options trying to read the barcodes. LEADTOOLS barcode and Documents Web Services uses Unknown.

Requirements

Target Platforms

See Also

Reference

Leadtools.Barcode Namespace

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

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.