This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, June 30, 2005 12:26:29 AM(UTC)
Groups: Registered
Posts: 1
I have been trying to test Leadtools for handwriting recognition, but I can't seem to understand how to get started on this. We develop apps using the digital pen and paper technology. We need to recognise the text entered on handwritten forms, so we need to access the ICR functionality via VBScript and ASP.
Can anyone help me on how to do this? I've looked through the help files and see that the ICR component of LeadTools is supplied by a 3rd party company - reRecognition, but there is no mention of the way of getting this to work.
I'm not a very advanced coder, so please try make explanations simple and easy to follow.
Thanks
Zayne
#2
Posted
:
Thursday, June 30, 2005 10:00:26 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
We support the LEADTOOLS ICR module (which is a part from the OCR engine) that converts the handwritten text and numbers into a readable strings and documents.
So, the ICR module is the OCR part that is specialized in hand printed recognition.
The ICR module is represented by two main recognition modules:
- HNR hand-printed numeral recognition module:
This module can be used for recognition of hand-printed numerals and four additional signs. If further hand-printed characters are to be recognized, the use of the RECOGMODULE_RER_PRINTED recognition module is recommended.
- RER hand-printed recognition module.
So to programming with the ICR modules, you will begin with the OCR functions, and then you can make useful from using the SetHandPrintOptions method, which sets the hand print options used by the OCR engine.
Also, some of the LTZoneData properties can be used when recognizing hand printed documents, such as:
-----------------------------
ZoneData As LTZoneData
.. .
ZoneData.FillMethod = FM_HANDPRINT
ZoneData.RecognizeModule = RECOGNIZE_MODULE_HAND_PRINTED_NUMERAL
ZoneData.CharacterFilter = CHAR_FILTER_DIGIT
.. .
-------------------------------
For more information about the ICR module, you can refer to:
http://www.leadtools.com/sdk/document/document-addon-icr.htm
Regards,
Maen Badwan
LEADTOOLS Technical Support
#3
Posted
:
Thursday, June 30, 2005 10:23:16 PM(UTC)
Groups: Registered
Posts: 7
you can check out the configurations below:
ZONEDATA ZoneData;
memset(&ZoneData, 0, sizeof(ZONEDATA));
ZoneData.uStructSize = sizeof(ZONEDATA);
ZoneData.FillMethod = FILL_HANDPRINT;
ZoneData.RecogModule = RECOGMODULE_AUTO;
ZoneData.Type = ZONE_FLOWTEXT;
ZoneData.uFlags = 0;
ZoneData.pfnCallback = NULL;
ZoneData.pUserData = NULL;
/* Add in the zones here*/
RECOGNIZEOPTS RecogOpts;
memset(&RecogOpts, 0, sizeof(RECOGNIZEOPTS));
RecogOpts.uStructSize = sizeof(RECOGNIZEOPTS);
RecogOpts.nPageIndexStart = 0;
RecogOpts.nPagesCount = 1;
RecogOpts.bEnableSubSystem = TRUE;
RecogOpts.bEnableCorrection = TRUE;
RecogOpts.SpellLangId = LANG_ID_ENGLISH;
RecogOpts.pszFileName = _T("c:\\result.rdf");
After setting the options, you can just use L_DocRecognize() function to recognize the content in respective added zones!
Hope this will help you!
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.