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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEVision 1.0.4

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
win568 Posted - Jul 24 2013 : 00:08:35
Hi Guys

As I read in the Forum, we have the same problems with the IEVision Demos. The Tiff File in the Demos runs, but if you try another one, we got serial problems. First of all, if we try to use Accurate instead of Fast as second parameter in CreateOCR, we got an exception in the recognize, sometimes in the GetRegions Routine. This happens with your Tiff Files too. In Fast Mode your Demo Example works well.

As we use our Tiff Files (colorized but optimized to black and white)
in Fast Mode, than the recognize Routine passed without an error. But as we use getTextBoxes to get the Text with Position Data, we got every time an exception.

This does not happens with the previous version. To solve this problem, we need urgent advises from your side.
18   L A T E S T    R E P L I E S    (Newest First)
win568 Posted - Oct 02 2013 : 23:31:14
Hi Fab

Thanks for your post. Now it works with a few changes.
fab Posted - Oct 02 2013 : 01:35:40
Hi,
it is just an example and assumes the application .exe is in the same directory of trained data.
You could change the code to:

// Recognize
procedure TMainForm.Button1Click(Sender: TObject);
var
  ocrrect: TIERectangle;
  langPath: string;
  langCode: string;
begin
  Screen.Cursor := crHourglass;

  // look for ?.traineddata directory
  langCode := string(IEOCRLanguageList[OCR_English_language].Code);
  langPath := ExtractFilePath(Application.ExeName);
  while not FileExists(langPath + langCode + '.traineddata') do // Warning! This is a just an example, may loop forever!!
    langPath := langPath + '..\';

  // create OCR object
  m_OCR := IEVisionLib.createOCR(PAnsiChar(AnsiString(langPath)), PAnsiChar(AnsiString(langCode)), TIEVisionOCREngine(ComboBox1.ItemIndex));
  ...
win568 Posted - Sep 30 2013 : 00:49:34
Hi Nigel

The Problem is, that the Exception come, when the Images and the Binaray are in different Folders and in the Image Folder there are no eng.* Files. It is easy to test. Put the Demo Exe and the IEVision.dll Files in the Binary Folder and the Images in the Image Folder and try your example. It only works when you copy the eng.* Files in the Image Folder !!!!
xequte Posted - Sep 29 2013 : 18:46:20
Hi

It should not load language files from any other folder other than that of the IEVision.DLL. At any rate, the files should be same versions, so it would not matter where they were loaded.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
win568 Posted - Sep 27 2013 : 00:11:58
Hi Nigel

I habe downloaded the ImageEn Version 5 and IEVision 1.0.4 and compiled it with DXE. Than i compiled the OCR Demo in the Demos Folder of IEVision. When i recognize your Tif Files, it works well. When i test it with our Files, we got the Exception like before .

OK. I copied than my Files in the same Folder, as your Demo Tif exists and tried to recognize the Files -> it works .

Ah. Whats going wrong ? After futher testing i found the Problem. As I copied the eng.* Files in the original Folder, it works too.

I think the IEVision.dll tries to load the Files from the wrong Folder !!!! Instead of the Exe Folder, it tries to load from the Image Folder.

Ok. I wait for your Response !!! And we Need it as soon as possible !!!
xequte Posted - Sep 26 2013 : 02:49:13
You should download v5.0.0 and compile it in that version.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
win568 Posted - Sep 25 2013 : 23:05:02
Hi Nigel

Currently we use DelphiXE. We are still going to Change in the near future to XE4/5. The Demo i compiled is with ImageEn 4.3 and IEVision 1.0.4
xequte Posted - Sep 25 2013 : 18:46:47
Hi

Your demo does cause an error. I assume this is compiled with the v5.0.0 update? What version of Delphi do you use?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
xequte Posted - Sep 25 2013 : 03:10:19
I'll email you an alternative address...

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
win568 Posted - Sep 24 2013 : 23:18:22
Hi Nigel

I tried to send you the Demo Example. Unfortunatelly your email Provider send it back to me with:

The Demo Example was zipped. The same issue was, when i tared the example.
xequte Posted - Sep 24 2013 : 13:49:06
Hi

Can you please email me the demo project that reproduces the error (I can no longer access your FTP).





Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
win568 Posted - Sep 24 2013 : 00:11:57
Hi Guys

We have still no answer from you. Can you give us an advice. We still cannot use the new IEVision.dll.
win568 Posted - Sep 04 2013 : 23:13:46
Hi xequte

I habe received the latest source and tested it. We got the same Errors as before. I have zipped the compiled OCRWithLayout Demo and put it on our FTP, so you can see that it does not work.
xequte Posted - Aug 29 2013 : 00:28:30
Hi

Please email sales@xequte.com for the latest source.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
win568 Posted - Aug 28 2013 : 23:01:49
Hi

With this Demo Version the OCR Processing now works. Your demo example is not the same as the source in the Demos Folder. Before OCR.Recognize we add layers with the coordinates we got from OCR.GetRegions. I did not see, that in your example layers are added.
Futhermore we use GetWordBoxes to detect the Text and the Position in the document. This causes Problems to with your latest code.

Can i test your latest code, if it does work in our program ??
xequte Posted - Aug 28 2013 : 14:49:53
Hi

I have uploaded a new version of the demo compiled with the latest source:

www.ImageEn.com/Files/demos/Run/IEVision/OCR/OCR.zip


I tested your files against this version and it did not get any errors.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
win568 Posted - Aug 26 2013 : 07:39:30
Hi Fabrizio

You can download the Files from our FTP:

Servername: upload.bmd.at
UserName: embarcadero
Password: BMD2Embarcadero

When you Need more examples -> no Problem.
fab Posted - Aug 01 2013 : 23:33:24
Please send a test file.