BarCodeReader

BarCodeReader class

Module: aspose_barcode.recognition.barcode_reader

BarCodeReader encapsulates an image which may contain one or several barcodes, it then can perform ReadBarCodes operation to detect barcodes. This sample shows how to detect Code39 and Code128 barcodes.

Constructors

NameDescription
initInitializes a new instance of the BarCodeReader.

Methods

NameReturn TypeStaticDescription
abortNoneNo
barcode_imageNoneNoSets bitmap image and areas for Recognition. Must be called before ReadBarCodes() method. This sample shows how to detect Code39 and Code128 barcodes.
barcode_settingsOptional[BarcodeSettings]No
contains_anyboolNo
export_to_xmlboolNo
found_barcodesOptional[List[BarCodeResult]]No
found_countintNo
from_image_with_areasdefNoInitializes a new instance of the BarCodeReader.
import_from_xmlBarCodeReaderNoImports BarCode properties from the specified XML file.
read_barcodesOptional[List[BarCodeResult]]No

Properties

NameTypeDescription
barcode_read_typeUnion[List[DecodeType], DecodeType]Sets SingleDecodeType type array for Recognition. Must be called before readBarCodes() method. This sample shows how to detect Code39 and Code128 barcodes.
quality_settingsOptional[QualitySettings]
timeoutint