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 : Thursday, January 8, 2009 2:43:42 AM(UTC)

manojs  
manojs

Groups: Registered
Posts: 2


Hi
i am using vbOcrMainDemo sdk to get text and text coordinates.
i am having a tiff image. this image has text and pictures.
i want to check that i am in text zone or picture zone when i recognize the image through OCR.
if i am in text zone then i want to get text line's width, height,HPOS,VPOS etc and words from text line,word's coordinates, HPOS,VPOS,Word Accuracy
etc.
if i am in picture zone then i want to get picture size, picture HPOS, VPOS etc.

please let me know what classes and methods to be used to get my requirements which are oversaid.

basically i am making mets/Alto format xml files.

am i able to get ocr engine's information at runtime?
like:- predicted accuracy, character error ratio, ocr version name, monkey timeout etc.
 

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 : Thursday, January 8, 2009 6:49:46 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

After you perform OCR recognition, you can check the recognized Characters by using the GetRecognizedCharacters Method. Also, you can check the recognized words as follows:
+-----------+
Dim ocrPageCharacters As IOcrPageCharacters = ocrPage.GetRecognizedCharacters()
For Each ocrZoneCharacters As IOcrZoneCharacters In ocrPageCharacters
' Show the words found in this zone. Get the word boundaries in inches
Dim words As ICollection(Of OcrWord) = ocrZoneCharacters.GetWords(ocrPage.DpiX, ocrPage.DpiY, LogicalUnit.Inch)
+-----------+


For each word, you can examine the properties, including which zone the word is in and the exact position of the word. You can also examine the accuracy of the word letters.
About the zone type, you can check the zone type by the checking OcrZone.ZoneType Property.

Thanks,
Maen Badwan
LEADTOOLS Technical 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-2020, Yet Another Forum.NET
This page was generated in 0.055 seconds.