ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 OCR with Layout Demo AV Errors
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

cpstevenc

USA
116 Posts

Posted - Jul 09 2013 :  19:58:30  Show Profile  Reply
I downloaded the OCR with Layout Demo and when I run
the OCRwithLayout.exe and
with the Engine of Cube or Accurate I get

Access Violation at address 10396642 in module ievision.dll
read of address 00000000

running this on win7 64bit

Running 'Fast' engine it works.

cpstevenc

USA
116 Posts

Posted - Jul 09 2013 :  20:36:04  Show Profile  Reply
Actually both OCR demos seem to AV error constanty. More complex image it flips out. It seems to work when its a pure black
and white image. But any water marks or anything in the image, and no go city.

Go to Top of Page

fab

1310 Posts

Posted - Jul 15 2013 :  03:36:59  Show Profile  Reply
Please post a sample image that causes the AV.
Go to Top of Page

nachbar

USA
17 Posts

Posted - Jan 19 2014 :  16:55:35  Show Profile  Reply
I get an access violation using the C++ OCR demo when I use other than one of your demo OCR images. I get the access violation, for example, when I load the test.png file from your Barcode demos.

I have attached a screenshot of the access violation error message.

I am using XE5 Update 2 on Windows 7 64 bit (but creating a 32 bit program). I am using versions of ImageEn and IEVision that I just downloaded. I did have to make two modifications of your sample code in order to get it to compile and link. There were some old references to version 16 of some of the libraries in the .cbproj file, so I simply deleted those, and I had to change
IEVisionLib->createOCR("eng", ievOCRFAST, false, OCR);
to
IEVisionLib()->createOCR("eng", ievOCRFAST, false, OCR);

Otherwise, the demo app is not modified at all.

Again, no access violation when loading the sample images you provide with the OCR demo, only when loading other images.



Thanks!

James Nachbar
Go to Top of Page

xequte

38615 Posts

Posted - Jan 19 2014 :  21:24:27  Show Profile  Reply
Hi

Have you seen:

http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=1337

Does that resolve it?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

nachbar

USA
17 Posts

Posted - Jan 31 2014 :  22:54:29  Show Profile  Reply
That post does not say where the TESSDATA registry entries are, but I don't see any in HKCU/Software/Xequte . Is there anywhere else I should be looking?

James Nachbar
Go to Top of Page

xequte

38615 Posts

Posted - Feb 01 2014 :  13:53:36  Show Profile  Reply
Sorry James,

Why are you looking for HKCU/Software/Xequte?

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

nachbar

USA
17 Posts

Posted - Feb 21 2014 :  21:18:47  Show Profile  Reply
Because the post you referred me to says that the solution was deleting a key from the registry, but did not say exactly where that key was found. That key was my best guess as to where I should be looking.

In any case, the "Find" function of RegEdit did not find "TESSDATA" anywhere in the registry on this computer, so I don't think that is the problem.

James Nachbar
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: