> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RecognitionModeEnum

**RecognitionModeEnum** enumeration constants are used to denote recognition modes.

```cpp theme={null}
typedef enum {
 RM_ReApplyDocumentDefinitions,
 RM_ReRecognizeAll,
 RM_ReRecognizeMinimal
} RecognitionModeEnum;
```

## Elements

| **Name** | **Description** |
| - | - |
| RM\_ReApplyDocumentDefinitions | The full recognition mode. First a Document Definition is selected using anchors and identifiers, then the Document Definition is applied, and finally data recognition in document regions matching field regions in the selected Document Definition is performed. |
| RM\_ReRecognizeAll | Document Definitions are not re-matched, only recognition of all the documents is performed. However, if the Document Definitions have not yet been matched or were changed since matching, recognition with this mode will attempt to match the Document Definitions. |
| RM\_ReRecognizeMinimal | Only the batches which were changed, or documents with changed Document Definitions are recognized. |

## Samples

This enumeration is used in the following code samples: [Hello](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#hello), [Classification](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#classification).

## Used in

[**IBatch::Recognize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-recognize.md)

[**IProject::Recognize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project-recognize.md)
