File Content Extraction 26.1
Filter SDK C Programming Guide

# 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 Optimize OCR Performance. 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 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.

Copyright 1997-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: KVOcrOptions