Configure Threshold for OMR with Aspose.OCR for .NET 1.9.0

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.OCR for .NET logoAspose.OCR 1.9.0 has been released and we are pleased to announce that this month’s release contains many useful improvements and bug fixes reported for previous versions. You can download the latest release of Aspose.OCR for .NET 1.9.0 from the download section along with the required resource files.

Here is a look at a few of the features in this month’s release. For a full list of bug fixes and improvements please refer to the download pages in the link above.

Optical Mark Recognition Threshold

The threshold specifies the percentage of black pixels over which the option is considered selected. A threshold can be set before initializing the OMR procedure to determine the amount of pixels (as a percent) that is required before a field or a mark is considered checked or filled. Aspose.OCR for .NET now supports setting the threshold for a template, template page and even for a specific template element . Please check the detailed article on Setting OMR Thresholds.

Template Level Threshold

A threshold can be configured on the template level so that all pages and elements use the rules set globally. The OmrConfig class now contains the FillThreshold property that accepts a value between 0 to 1, corresponding to the threshold percentage where 1 means 100% and thus requires the mark to be filled completely.

Page Level Threshold

OmrPage now contains the FillThreshold property for the page configurations. Like above this property also accepts a value between 0 to 1 where 0 is the most lenient interpretation of OMR marks and 1 means the most strict.

Element Level Threshold

All the supported OMR elements now contain the TrimWhitePixels property for their configurations. TrimWhitePixels accepts a Boolean (true/false) value indicating whether the area that contains a OMR mark should be reduced to a minimum size that contains all black pixels.

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.