KVOcrOptions

This structure defines options for configuring OCR. Providing OCR with information about the text in your images can improve both processing speed and accuracy. For more information about configuring OCR, see Optical Character Recognition. This structure is defined in kvocroptions.h.

typedef struct tag_KVOcrOptions
{
    KVStructHeader;

    const char* languages;
    KVOcrOrientation orientation;
    KVOcrDetectAlphabet detectAlphabet;
    KVOcrTextFindingMode textFindingMode;

} KVOcrOptions;

Member Descriptions

KVStructHeader The KeyView version of the structure. See KVStructHead. You must use the macro KVStructInit to initialize the KVStructHead structure.
languages A space-separated list of ISO 639-1 language codes. This member must not be NULL, and cannot exceed KVOcrLanguagesMaxLength. For a list of supported languages with ISO 639-1 language codes, see OCR Supported Languages.
orientation A value from the KVOcrOrientation enum.
detectAlphabet A value from the KVOcrDetectAlphabet enum. For more information about the values that you can choose, see Optimize OCR Performance.
textFindingMode A value from the KVOcrTextFindingMode enum.