Aspose.OCR for Java 16.12 Release Notes

Key Summary Category
OCRNET-2956 Support Dynabic.Metered license for OMR New Feature
OCRNET-2953 Images distorted in preprocessing Enhancement
OCRNET-2907 Fix filtering usage Enhancement
OCRNET-2979 Rename ExtractData method Enhancement

Usage Examples

Using Metering license in OMR

 OmrEngine omr = new OmrEngine(new OmrTemplate());

metered = new Metered();

metered.setMeteredKey("publicKeyValue", "privateKeyValue");

double amountBefore = Metered.getConsumptionQuantity();

String path = "sampleimage.png");

OmrImage omrImage = OmrImage.load(path);

//Since upload data is running on another thread, so we need wait some time

Thread.sleep(10000);

double amountAfter = Metered.getConsumptionQuantity();