Determines the type of barcode image when reading barcodes.
[SerializableAttribute()]
public enum BarcodeImageType
<SerializableAttribute()>
Public Enum BarcodeImageType
[SerializableAttribute()]
public enum BarcodeImageType
typedef NS_ENUM(NSInteger, LTBarcodeImageType)
public enum BarcodeImageType
Leadtools.Barcode.BarcodeImageType = function() { };
Leadtools.Barcode.BarcodeImageType.prototype = {<br/>
ScannedDocument = 0,
Picture = 1,
Unknown = 2,
};
[SerializableAttribute()]
public enum class BarcodeImageType
Members
Value | Member | Description |
---|---|---|
0 | ScannedDocument |
The barcode image is generated using a scanner. |
1 | Picture |
The barcode image is a picture taken from camera or video devices. |
2 | Unknown |
The barcode image type is unknown, try ScannedDocument first and if no barcodes were found, try Picture. |
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET