Method RecognizeFile

Namespace
SoftZenPdf.Ocr
Assembly
SoftZenPdf.Ocr.dll

RecognizeFile(IOcrEngine, string)

Recognises every page of an image file: each page of a multi-page TIFF, or the single image of any other format.

public static IReadOnlyList<OcrPage> RecognizeFile(this IOcrEngine engine, string path)

Parameters

engine IOcrEngine

The engine.

path string

A JPEG, PNG, GIF, BMP or TIFF file.

Returns

IReadOnlyList<OcrPage>

One result per page, in file order.