API Reference
TesseractOcrEngineOptions
Configures the optional Tesseract command-line OCR engine.
Inheritance
- Object
- TesseractOcrEngineOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method TesseractOcrEngineOptions.Clone
- Property TesseractOcrSessionOptions.Engine
Accepted by parameters
- Constructor TesseractOcrEngine.TesseractOcrEngine
- Method TesseractOcrEngine.CreateDefault
Constructors
public TesseractOcrEngineOptions() #Methods
public TesseractOcrEngineOptions Clone() #TesseractOcrEngineOptionsCreates an independent options snapshot.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String ExecutablePath { get; set; } #Optional executable path or name. Leave null for environment, PATH, and known-location discovery. Direct engine construction uses tesseract when no resolved path is supplied.
public String Language { get; set; } #Default Tesseract language expression, such as eng or eng+pol.
public String TessdataDirectory { get; set; } #Optional tessdata directory passed through --tessdata-dir.
public Nullable<Int32> EngineMode { get; set; } #Optional OCR engine mode from 0 through 3.
public Nullable<Int32> PageSegmentationMode { get; set; } #Optional page segmentation mode from 0 through 13.
public Nullable<Int32> Dpi { get; set; } #Optional input DPI passed through --dpi.
public IReadOnlyList<String> AdditionalArguments { get; set; } #Additional direct Tesseract arguments inserted before the explicit TSV output setting.
public String TemporaryDirectory { get; set; } #Optional parent directory for isolated per-request temporary folders.
public TimeSpan Timeout { get; set; } #Maximum recognition process duration. Defaults to two minutes.
public Int64 MaxOutputBytes { get; set; } #Maximum TSV result size. Defaults to 32 MiB.
public Int64 MaxInputBytes { get; set; } #Maximum input payload size accepted by direct engine calls. Defaults to 25 MiB.
public Int32 MaxProcessOutputCharacters { get; set; } #Maximum retained process output characters.
public Boolean KeepTemporaryFiles { get; set; } #Whether isolated temporary files are retained after recognition.