ImageGear Professional v18.4 > User Guide > Using ImageGear > Optical Character Recognition > Preparing the Image for Recognition > Zones and Images > Adding Zones > Auto-Zoning |
The automatic page-layout decomposition process (auto-zoning) can be activated directly by calling the IG_REC_zones_locate() function for finding text blocks on the image. It creates an entire zone list for the given image.
The IG_REC_zones_locate() function has a parameter that points to a structure containing the active area. This rectangle serves to limit the area inside which zones will be searched and defined.
The Capture SDK offers four different algorithms to be applied during auto-zoning: use the IG_REC_decomp_method_set() function to specify which Page parser algorithm setting should be applied during auto-zoning. Choose between the following enumIGRecDecompMethod constants:
When auto-zoning is used, each resulting zone is initialized with the following:
All zones created by this function will have the following:
Any zone can be locally overridden with the IG_REC_zone_info_set() function, which allows you to change the attributes of a zone in the zone list.