Gets an array of the currently enabled languages by the OCR engine.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetEnabledLanguages(languageManager, value, count)
OCR engine language manager handle.
Pointer to L_OcrLanguage* variable to be updated with list of enabled languages. You should call L_OcrMemory_Free to free the allocated memory.
Pointer to L_UINT variable to be updated with number of enabled languages.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets an array of the currently enabled languages by the OCR engine.
Note: You should call L_OcrMemory_Free to free the memory allocated for the 'value' parameter.
For an example, refer to L_OcrEngine_GetLanguageManager