Recognize Method of the Project Object

This method performs recognition of the documents in the specified batches of the project. You can process all the documents from the project or specify particular batches to recognize documents from. Depending on the selected recognition mode the method performs full recognition procedure (selects a Document Definition, applies it and performs data recognition), or fulfill only some steps of the procedure.

Syntax

Visual Basic .NET

Sub Recognize( _
  BatchIds As IntsCollection, _
  RecognitionMode As RecognitionModeEnum _
)
    

C++

HRESULT Recognize(
  IIntsCollection*   BatchIds,
  RecognitionModeEnum RecognitionMode
);
    

Parameters

BatchIds
[in] This parameter refers to the IntsCollection object that contains a set of identifiers of the batches to recognize documents from. This parameter is optional and may be set to 0, in which case all the batches of the project are recognized.
RecognitionMode
[in] This variable of the RecognitionModeEnum type specifies the mode of recognition. This parameter is optional. By default only documents with changed Document Definitions and documents from the batches which were changed are recognized (the RM_ReRecognizeMinimal mode is used).

Return values

It also returns the standard return codes of the ABBYY FlexiCapture SDK functions.

Remarks

  • During this method call documents in the project can be reorganized, e.g. documents can be merged or split depending on the Document Definitions applied to them, also some document identifiers can be changed.
  • To recognize only several documents from the batch, use the Recognize method of the Batch object.

See also

Project

IBatch::Recognize

15.08.2023 13:19:30

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.