Chinese Simplified (简体中文)

RecognizeBlocks Method of the FRPage Object

This method recognizes text and performs page synthesis in an explicitly specified set of blocks.

Syntax

HRESULT RecognizeBlocks(
  IIntsCollection*          BlockIndices,
  ISynthesisParamsForPage*  SynthesisParamsForPage,
  IObjectsExtractionParams* ExtractionParams
);
    

Parameters

BlockIndices
[in] This parameter refers to the IntsCollection object that contains the indices of blocks to be recognized. This parameter may be 0, in which case all blocks on the page are recognized.
SynthesisParamsForPage
[in] The SynthesisParamsForPage object that stores parameters of page synthesis. This parameter may be 0. In this case, the page is synthesized with default parameters, or, if a profile has been loaded, the parameters set by this profile are used.
ExtractionParams
[in] 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.

Return values

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

Remarks

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

03.07.2024 8:50:25

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.