Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, July 31, 2009 1:04:49 AM(UTC)
tyt_g207

Groups: Registered
Posts: 5


Hello,
I'm evaluating Leadtool OCR. I make a demo that do a same thing with CSFormsDemo_x86 projet de Leadtools.
A process of recognization is
1. Create Master Form
2. Add Page to Master Form use AddPageToMasterForm(RasterImage, FormRecognitionAttributes)
3. Define zones in master form
4. Load filled form, prepare Recognition data for recognization
5. Call methods to recognize filled form if it is similar to one of the master form created.

Unfortenately, method AddPageToMasterForm(RasterImage, FormRecognitionAttributes) does not work
I've tested with a image TIF of 500KB, my AddPageToMasterForm add only 4KB to the Attributes of the master form when the AddPageToMasterForm of Leadtools add 13MB to the Attribtues of the master form. This image has 6 pages.

Help me to find out the problem, please.
Many thanks,
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, August 2, 2009 6:29:12 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

If you only want OCR, you don't need to use the full code of the Forms Recognition Module. Instead, check our OCR demos.

AddPageToMasterForm() is not a LEAD function, it is used in our demo to call 3 LEADTOOLS functions, which are:
_recognitionEngine.OpenMasterForm(attributes);
_recognitionEngine.AddMasterFormPage(attributes, image, null);
_recognitionEngine.CloseMasterForm(attributes);

What does your function "AddPageToMasterForm()" exactly do?

If you can't get it to work correctly, create a small sample application (NOT your full application) that shows your problem and put it in a ZIP or a RAR file and post it here or send it to support@leadtools.com.
 
#3 Posted : Sunday, August 2, 2009 11:12:42 PM(UTC)
tyt_g207

Groups: Registered
Posts: 5


I means I've used the same function AddpageToMasterPge who calls 3 commands (I've copied/pasted this function)
_recognitionEngine.OpenMasterForm(attributes);
_recognitionEngine.AddMasterFormPage(attributes, image, null);
_recognitionEngine.CloseMasterForm(attributes);

How ever, I've fixed the problem. The reason is I've not started the engines correctly.

Many thanks for your support.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.055 seconds.