• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Define Custom Recognition Blocks on Document Image & Improved OCR Recognition

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is new in this release?

We are pleased to announce the release of Aspose.OCR for Java 2.0.0 . This release contains 12 improvements, including the showcased feature discussed below. Setting custom recognition blocks is useful when documents of the same layout have to be processed. Programmers can specify a custom recognition blocks and direct the API to focus on a particular area of the image. The latest build allows the users to define custom recognition blocks on the document image. These blocks are processed by the OcrEngine while other areas are skipped completely. If user-defined recognition blocks are not set prior to processing, the OcrEngine automatically calculate the recognition blocks using its default behavior. Images with text can be divided into many text blocks on which recognition process can be performed. It is sometimes important to apply a special sorting so that the correct text block order is maintained. The OcrConfig class has exposed the DetectReadingOrder property to handle situations where an image within the main document image may contain text blocks of its own. Setting the DetectReadingOrder property to true instructs the OcrEngine to maintain the order of text regions for better recognition result. However, performance degradation can be observed for images with a large number of text blocks. In such cases, it is advised to turn this feature off by setting the DetectReadingOrder property to false. In order to improve the accuracy of the recognized data, the Aspose.OCR for Java API has exposed the DoSpellingCorrection property for the OcrConfig class. Setting the DoSpellingCorrection property to true will improve the OCR results, however, the process may take more time to complete. Please check the detailed article on setting the OcrEngine to automatically correct spelling. Document images to be processed with OcrEngine may contain graphics. During the OCR process, these graphics may not contain any text to be recognized although they are detected as a separate block. If developers wish to ignore the non-textual blocks such as graphics from the recognition process, they just have to set the RemoveNonText property exposed by the OcrConfig class to true. Last but not the least; we have completely overhauled the OcrEngine with new recognition algorithm for better accuracy of the recognized data and performance considerations. Moreover, Aspose.OCR API now uses a resource file that is just of 5.5MB in size unlike previous resource files of 88MB. This release includes plenty of new & enhanced features as listed below

- New OCR algorithm is an overhaul of the OCR engine used in the component. It provides better recognition quality and better performance overall.
- Support detection of reading order.
- Support automatic text regions detection.
- Support spelling correction.
- Allow user to define which blocks to process.
- Support removing of non-text blocks.
- Add possibility to recognize text on complex background
- Resource file path should be specified explicitly by user.
- Restore layout of image
- [Java] Aspose.OCR & Aspose.OMR throws AsposeLicenseException while setting a valid license
- [Java] Fully Test Aspose.OCR for Java with Java 8

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.OCR for Java documentation that may guide you briefly how to use Aspose.OCR for performing different tasks like the followings.

- Adding User Defined Recognition Blocks
- Setting the OcrEngine to Automatically Correct the Spellings

Overview: Aspose.OCR for Java

Aspose.OCR for Java is a character recognition component that allows developers to add OCR functionality in their Java web applications, web services and Windows applications. It provides a simple set of classes for controlling character recognition tasks. It helps developers to work with image files from within their Java applications. It allows developers to extract text from images, Read font, style information quickly, saving time & effort involved in developing an OCR solution from scratch.

More about Aspose.OCR for Java

- Homepage Aspose.OCR for Java
- Download Aspose.OCR for Java
- Online Demos Aspose.OCR for Java
- Online documentation of Aspose.OCR for Java

Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465 
    Bookmark Topic Watch Topic
  • New Topic