We are pleased to announce the release of Aspose.BarCode for Java 7.8.0. This release supports generating Code32 and Datalogic2of5 barcodes. You can also read Code32, Datalogic and MICR barcodes. A new manual hint to skip rotated barcodes when reading barcode images has also been added to this release.
Use manual hints to skip rotated barcodes
Aspose.Barcode for Java allows you to turns off the rotation algorithms and increases the recognition speed. BarCodeReader.setManualHints can be set to ManualHint.SkipRotatedBarcodes for this purpose e.g.
long s = System.currentTimeMillis();
String filename = folder + "/Datamatrix12.jpg";
BarCodeReader reader = new BarCodeReader(filename, BarCodeReadType.GS1DataMatrix);
System.out.println("Skip rotated barcodes");
reader.setRecognitionMode(RecognitionMode.ManualHints);
reader.setManualHints(ManualHint.SkipRotatedBarcodes);
while (reader.read())
{
System.out.println(reader.getReadType() + ": " + reader.getCodeText() + " QA:" + reader.getRecognitionQuality());
}
long res1 = System.currentTimeMillis() - s;
System.out.println(res1);
System.out.println();
s = System.currentTimeMillis();
reader = new BarCodeReader(filename, BarCodeReadType.GS1DataMatrix);
System.out.println("Not skip rotated barcodes");
while (reader.read())
{
System.out.println(reader.getReadType() + ": " + reader.getCodeText() + " QA:" + reader.getRecognitionQuality());
}
long res2 = System.currentTimeMillis() - s;
System.out.println(res2);
Note: It is available for Datamatrix and the linear barcodes only.
Enhancements
Following is a list of improvements included in this release.
- PDF417 barcode recognition has been improved
- Path IV barcode recognition has been improved
- DataMatrix barcode recognition has been improved
- More than 64 barcode types are supported
- Aztec barcode recognition has been improved
To view a complete list of new features and fixes and to download the latest release, please visit Aspose.Barcode for Java 7.8.0 page in downloads section.
Aspose.BarCode for Java Resources
The resources, you may need to accomplish your tasks:
- Homepage for Aspose.BarCode for Java API
- Download Aspose.BarCode for Java
- Aspose.BarCode for Java Wiki docs – Help documentation and API reference documents.
- Aspose.BarCode Product Family Forum – Post your technical questions and queries, or any other problem you faced while running Aspose.BarCode APIs.
- Enable Email Subscription – Don’t limit yourself, you can keep yourself updated with the latest news on Aspose.BarCode APIs and new features, fixes, plus other API related topics by subscribing to Aspose.BarCode blog.
- Aspose.BarCode for Java Examples – We have published our code examples on the social coding website GitHub.com. Anyone can explore the code examples for learning purposes.