Image Reading Issue

Hi,

I have Aspose.OCR for .Net 2.2.0. I am trying to read an image and it is giving me the following error. I am attaching the image. Please review it and let me know the issue. I am also attaching two images to use them to read them in your code.
in case of 8.jpg it is showing out of memory error and in case of 8smallsize.jpg i have attached image. Please fix this issue and let me know.

Best Regards,
Asad Naeem

Hi Asad,


Thank you for contacting Aspose support.

We have evaluated your presented scenario while using the latest version of Aspose.OCR for .NET 2.3.0, and we are able to observe System.ArgumentException with message IComparer (or the IComparable methods it relies upon) did not return zero when Array.Sort called x. CompareTo. x: ‘’ x’s type: ‘Rectangle’ The IComparer: ‘System.Array+FunctorComparer`1[System.Drawing.Rectangle]’ at OcrEngine.Process while processing both of your provided sample images. We have logged the problem in our bug tracking system under the ticket OCR-33963 for further investigation & correction purposes. Please spare us little time to properly analzye the problem cause, and to provide the fix at earliest possible. In the meanwhile, we will keep you posted with updates in this regard.

Please note, we are unable to observe OutOfMemory exception as stated in your original post. We would request you to please give a try to the latest version of Aspose.OCR for .NET 2.3.0, and let us know if you still can replicate the OutOfMemory exception on your side.

Hi Babur,

In the latest version, Out of Memory is not occurred but same exception is occurring. But if you can read the image at your end then please send me the code how to do it.

Best Regards,
Asad Naeem

Hi Asad,


Thank you for the confirmation.

I may have confused you with my response. I am unable to observe the OutOfMemory error with any of your provided samples, however, I cannot process both samples because they cause the OcrEngine to throw System.ArgumentException at Process method. We will look into the matter at earliest to provide the fix with upcoming release of Aspose.OCR for .NET API.

Hi Babur,

I am already saying that in new setup there is NO out of memory exception but whatever exceptions comes to you the final result is that i am unable to read these images which i have sent to you.

Best Regards,
Asad Naeem

Hi Asad,


Yes, we are on the same page. Please spare us little time to properly analyze the presented scenario in order to identify the problem cause. As soon as we have any updates in this regard, we will post here for your kind reference.

Hi Babur,

I am still waiting for the solution. :frowning:

Regards,
Asad Naeem

Hi Asad,


I am afraid, the ticket logged earlier as OCR-33963 is currently in analysis phase, and we cannot commit an estimated schedule for the fix unless we have identified the problem cause. You have to spare us little more time to figure this issue out. As soon as we receive any updates in this regard, we will post here for your kind reference.

Thank you for your understanding.

Hi

More than 2 weeks are passed and no solution/update yet… :frowning:

Regards,
Asad Naeem

Hi Asad,


The problem logged earlier as OCR-33963 has been resolved, and the fix will be available for public use with the upcoming release of Aspose.OCR for .NET 2.4.0. Please note that the aforesaid release is scheduled for the last week of March 2015.

Thank you for your patience and understanding.

Hi,


Can you give me an idea about the date of its release?
I have also tried to read text part from an image. It is also not working. as ocrEngine.Process() takes considerable time to process image so i thought that I would give an area of an image then it would be easy for this function to read only the specified area. But text extraction is also not working properly whatever area I am giving it. It is reading or 2 or 3 characters and those characters are also wrong. :frowning: Kindly help me in this regard. Client is increasing pressure on me. As i have 500000+ images to process as soon as possible. Firstly library is not reading all the images and secondly it is taking to much time to process an image. If you need me to call you. I can call you. If you need me to show the system and code as well. I can do that also. What kind of guidance about the issue you need. I can give it to you. Except to visit your foreign office. I had suggested this library to client and I am stuck at the moment. :frowning:

Aspose.OCR for .NET|Documentation

Hi Asad,


We are sorry to know that you are facing difficulties with Aspose.OCR for .NET API. Let me address your concerns one by one. Firstly, Aspose.OCR for .NET 2.4.0 is scheduled for publication in the last week of March 2015. There is no concrete date for this release however, as per standard policy the releases are published on the last day of every month, and official announcements are sent in the subsequent week. Regarding the low accuracy rate of the recognized contents, I believe you are aware that Aspose.OCR APIs work well with high resolution images. If you specified images have resolution of 300 DPI or more then you have a better chance to get 100% accuracy rate. In case you are facing the issues with images having desired resolution then please share such images for further investigation. Regarding your concerns related to the performance of the API. please share your sample images along with source code snippet after bench-marking the performance on the machine where recognition process is taking place on your end. Please also share the environment details such as operating system version, service pack, target .NET framework version etc. These statistics will help us in investigating the performance lapse in other equivalent environments.

Please note, there is still more than a week time before we publish the next revision of the API so it suggested that you share the above requested information at earliest. We will evaluate the cases and try to include the fixes in the upcoming release (if applicable/possible).

Hi,

After doing some other steps, accuracy is almost 98%. While we start scanning, we changed its scanning type from Photo+text to OCR and we changed DPI from 200 to 400. At the moment I need only one thing at this time. I am attaching images for your reference.
I only want that that any kind of activity in the box should be read. at the moment, only fully filled boxes are read. OCR library is unable to read Document (33).png. I want to read such documents as well.

Hi Asad,

asad_naeem:
I only want that that any kind of activity in the box should be read. at the moment, only fully filled boxes are read. OCR library is unable to read Document (33).png. I want to read such documents as well.

I am a little confused about your recent comments as quoted above. Are you performing OCR or OMR operation on the provided images? If you are performing OMR operation then please provide us the template (.amr) file corresponding to the sample images. In case you are performing OCR then please highlight the text in the image that you wish to read.

Hi Asad,


This is to inform you that we have uploaded the latest version of Aspose.OCR for .NET 2.4.0 to the Aspose download section. The said release contains the fix for the issue logged earlier as OCR-33963. Please download the release and test it on your end to feed us back with your results.

Please also respond to my previous post so I may continue the investigation, and log appropriate tickets, if applicable.

The issues you have found earlier (filed as OCR-33963) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

I am performing OMR operations. i am using same template which you provided me in a sample. the only difference is the use of choise box with multiple options. but allow OMR to read the box with any kind of mark in the box. i had attached the images.

Hi Asad,


The problem could be in the template it self as you have modified it. Please provide the modified template along with your source code to properly evaluate the problem cause. As soon as you provide the complete information (as requested earlier in this thread) we will be able to analyze the presented scenario and assist you further in this regard.

Hi again,


We are waiting for you to share the modified template as well as the code to perform OMR operation on the images you have shared in this post. Moreover, please use the OMR Template Editor to load the template as well as the images to confirm that the template elements are overlaying the image markers perfectly. In case the elements do not overlay the markers then the OmrEngine will not be able to correctly identify the markers as filled.

AoA

here is template and images are already attached. you can use your code. i am using same code which you provided.