# OCRPerformance Enum

> Performance mode for the OCR engine, balancing speed vs accuracy.

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/OCRPerformance
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

Performance mode for the OCR engine, balancing speed vs accuracy. Specify the performance of the OCR engine in an abstract way. In Tesseract, for instance, this changes the OCREngineMode.

## Values

- `Default = 0`: Use the engine's default performance mode.
- `Faster = 1`: Favor speed over accuracy.
- `MoreAccuracy = 2`: Favor accuracy over speed.
- `BestAccuracy = 3`: Use the most accurate mode available, at the cost of speed.
