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, February 15, 2007 11:28:17 AM(UTC)

Francis  
Francis

Groups: Registered
Posts: 2


How can we distinguish OCR result form a specific zone, or is it possible to OCR a specific zone?
 

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 : Monday, February 19, 2007 10:50:00 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

The result's Recognized Characters contain the zone index for which each character belongs.

You cannot OCR a specific zone in a scanned image if there are multiple zones defined. One way to do it is:
1. Save the zone information into a temporary zone data file.
2. Delete all Zones except the one you need.
3. Recognize the Image you have.
4. Restore the information by loading the zone data file.
 
#3 Posted : Monday, February 19, 2007 11:26:27 AM(UTC)

Francis  
Francis

Groups: Registered
Posts: 2


Hi,

I am working with an OCR Form Processing Application. Zonal OCR would have been  the ideal method.

I have tried the work-around as you have suggested, It's working. It may have performance implication with lot of  pages.

Can you please provide code snippet to Fit the image vertically/horizontally to LeadRasterViewer. Where I can find a comprehensive documentation..

Can we use LeadMaster Control for OCR .

Thanks

 
#4 Posted : Wednesday, February 21, 2007 12:04:32 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

If you are using the COM programming interface, you can implement vertical Fit as follows:
+------------------------+
Dim x As Double
Form1.ScaleMode = vbPixels
LEADRasterView1.ScaleMode = SCALEMODE_PIXEL
x = LEADRasterView1.ScaleHeight / LEADRasterView1.Raster.BitmapHeight
LEADRasterView1.PaintZoomFactor = x * 100
+------------------------+

Also, you can implement the Horizontal Fit as follows:  
+------------------------+
Dim x As Double
Form1.ScaleMode = vbPixels
LEADRasterView1.ScaleMode = SCALEMODE_PIXEL
x = LEADRasterView1.ScaleWidth / LEADRasterView1.Raster.BitmapWidth
LEADRasterView1.PaintZoomFactor = x * 100
+------------------------+

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-2024, Yet Another Forum.NET
This page was generated in 0.086 seconds.