Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

TesseractRuntime

OfficeIMO.Ocr.Tesseract

Namespace
OfficeIMO.Ocr.Tesseract
Assembly
OfficeIMO.Ocr.Tesseract
Source revision
063fe3ee9839 with working tree changes
Modifiers
static

Dependency-free discovery for an installed Tesseract command-line runtime.

Inheritance

  • object
  • TesseractRuntime

Methods

public static TesseractRuntimeInfo Discover(string? executablePath = null) #

Finds an installed Tesseract executable or throws with platform-specific installation guidance.

Parameters

executablePath string? = null optional
public static string GetInstallationCommand() #

Returns only the example package-manager command, allowing hosts to localize the surrounding instructions.

Returns

string
public static string GetInstallationHint() #

Returns a concise installation command for the current operating system.

Returns

string
public static bool TryDiscover(string? executablePath, out TesseractRuntimeInfo? runtime) #

Attempts to find an installed Tesseract executable without starting a process.

Parameters

executablePath string? required
runtime OfficeIMO.Ocr.Tesseract.TesseractRuntimeInfo? required

Returns

bool