PNG
JPG
BMP
TIFF
SVG
EAN
Read EAN Barcodes with Python via Java
Read EAN (International Article Number) barcode in Python using server-side Aspose.BarCode for Python via Java API
How to Read EAN barcode Using Python via Java
To scan and decode EAN 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 EAN barcode in Python
Aspose.BarCode allows developers to read EAN 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 EAN 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: