As the toolkit scans the images in a document, it assigns a “hit-count” to each barcode-like pattern it finds. The hit-count for a very clear barcode will typically be in the region 20 to 100, depending on the size of the barcode and the settings used within the sdk. The PrefOccurrence and MinOccurrence properties specify hit-count levels
PHP developers may be interested in the following link to an interface to the Softek barcode Reader Toolkit for Linux: http://github.com/mkoppanen/php-bardecode Many thanks to Mikko Koppanen.
2-D barcode formats such as PDF-417 can encode a huge character set, which means that the barcode reader toolkit needs to encode characters outside the normal ASCII range. If the Encoding property is set to 2 then the toolkit will use Unicode encoding, whereby characters can be represented by the string &#N; where N is
UPC-A barcodes are a subset of EAN-13. For example, the UPC-A barcode “016000336100” is the same as the EAN-13 barcode “0016000336100”. In fact, UPC-A barcodes are the sub-set of EAN-13 barcodes that start with a 0. The ReadEAN13 property controls whether any barcodes of type EAN-13 are recognized – and this includes UPC-A, whether or
The SkewTolerance property is used for the detection of barcodes in skewed documents, but it can have a negative impact on the performance of the ScanBarCode command, especially when reading PDf-417 and Datamatrix barcodes. One solution to this problem is to use xml settings, which allow you to store sets of properties which are applied
The SDK can be used to convert from TIFF to PDF format as part of the “tiff split” functionality. If the input file for the ScanBarCode method is in TIFF format and the TifSplitPath property is set to a value ending with “.pdf”, then the toolkit will split the input file into sub-files in PDF
2-D barcode formats such as PDF-417 can encode a huge character set, which means that the barcode reader toolkit needs to encode characters outside the normal ASCII range. If the Encoding property is set to 2 then the toolkit will use Unicode encoding, whereby characters can be represented by the string &#N; where N is
Delphi 2009 developers may have found some problems passing strings to and from the toolkit. This seems to be down to unicode support in Delphi 2009 and can be resolved with some simple code changes. For example, in previous versions of Delphi you might have code similar to: NumCodes:=stScanBarCode(PChar(OpenDialog1.FileName)); …but in Delphi 9 this needs
This article shows 2 simple visual c++ code snippets that use either the standard windows dll or the com object for the toolkit. Standard Windows DLL hBarcode = mtCreateBarcodeInstance() ; //Set properties mtSetReadCode128 (hBarcode, 1) ; //Read barcodes int nBarCodes = mtScanBarCode(hBarcode, m_ImageFile) ; //Get results for (int i = 1; i <= nBarCodes;
This arcticle shows some simple VB.net code snippets that reference the .net component or com object for the SDK in Visual Studio. .NET Managed Class Library with Visual Studio 2003 ‘Add a reference to SoftekBarcodeLib.dll Dim barcode As SoftekBarcodeLib.BarcodeReader barcode = New SoftekBarcodeLib.BarcodeReader ‘Set properties barcode.ReadCode128 = True ‘Read barcodes nBarCodes = barcode.ScanBarCode(Path) ‘Get results