PNG JPG PDF BMP TIFF
Aspose.BarCode  for Java
STANDARD_2_OF_5

Read STANDARD2OF5 Code via Java

Build Java apps that can detect and recognize STANDARD 2 OF 5 & many other types of barcodes from images.

How to Read STANDARD2OF5 Barcode Using Java

In order to recognize STANDARD 2 OF 5 barcode , we’ll use

Aspose.BarCode for Java

API which is a feature-rich, powerful and easy to use barcode API for Java platform. You can download its latest version directly from

Maven

and install it within your Maven-based project by adding the following configurations to the pom.xml.

Repository


<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>

Dependency

<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode</artifactId>
<version>version of aspose-barcode API</version>
<classifier>jdk17</classifier>
</dependency>

Steps to Recognize STANDARD2OF5 Barcode via Java

  1. Create a new instance of BarCodeReader class
  2. Set image path containing standard2of5 code
  3. Pass appropriate DecodeType as second parameter
  4. Loop through each result
  5. Get code text using getCodeText method

System Requirements

Aspose.BarCode for Java supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with Java Runtime Environment for JSP/JSF Application and Desktop Applications.
  • Get latest version of Aspose.BarCode for Java directly from Maven.
 

Recognize STANDARD2OF5 Barcodes - Java

BarCodeReader reader = new BarCodeReader("barcode.png", DecodeType.STANDARD_2_OF_5);

for(BarCodeResult result : reader.readBarCodes()){
    // recognize code text of type STANDARD_2_OF_5
    System.out.println("BarCode CodeText: " + result.getCodeText());
} 
// Use the DecodeType as of here Standard 2 of 5 is used
 

Decode STANDARD_2_OF_5 via Free App

Recognize STANDARD_2_OF_5 right now by visiting our Live Demos.The live demo has the following benefits

  No need to download Aspose API.
  No need to write any code.
  Just upload your image containing STANDARD_2_OF_5, it will be scanned instantly.
  You will get all the recognized barcodes.

About Aspose.BarCode for Java API

Aspose.BarCode is a barcode reader and generation API. It can easily decode and generate 1D, 2D and postal barcodes of multiple symbologies. Developers can easily integrate it in any barcode generation and scanning application. Moreover, Generated barcodes can easily be exported to different high-quality image formats. Its a standalone library and does not require any additional software installation.

Other Supported Recognition Barcodes

Using Java, One can also read and recognize barcode of different symbology's including.

QR (QR Code, GS1 QR Code)
PDF417 (PDF 417, Micro Pdf417, Macro PDF417)
DATABAR (GS1 Databar Expanded, GS1 Databar Expanded Stacked, GS1 DataBar Expanded, GS1 Databar OmniDirectional, GS1 DataBar Stacked, GS1 Databar Stacked OmniDirectional, GS1 DataBar Truncated)
DATAMATRIX (Data Matrix, GS1 Data Matrix)
EAN (EAN-8, EAN-13, EAN-14)
UPC (UPC-A, UPC-E, UPCA GS1 Code 128 Coupon, UPCA GS1 Databar Coupon)
AZTEC (AZTEC)
CODABLOCK (CodablockF, GS1 CodablockF)
CODE128 (Code 128, GS1-128)
CODE16K (CODE 16K)
CODE32 (ITALIAN PHARMACODE CODE 32)
CODE39 (Code 39 Extended, Code 39 Standard)
CODE93 (Code 93 Extended, Code 93 Standard)
ONECODE (USPS ONECODE)
AUSTRALIAPOST (Australia Post, Australia Poste Parcel)
DEUTSCHEPOST (Deutsche Post Identcode, Deutsche Post Leitcode)
DUTCHKIX (KIX-CODE)
ITALIANPOST25 (ITALIAN POST 25)
PLANET (PLANET)
POSTNET (POSTNET)
RM4SCC (ROYALMAIL RM4SCC)
SINGAPOREPOST (SINGAPORE POST)
SWISSPOSTPARCEL (SWISS POST PARCEL)
DOTCODE (DOTCODE)
INTERLEAVED2OF5 (INTERLEAVED 2 OF 5)
DATALOGIC2OF5 (DATALOGIC 2 OF 5)
IATA2OF5 (IATA 2 OF 5)
MATRIX2OF5 (MATRIX 2 OF 5)
ISBN (ISBN)
ISMN (ISMN)
ISSN (ISSN)
ITF (ITF-6, ITF-14)