T O P I C R E V I E W |
rswyman@docuxplorer.com |
Posted - Sep 20 2017 : 20:04:55 Hi all,
I have an OCR process to OCR regions of text and Bar Code information from a file. When I process each file manually the process works as expected but when I put the same process in a loop the following exception is raised or no value is return.
Access violation at address 10BCCADO in module ievision.dll. read of address 185d8cc1.
Any help is appreciated.
Thanks Ron |
7 L A T E S T R E P L I E S (Newest First) |
rswyman@docuxplorer.com |
Posted - Oct 03 2017 : 09:46:32 ok thx |
xequte |
Posted - Oct 03 2017 : 09:44:15 Hi
Most IEVision functions are thread-safe, but not OCR.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
rswyman@docuxplorer.com |
Posted - Sep 27 2017 : 16:30:34 can IEVision be used in a thread? |
xequte |
Posted - Sep 27 2017 : 16:22:46 Yes, it could well be. Only one instance of the TIEVisionOCR object can exist in the application:
https://www.imageen.com/help/TIEVisionOCR.html
Nigel Xequte Software www.xequte.com nigel@xequte.com |
rswyman@docuxplorer.com |
Posted - Sep 22 2017 : 07:20:41 I think the problem could be that each form is running the OCR engine and since the form is not modal more than one instance of the OCR engine is being called. Could this been the cause of the GP error? |
rswyman@docuxplorer.com |
Posted - Sep 21 2017 : 06:57:11 Hi Nigel,
I believe I identified the problem. I was using a form to load an image, load the ocr zones then perform the OCR process. The loop call the forms show method in which the form would execute the above process and then free it self. I change the forms Show method to ShowModal and the error was eliminated.
Can you explain why this corrected the problem. |
xequte |
Posted - Sep 20 2017 : 22:02:03 Hi Ron
What version of ImageEn and IEVision are you using? 32 or 64bit?
Can you post some test images and the code needed to reproduce the issue?
Nigel Xequte Software www.xequte.com nigel@xequte.com
|