|
iDRS™ SDK 16
|
The COcrContext class manages a recognition context for the OCR engine. More...
#include <idrs_common.h>
The COcrContext class manages a recognition context for the OCR engine.
A recognition context consists in a recognition environment, one or multiple decision environments, a character set and a set of parameters the OCR engine will use to analyze/recognize pages.
An OCR context has a unique recognition environment and one ore more decision environments. Decision environments are related to a specific language; recognition is related to the alphabets.
The recognition environment is not immediately loaded at the time the integrator sets one or more languages in the OCR context.
The number of languages an OCR context can manage at a time is specified in the define IDRS_LNG_COUNT_LIMIT.
In addition to specifying the language, the integrator can limit the OCR context's character set. When the integrator set the languages for the OCR context, iDRS computes the characters used by the languages to limit the OCR character set to these characters.