[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
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document