Perform OMR operation on Images using Aspose.OMR for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn


Wait is over guys! Aspose.OMR or .NET has been released and now is available over NuGet Gallery to be used in .NET Application. As shared in pre-release announcement of the API, Aspose.OMR has been provided as simple and lightweight solution that makes performing OMR operation on images a breeze. In this blog post, we will try to go through maximum features API is offering to its users. Without waiting so much, let’s dive into information which will be helpful to use API first time and perform OMR operations over images.

Perform OMR using Aspose.OMR

API provides simple to use features for performing OMR operation. For a simple OMR operation, you only need two things; the prepared template (special markers will be drawn over user’s form) and the images to perform OMR operation on. Aspose.OMR provides TemplateProcessor.RecognizeImage() method that takes an image path and returns a string output. The following code snippet demonstrates the usage of OmrEngine and TemplateProcessor to perform OMR on two images.

Well, we are not finished yet. The things would get more exciting because this API also provides a threshold setting to fine-tune the result of OMR according to your needs. You can set the value of threshold from 0 to 100 depending upon your needs. A detailed example and demonstration can be seen over following link in API documentation:

Using API with Graphic Control

The most worth-mentioning feature API has been offered with is Graphic Control that can be added into your application and lets you manually correct the threshold and markup to see changes in real-time. A complete guide to use Graphic Control in your application has been given in API documentation and can be visited on following link:

API Limitations

First version of the API also offers some following limitations which should be kept in view while working with it:

  • Recognition process works only with prepared templates (special markers will be drawn over the user’s form)
  • Performing OCR operation is also not supported for now
  • OMR operation will show results only in text format

We really hope that above guide will help you setting up the API for first time usage. In case we missed something here, you are always welcome to post your inquiries in our support forum. Do not forget to go through release notes page of the API. We further intend to introduce more enhancements and attractive features in future releases of the API. Stay with us in order to get latest updates about releases of the API.