# Get-OfficeImageDocument

Recognizes an image as editable text, reading order and detected tables, with review evidence.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`System.String`

**Outputs**

`OfficeIMO.Pdf.Ocr.PdfSearchableOcrReview`

**Source**

[GetOfficeImageDocumentCommand.cs:22](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Ocr/GetOfficeImageDocumentCommand.cs#L22) 

Recognizes an image as editable text, reading order and detected tables, with review evidence.

## Syntax

```
Get-OfficeImageDocument
[-Language <TesseractOcrLanguage[]>]
[-MinimumConfidence <Double>]
[-NoLanguageDownload]
[-Options <TesseractOcrSessionOptions>]
[-Path] <String>
[-Provider <IOcrEngine>]
[-RecognitionOptions <PdfOcrMergeOptions>]
[-TessdataDirectory <String>]
[-TesseractLanguageExpression <String>]
[-TesseractPath <String>]
[<CommonParameters>]
```

[#](#method-get-officeimagedocument-tesseractocrlanguage-double-switchparameter-tesseractocrsessionoptions-string-iocrengine-pdfocrmergeoptions-string-string-string)

Parameter set: `All Parameter Sets`

## Description

Uses the original image resolution and the shared OfficeIMO layout engine. Animated and multi-page images are rejected.

## Examples

### Recognize a ledger once and export its reviewed table.

```powershell
$image = Get-OfficeImageDocument -Path .\Ledger.png
$image | ConvertFrom-OfficeImage -OutputPath .\Ledger.xlsx -FirstRowIsHeader
```

Inspect $image.Ocr.Document.Tables and $image.Ocr.Pages before confirming the first row as headers.

## Parameters

**-Language TesseractOcrLanguage[] optional**

Friendly OCR languages. Supply more than one value to recognize multilingual content.

Possible values: `English`, `Polish`, `Arabic`, `ChineseSimplified`, `ChineseTraditional`, `Czech`, `Danish`, `Dutch`, `Finnish`, `French`, `German`, `Greek`, `Hebrew`, `Hindi`, `Hungarian`, `Italian`, `Japanese`, `Korean`, `Norwegian`, `Portuguese`, `Romanian`, `Russian`, `Slovak`, `Spanish`, `Swedish`, `Turkish`, `Ukrainian`, `Vietnamese`

**-MinimumConfidence Double optional**

Minimum normalized confidence accepted into the editable document.

**-NoLanguageDownload SwitchParameter optional**

Do not download checksum-pinned curated language data when a requested language is missing.

**-Options TesseractOcrSessionOptions optional**

Advanced OfficeIMO OCR options. Convenience parameters override matching values.

**-Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath**

Path to a supported single-frame raster image.

**-Provider IOcrEngine optional**

Optional engine-neutral OCR provider. When omitted, uses the configured local Tesseract session.

**-RecognitionOptions PdfOcrMergeOptions optional**

Advanced layout, confidence, orientation, scan preparation and resource limits.

**-TessdataDirectory String optional**

Explicit directory containing Tesseract trained-data files.

**-TesseractLanguageExpression String optional**

Advanced raw Tesseract expression for caller-installed custom trained-data models.

**-TesseractPath String optional**

Explicit Tesseract executable path. By default OfficeIMO securely discovers an installed runtime.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:9DDE4B3259821C29292E3E38D165CE3605308C36582114D7B8FF2EDA2230C231 -->
