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 : Tuesday, January 6, 2009 5:45:50 AM(UTC)

DCurtis  
DCurtis

Groups: Registered
Posts: 5


Your example code for recognizing a form is helpful to me. Can you also tell me how to create the template files? (i.e. the Recognition.bin and Processing.xml files).

And can it be done programatically?

Also, I tried running the code and got an exception on this line:

RecognitionEngine.AddFormPage(attributes, image, null);

It said that the image size is not supported. What are the restrictions on image size? Do I have to pad the image to make it work?
 

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 : Wednesday, January 7, 2009 5:29:25 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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

The example code you are referring to is the project in the forum below, Is this correct?
http://support.leadtools.com/SupportPortal/CS/forums/25076/ShowPost.aspx
After you create the MasterForm, use FormRecognitionAttributes.GetData Method then the File.WriteAllBytes to create the Attributes file (.BIN).
To save the Fields (XML) file, use the FormProcessingEngine.SaveFields Method.
For a sample code, check our FormsDemo project in the 'Examples' folder.

If you check the help topic ' An Overview of Recognition Modules' you will see that it states that our module does not process images larger than 6600 pixels in either width or height.
If this does not apply to your image, please create a new forum thread and attach the image (if possible) in a ZIP or RAR file.
 
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.047 seconds.