Metered licensing support for OMR in Aspose.OCR for .Net 16.12

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.OCR for .NET logo We are pleased to announce the release of Aspose.OCR for .Net 16.12. The major development in this release is support for metered license mechanism for OMR operations. The new licensing mechanism will be used along with existing licensing method. Those customers who want to be billed based on the usage of the API features can use the metered licensing. Furthermore overall performance of the API has also been improved in this release.

Metered License Support for OMR Operations

Aspose.OCR for .Net provides the functionality to use metered licensing mechanism for OMR operations. We have introduced Metered class in API to accomplish this job. The following sample code will demonstrate, how to calculate the consumed OMR API requests.



// Create an instance of OCR Metered class
Aspose.OCR.Metered metered = new Aspose.OCR.Metered();

// Access the setMeteredKey property and pass public and private keys as parameters
metered.SetMeteredKey("*****", "*****");

// set up engine
//OmrEngine omr = new OmrEngine(new OmrTemplate());
//ocr.Image = ImageStream.FromFile(@"abc.jpg");

// do processing
// string path = "sampleimage.png";
// OmrImage omrImage = OmrImage.Load(path);

// get metered data amount
decimal amount = Aspose.BarCode.Metered.GetConsumptionQuantity();

// Display information
Console.WriteLine("Amount Consumed : " + amount.ToString());

Enhancements

Following enhancements have been introduced in this release.

  • Processing of distorted images has been improved.
  • Mechanism of applying filters on the supplied image has been improved.
Please check the release notes of Aspose.OCR for .Net 16.12 for a complete list of enhancements.

Aspose.OCR for .Net 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.