This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, February 15, 2007 11:28:17 AM(UTC)
Groups: Registered
Posts: 2
How can we distinguish OCR result form a specific zone, or is it possible to OCR a specific zone?
#2
Posted
:
Monday, February 19, 2007 10:50:00 AM(UTC)
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)
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)
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.