API Reference
TesseractOcrEngineOptions
Configures the optional Tesseract command-line OCR engine.
Inheritance
- Object
- TesseractOcrEngineOptions
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method TesseractOcrEngineOptions.Clone
- Property TesseractOcrSessionOptions.Engine
Accepted by parameters 2
- Constructor TesseractOcrEngine.TesseractOcrEngine
- Method TesseractOcrEngine.CreateDefault
Constructors
public TesseractOcrEngineOptions() #Methods
public TesseractOcrEngineOptions Clone() #TesseractOcrEngineOptionsCreates an independent options snapshot.
Inherited Methods
public virtual 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 Int32? EngineMode { get; set; } #Optional OCR engine mode from 0 through 3.
public Int32? PageSegmentationMode { get; set; } #Optional page segmentation mode from 0 through 13.
public 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.