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
 AV IEvision
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

duffo64

Italy
8 Posts

Posted - Nov 19 2019 :  11:04:51  Show Profile  Reply
Hello,

I know this already happened to someone in the past, but I am now in the same boat, getting an AV as soon as I press the OCR button. This is the unmodified SimpleOCR C++ example.

See screenshot (just building 32bits app with C++ Rio).

Thanks
Claudio



/Claudio

xequte

38176 Posts

Posted - Nov 19 2019 :  17:39:09  Show Profile  Reply
Hi Claudio

Does it happen with all images, i.e. even the ones in \Demos\IEVision\OCR_C++

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

duffo64

Italy
8 Posts

Posted - Nov 20 2019 :  11:11:11  Show Profile  Reply
Hi Nigel,

I tested only those in the demo folder.

/Claudio
Go to Top of Page

xequte

38176 Posts

Posted - Nov 22 2019 :  14:21:13  Show Profile  Reply
Hi

Please check that the .traineddata files are included in the folder. You may need to copy them from the other OCR folder.

Or you can download other languages from:

www.imageen.com/download/

We will have an updated demo in 8.7.6 which checks for this.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

duffo64

Italy
8 Posts

Posted - Nov 23 2019 :  04:14:09  Show Profile  Reply
Thanks, the .traineddata file are present in the folder where the .exe is. Still, the exception comes up at the line OCR->recognize(image, IEVisionRect(0, 0, 0, 0), str);

/Claudio
Go to Top of Page

xequte

38176 Posts

Posted - Nov 23 2019 :  15:05:59  Show Profile  Reply
Hi Claudio

Just to clarify, you are OCR'ing in "eng" language, and the file "eng.traineddata" is in the same folder as your EXE?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

duffo64

Italy
8 Posts

Posted - Nov 25 2019 :  01:57:48  Show Profile  Reply
Hi,

Yes. All relevant files are in the very same folder (exe, ievision.dll, eng.traineddata). However, in this case it does not matter. I tried to move the .traineddata outside the exe folder and the AV still happen.

/Claudio
Go to Top of Page

xequte

38176 Posts

Posted - Nov 26 2019 :  17:00:13  Show Profile  Reply
Hi Claudio

Can you please download ImageEn 8.7.6 and IEVision 5.1.1 and try the updated demo.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: