LEADTOOLS Support
Document
Document SDK Questions
AddPageToMasterForm(RasterImage, FormRecognitionAttributes) does not work
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 31, 2009 1:04:49 AM(UTC)
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,
#2
Posted
:
Sunday, August 2, 2009 6:29:12 AM(UTC)
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)
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.
LEADTOOLS Support
Document
Document SDK Questions
AddPageToMasterForm(RasterImage, FormRecognitionAttributes) does not work
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.