LEADTOOLS OCR Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.22
Working with OCR Zones

Once the desired language(s) have been activated, the user can create zones within the page(s) to be recognized. Zones are optional. A page does not have to have zones in order to be recognized. An OCR document may have a single page or multiple pages. Zones can be added to pages as follows:

  1. Manually. This is done by adding one or more zones to a specific OCR page using the methods of the IOcrZoneCollection interface through the IOcrPage.Zones property.
  2. Automatically: All zones on a specific page can be found by calling IOcrPage.AutoZone. This method runs an algorithm that automatically determines the zones for the page and adds the zones it finds to the OCR document page. The options that control the algorithm used by this method can be set using OcrZoneParser and OcrZoneFillMethod through the overloaded IOcrPage.AutoZone(OcrZoneParser zoneParser, OcrZoneFillMethod fillMethod, LogicalUnit zonesUnit, OcrProgressCallback callback) method.