Optimize recognition and process noisy OMR scanned sheet images by setting setSavePreprocessedImages property to false with Aspose.OCR for Java 3.0.0

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.OCR for Java logo We are pleased to announce that Aspose.OCR for Java 3.0.0 is now available for public use. This release includes optimizing OCR process by setting not to save preprocessed images and improvements in the algorithms to process the noisy OMR scanned sheet images.

Exclude Preprocessed Images from OCR operation

Aspose.OCR for Java provides facility to exclude preprocessed images from being saved during OCR operation. This functionality can be achieved by setting the setSavePreprocessedImages property of the configuration [OCRConfig] class to true.

Following is the simple code snippet demonstrating the usage of the said property to optimize the OCR process.


String FileName = "";

//Initialize an instance of OcrEngine
OcrEngine ocr = new OcrEngine();                        

//Set the Image property by loading the image from file path location
ocr.setImage(ImageStream.fromFile(FileName));

// Set the SavePreprocessedImages property to false
ocr.getConfig().setSavePreprocessedImages(false);        

if (ocr.process())
{
      // Do processing
}

Please review the release notes of Aspose.OCR for Java 3.0.0 for a complete view of new features. If you are planning to upgrade the API from any previous version, we strongly suggest you to check the Public API Changes section to know what has been changed since your current revision of the API.

Aspose.OCR for Java Resources

The resources, you may need to accomplish your tasks:

As always, we appreciate your feedback so if you ever have anything to tell us about this release or anything else, please head to the Aspose.OCR forum for a chat.