Chinese Simplified (简体中文)

AnalyzeTable Method of the FRPage Object

This method replaces the specified block with the table block and analyzes the structure of the table.

Syntax

HRESULT AnalyzeTable(
  int                       BlockIndex,
  IPageAnalysisParams*      AnalysisParams,
  IObjectsExtractionParams* ExtractionParams,
  IRecognizerParams*        RecognizerParams
);
    

Parameters

BlockIndex
[in] Specifies the index of block in the collection of blocks which must be analyzed as table.
AnalysisParams
[in] Refers to the PageAnalysisParams object that stores parameters of layout analysis of the table. This parameter may be 0. In this case, the table is analyzed with default parameters, or, if a profile has been loaded, the parameters set by this profile are used.
ExtractionParams
[in] Refers to the ObjectsExtractionParams object that stores parameters of objects extraction. This parameter may be 0. In this case, the objects are extracted with default parameters, or, if a profile has been loaded, the parameters set by this profile are used.
RecognizerParams
[in] Refers to the RecognizerParams object that stores recognition parameters necessary for analysis of the table (e.g., recognition language). This parameter may be 0. In this case, the default parameters are used, or, if a profile has been loaded, the parameters set by this profile are used.

Return values

If layout analysis is interrupted by the user, this method will return E_ABORT. It also returns the standard return codes of ABBYY FineReader Engine functions.

Remarks

  • Table blocks always have rectangular regions; if the block was not rectangular, the new table block receives the region corresponding to bounding rectangle of the initial block.
  • If the table structure cannot be analyzed, the IFRPage::Layout subobject is not changed.
  • This method may report events to the listeners attached to the IConnectionPointContainer interface of the FRPage object.

See also

FRPage

Working with Profiles

Tuning Parameters of Preprocessing, Analysis, Recognition, and Synthesis

7/3/2024 8:50:25 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.