LEADTOOLS Support
Document
Document SDK Questions
How to find out the bounding rectangles of selected text
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, November 22, 2005 10:19:11 AM(UTC)
Groups: Registered
Posts: 32
Hi,
I want to provide a find text function on an image. For this, I need to get the text as well as its position on the image so that I can draw a rectangle/box around the selected text on the image. How can I achieve this. An immediate response would be appreciated.
Thanks,
Suresh
#2
Posted
:
Wednesday, November 23, 2005 4:25:25 AM(UTC)
Groups: Registered, Tech Support
Posts: 20
If you are referring to LEADTOOLS 14, then you can get the recognized word and the position of each word.
If you are using any other version rather than LEAD14, then let me know, The exact
method depends on the LEADTOOLS version (12, 13, 14, etc) and programming
interface (DLL API, C++ Classes, etc.) that you are using.
Thanks,
Ali Abo Al-Rob
LEADTOOLS Technical Support
704-332-5532 voice
704-372-8116 fax
<http://support.leadtools.com/>
#3
Posted
:
Wednesday, November 23, 2005 10:12:39 AM(UTC)
Groups: Registered
Posts: 32
Thanks for imm response. I am using version 13. Please let me know how can I get the information.
Thanks,
Suresh
#4
Posted
:
Wednesday, November 23, 2005 2:51:40 PM(UTC)
Groups: Registered
Posts: 32
I am using leadtools 13..
#5
Posted
:
Sunday, November 27, 2005 1:04:02 AM(UTC)
Groups: Registered, Tech Support
Posts: 20
For LEADTOOLS 13, you can use the VERIFYCALLBACK Function,
which gives you all words and their information in a VERIFYINFO structure.
Thanks,
Ali Abo Al-Rob
LEADTOOLS Technical Support
704-332-5532 voice
704-372-8116 fax
http://support.leadtools.com
#6
Posted
:
Wednesday, January 25, 2006 5:47:43 AM(UTC)
Groups: Registered
Posts: 1
I would like to know if there is a similiar function in version 12.1, since I don't see VERIFYCALLBACK in the 12.1 documentation.
#7
Posted
:
Thursday, January 26, 2006 3:01:41 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
You can try using the RecognizeEvent event (OCR Control). You will receive the
verified text in the pszText parameter, and the recognized text position in the
nWordLeft, nWordTop, nWordWidth and nWordHeight. Set the VerifierMode property
(OCR Control) to OCRVER_CHAR.
Note: you will note be able to retrieve the above information only if the OCR
nStatus = OCRSTATUS_QUESTION.
For more information, please refer to the LEADTOOLS OCR OCX Help file, and read
the following topics:
- RecognizeEvent event (OCR Control)
- StatusRecognizeEvent property (OCR Control)
- TextRecognizeEvent property (OCR Control)
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
Document
Document SDK Questions
How to find out the bounding rectangles of selected text
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.