7#ifndef COCRCONTEXT_INTERFACE_H
9#define COCRCONTEXT_INTERFACE_H
Interface for ArrayDefinitions wrapper.
IDRS_BOOL COcrContext_IsEqual(const COcrContext argCOcrContext, const COcrContext argOcrContext, idrs_exception *pargException)
IsEqual tests if two ocr contexts are equal.
enum TextDetectionSensivity COcrContext_GetTextDetectionSensivity(const COcrContext argCOcrContext, idrs_exception *pargException)
Gets the text detection sensitivity.
void COcrContext_SetTextDetectionSensivity(COcrContext argCOcrContext, enum TextDetectionSensivity const evTextDetectionSensivity, idrs_exception *pargException)
Sets the text detection sensitivity.
const idrs_string COcrContext_GetCharacterSet(const COcrContext argCOcrContext, idrs_exception *pargException)
Gets the character set to be used during text recognition.
enum TextDirection COcrContext_GetTextDirection(const COcrContext argCOcrContext, idrs_exception *pargException)
Gets the direction of the text which this context will search on the page.
LanguageArray COcrContext_GetLanguages(const COcrContext argCOcrContext, idrs_exception *pargException)
Gets the languages used for ocr recognition.
void COcrContext_SetTextType(COcrContext argCOcrContext, enum TextType const evTextType, idrs_exception *pargException)
Sets the type of text that is expected to be recognized.
void COcrContext_SetCharacterSet(COcrContext argCOcrContext, const idrs_string strCharacterSet, idrs_exception *pargException)
Sets the character set to be used during text recognition.
void COcrContext_Destroy(COcrContext argCOcrContext, idrs_exception *pargException)
Destroys a COcrContext handle.
COcrContext COcrContext_Create2(const LanguageArray xlLanguages, idrs_exception *pargException)
Create creates an OCR context for the given languages and text type parameters.
COcrContext COcrContext_Create(enum Language const lLanguage, idrs_exception *pargException)
Create creates an OCR context for the given language and text type parameters.
enum TextType COcrContext_GetTextType(const COcrContext argCOcrContext, idrs_exception *pargException)
Gets the text type associated to this ocr context.
void COcrContext_SetFontInfoComputation(COcrContext argCOcrContext, enum FontInfoComputation const evFontInfoComputation, idrs_exception *pargException)
Sets the font computation type.
COcrContext COcrContext_Create3(enum Language const *xlLanguages, IDRS_UINT const uiLanguagesCount, idrs_exception *pargException)
Create creates an OCR context for the given languages and text type parameters.
void COcrContext_SetLanguages(COcrContext argCOcrContext, const LanguageArray argLanguages, idrs_exception *pargException)
Set the ocr recognition languages.
void COcrContext_SetTextDirection(COcrContext argCOcrContext, enum TextDirection const evTextDirection, idrs_exception *pargException)
Sets the direction of the text which this context will search on the page.
enum FontInfoComputation COcrContext_GetFontInfoComputation(const COcrContext argCOcrContext, idrs_exception *pargException)
Gets the font computation type.
Interface for EnumDefinitions wrapper.
FontInfoComputation
Contains all sets of fonts that iDRS is able to recognize.
Definition EnumDefinitions_interface.h:2900
TextDirection
The TextDirection data type defines the text direction of the concerned element it is applied to.
Definition EnumDefinitions_interface.h:461
TextDetectionSensivity
Text detection sensitivity modes.
Definition EnumDefinitions_interface.h:3063
TextType
The TextType data type defines the type text type.
Definition EnumDefinitions_interface.h:427
The COcrContext class manages a recognition context for the OCR engine.
Class that handles a string of characters.
Language
The Language data type defines a language identifier.
Definition Language_interface.h:25