Hello
multiple choice OMR is reading First value even when multiple choice is set to false
Have attached image which will give a clear idea
Prasanth
Hi Prasanth,
Thank you for contacting Aspose support.
It would be of great help in identifying the problem cause, and to provide a solution/workaround if you can share the template (.amr file) along with the sample image of the filled OMR form. We will investigate the scenario thoroughly on our end to guide to you further in this regard.
Hi Babar,
I tried to attach the amr file to the post, but the amr file was not accepted by the site(as an attachment). Can you please provide me with an alternative (Mail ID or anything), where I can share the amr file with you?
Thanks,
Animesh Agarwal
Hi Animesh,
I am afraid, Aspose forums do not allow to upload .amr files so I would request you to please make an archive (.zip) of your file and upload it to your next response. Please note that we also require the scanned image of the OMR form, It would be appropriate that should share the same image that causes the problem on your side.
Hi,
The zip file contains the .amr templates as well as the image.
For a choice box, we were expecting that if multiple choices are “No”, and if multiple choices are marked then the result returned would be nothing(" ").
Similarly, If i try and use a grid(template attached), the results are the same, if multiple are checked, it gives me, either the first one or the last one.
Hi Animesh,
Thank you for providing the templates & the form image for our testing. We are currently looking into the matter, and we will shortly get back to you with updates in this regard.
Hi Animesh,
Thank you for your patience with us.
We have evaluated both of your provided templates, and were able to notice both issues. We have logged two tickets in our database for further investigation & correction purposes. Please find the ticket details as follow.
- OCR-33894 has been logged as enhancement because it is the default behavior of Aspose.OMR APIs to return the first selection for the choice box with multiple selections set to No. We will analyze this situation further to enhance the API to return the expected results (Null) because the question has been invalidated by marking two or more selections.
- OCR-33895 has been logged as investigation because we have received different results when OMR operation has been performed with Template Editor (BA) and through code snippet (BBA) as provided below.
Please spare as little time to properly analyze both situations. In the meanwhile, we will keep you posted with updates in this regard.
C#
//Load template file
OmrTemplate template = OmrTemplate.Load(MyDir + “template_grid.amr”);
//Load the image to be analyzed
OmrImage image = OmrImage.Load(MyDir + “image.jpg”);
// Instantiate the recognition engine for the template
OmrEngine engine = new OmrEngine(template);
// Extract data. This template has only one page.
OmrProcessingResult result = engine.ExtractData(new OmrImage[] { image });
//Load actual result from
Hashtable OmrResult = result.PageData[0];
//Get Collection of Keys
ICollection key = OmrResult.Keys;
foreach (string k in key)
{
Console.WriteLine(k + ": " + OmrResult[k]);
}
Thank you for the fast reply.
Will be looking forward for future replies and solutions, so that i may switch to Aspose.
Hi Animesh,
Both tickets attached to this thread are currently in analysis phase. We will share our findings with you here once we have completed the analysis of the presented scenarios. Thank you for your patience.
The issues you have found earlier (filed as OCR-33894) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as OCR-33895) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.