Hi,
i am using Trial license of ASPOSE.OCR it works fine for me.
the only issues is that when my image is little skewed that time OMR engine gives wrong result.
here with i am attaching both image
Origional Image
Scan_0001.jpg (719.4 KB)
Skew Image
Scan_0002.jpg (1.0 MB)
Kindly Help
@Vaishu.Naik,
It seems that you are using an old version of Aspose.OCR. This is to update you that Aspose.OMR namespace has been removed from Aspose.OCR. It has been shifted to cloud. A new product Aspose.OMR for Cloud has been released. Please visit the link for details:
Aspose.OMR for Cloud
However, you may use the following code snippet to correct the skewed image.
CODE:
// Load image
OmrImage image = OmrImage.Load("sample.jpg");
// Use empty template or load any existing template
OmrEngine engine = new OmrEngine(new OmrTemplate());
// Get skew degree of the image
double degree = engine.GetSkewDegree(image);
// Rotate image to correct skew
engine.RotateImage(ref image, degree);
// Save image
image.AsBitmap().Save("result.jpg");