Defines a setting type.
enum L_OcrSettingValueType
{
L_OcrSettingValueType_BeginCategory,
L_OcrSettingValueType_EndCategory,
L_OcrSettingValueType_Integer,
L_OcrSettingValueType_Enum,
L_OcrSettingValueType_Double,
L_OcrSettingValueType_Boolean,
L_OcrSettingValueType_String,
};
typedef enum L_OcrSettingValueType L_OcrSettingValueType;
Beginning of a new category. This setting has no value.
End of the current category. This setting has no value.
An integer setting.
An enum setting.
A double value setting.
A boolean setting (TRUE or FALSE).
A string (UNICODE) setting.
LEADTOOLS OCR Module - LEAD Engine contain specific additional features and functionalities that can be queried and updated using the L_OcrSettingManager provided functionality.
You can use the different methods of the L_OcrSettingManager to get and set the engine specific settings. Each setting has a unique name (a string value). You can get all the settings available to the OCR engine through calls to L_OcrSettingManager_GetSettingCount and L_OcrSettingManager_GetSettingName methods. The L_OcrSettingManager_GetSettingDescriptor method returns a description of the setting (its type, friendly name and value range), you can then use the various setting get and set methods to query and change the value of a certain setting. For example, if the setting type is L_OcrSettingValueType_Integer, you can use the L_OcrSettingManager_GetIntegerValue to get the current value of the setting and the L_OcrSettingManager_SetIntegerValue to change its value. Refer to L_OcrEngine_GetSettingManager for a complete example.
For a list of supported engine specific settings and their meanings, refer to LEADTOOLS OCR Module - LEAD Engine Settings.