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 : Wednesday, February 18, 2009 11:46:26 AM(UTC)
warren022

Groups: Registered
Posts: 15


I have a couple of questions am need to better understand how zones are created as I may need to create my own zone parser algorithm.

1. Is the current AutoZone algorithm available for modification by developers?

2. After searching the V16 .NET help, I can't figure out the relationship between IOcrEngine (which I am using in the OCRMain_x86 example) to the RasterDocumentManager class in the help file (below).

public void FindZonesExample()
{
   // Note that this is a sample key, which will not work in your toolkit
   RasterSupport.Unlock(Leadtools.RasterSupportType.Ocr, "TestKey");
 
   RasterDocumentEngine rasterDocument;   // how does this related to IOcrEngine?
   rasterDocument = RasterDocumentEngine.Instance;
   rasterDocument.Startup();
 
   // assume page is added, refer to AddPage example for more information
 
   rasterDocument.ShowZoneGridlines = true;
   rasterDocument.EnableZoneForceSingleColumn = true;
   rasterDocument.ZoneParser = RasterDocumentPageParser.Auto;
   rasterDocument.FindZones(0, Rectangle.Empty);
 
   rasterDocument.Shutdown();

 

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, February 19, 2009 6:44:11 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

I am afraid we do not have the source code for the Zones algorithm. OCR engine itself is provided by Nuance (ScanSoft) so we do not have access to its code.

We do not have RasterDocumentManager Class. Do you mean the RasterDocumentEngine? If yes, the IOcrEngine interface is the new design for the LEADTOOLS OCR functionalities. The RasterDocumentEngine class is the older design used in previous versions of LEADTOOLS and can be used in LEADTOOLS v16.

 
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.043 seconds.