Recognize Method of the FRDocument Object
This method performs recognition and page synthesis of all pages in the document.
Syntax
C++
HRESULT Recognize( ISynthesisParamsForPage* SynthesisParamsForPage, IObjectsExtractionParams* ExtractionParams );
C#
void Recognize(
ISynthesisParamsForPage SynthesisParamsForPage,
IObjectsExtractionParams ExtractionParams
);
Visual Basic .NET
Sub Recognize( _ [SynthesisParamsForPage As ISynthesisParamsForPage = Nothing], _ [ExtractionParams As IObjectsExtractionParams = Nothing] _ )
Parameters
- 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 FRDocument object.
- Depending on the value of the IEngine::MultiProcessingParams property, ABBYY FineReader Engine can distribute processing of multi-page documents to CPU cores.
See also
17.09.2024 15:14:41