We’ve made some changes to the recommended way of interfacing Python on Windows to take account of Python 3 and Windows 64-bit. The first change is in the loading of the DLL file itself.. if platform.machine().endswith(’64’): bardecodeLibrary = os.getcwd() + ‘../../../SoftekBarcode64DLL.dll’ a=CDLL(bardecodeLibrary) else: bardecodeLibrary = os.getcwd() + ‘../../../SoftekBarcodeDLL.dll’ a=WinDLL(bardecodeLibrary) Note the use of CDLL on
Version 8.4.1 of the Softek Barcode Reader Toolkit for Linux/Android/iOS/Raspberry Pi and AM has been released with the following changes: The amount of memory required on the stack for the software to run has been reduced. This had previously caused some problems when running version 8.3.3 under docker. The bardecode.a library is now built using
Version 8.4.1 of the Softek Barcode Reader Toolkit for Windows has been released with the following changes: Interfaces for .Net Core and Python have been added. The QRCodeAutoMedianFilter property in the .Net interface has been changed from bool to short. The property is in fact a mask and should not have previously been designated bool
Here’s some C code that shows how to read an opencv cv::Mat image using the barcode reader toolkit. The main points to note are: Read the image using the cv::IMREAD_GRAYSCALE flag Flip the image vertically Align the scan lines to 4 byte boundaries #include <barcode.h> #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> static void
A barcode font is a quick and easy way to create a barcode and a lot cheaper than buying software to create the barcode, so what could be wrong in using a Code128 font? A Code 128 barcode breaks down as follows: Start character Data characters Checksum character Stop character The start and stop characters
We’re pleased to announce that version 8.3.3.5 of the Windows barcode reader SDK has been released. This version has significant speed improvements to datamatrix recognition and enhanced support for datamatrix barcodes printed in a dotted pattern. Here’s the full list of changes: Fix for random barcode coordinates when MultipleRead is not enabled. Fix for false
The Softek Barcode Reader SDK and our BardecodeFiler Windows application both use ‘regex’ pattern matching for matching barcode values. We often get asked advice on how to build a regex so we thought a short guide to the basics might be useful. Here is a simple example: ^\d{5}$ So let’s break it down: ^
The following script can be used for barcode testing on Linux in a similar way to the test option in SoftekSDKDemo (using the same options): echo “Test only with supplied options” r=`./bardecode $*` if test -n “$r” then echo “Found barcode: $r” exit fi echo “Test: Small quiet zones around barcodes (-q 10)” r=`./bardecode -q
Version 8.3.3.3 of our barcode reader SDK for Windows has been released. This should be of particular interest to developers using Chinese characters in QR Codes and anyone reading PDF417 barcodes. 1. Performance improvement for images with certain types of repeated pattern. 2. Fix for recognition of Kanji characters using the Kanji byte compaction scheme
If you are handling binary data in barcodes such as you find in some 2-D barcodes (PDF417, QrCode or DataMatrix) then the following method will allow you to create a byte array that contains the original binary data from the barcode – including all the null and 8-bit values. 1. Using Quoted printable Encoding barcode.Encoding