PNG
JPG
BMP
TIFF
SVG
GS1 DataBar
Read GS1 DataBar Barcodes with Python via Java
Read GS1 DataBar (Omnidirectional, Stacked Omnidirectional, Expanded, Expanded Stacked, and Truncated) barcode in Python using server-side Aspose.BarCode for Python via Java API
How to Read GS1 DataBar barcode Using Python via Java
To scan and decode GS1 DataBar barcode, install Aspose.BarCode for Python via Java API, a versatile, powerful, and easy-to-use barcode library for Python-based applications. Get the latest version directly from the Aspose releases portal or install ‘aspose-barcode’ from pip by running the following command:
Command
pip install aspose-barcode
Steps for Scanning GS1 DataBar barcode in Python
Aspose.BarCode allows developers to read GS1 DataBar barcode barcodes from stream or image with few lines of code
- Create an object of Aspose.BarCode.BarCodeReader class
- Define the source file path containing GS1 DataBar barcode as a parameter
- Determine the required barcodes types in DecodeType as the second parameter
- Loop through the decoding outcomes
- Get the barcode text using the CodeText property
System Requirements
Aspose APIs are supported on all major platforms and operating systems. Before executing the code sample below, please make sure that your system comply with the following requirements.
- Microsoft Windows, Linux, or any OS compatible with Python-based developement environments
- Java 8 or above
- Python 3.6 or above
- PHP/Java Bridge installed
- FastCGI and Tomcat Server 8.0 or above
Other Supported Barcode Recognition Symbologies
Using Python via Java, One can also read barcode of different symbologies including the following.
2D:
Linear:
Postal: